psp602 Posted April 11, 2005 Posted April 11, 2005 I would like to know if there is a way to guide some content INSIDE a div like the way an <iframe> tag works. For example by pressing this link: ><a href="more_info_about_Donald.html">Click</a> To make appear the content INSIDE a div ><div> The info's about Donald goes here</div> Quote
borfast Posted April 11, 2005 Posted April 11, 2005 The only way I can think of is by using Javascript to show/hide the <div> block and then do one of the following: 1 - use the innerhtml property of the <div> block to populate it; 3 - use the W3C DOM to create a textNode object and attacht it as a child of the <div> block; The first one is faster, requires less code but is not part of the W3C standard. The second one is slower, requires a bit more code but is part of the W3C standard. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.