Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I put content in iframes?

Status
Not open for further replies.

taval

Programmer
Jul 19, 2000
192
GB
as the subject header says how do I put text,links inside iframes, currently I can only target them with html pages.
 
not really. if you name it (i.e. <iframe name=&quot;blabla&quot;...) you can later fill it from javascript:
Code:
blabla.document.open('text/html');
blabla.document.writeln('<h1>my output</h1>');
blabla.document.writeln('it works!');
blabla.document.close();
[sig]<p>Michael Dubner<br>Brainbench MVP/HTML+JavaScript<br>
[/sig]
 
is that DOM only valid with IE, or will it work ok with netscape(netscape's DOM is horribly limited in my opinion) [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
It doesn't matter whether or not the Netscape's DOM will allow that processing. Netscape doesn't allow the IFRAME tag.

Netscape's DOM isn't the only thing that's &quot;horribly limited.&quot; [sig]<p>Cid<br><a href=mailto:ciddivine@yahoo.com>ciddivine@yahoo.com</a><br><a href= > </a><br> [/sig]
 
sheesh. someone outa right a book &quot;All the things you can't do in netscape, and what you should use instead&quot; [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top