window within a window

liunx

Guest
Hey there, I don't quite no what the proper name for this is, if it has one, but, I was wondering what the html code would be for puting a window inside of a window. The best example of what I mean is the update window at sinnerdragon.keenspace.com (<!-- m --><a class="postlink" href="http://sinnerdragon.keenspace.com">http://sinnerdragon.keenspace.com</a><!-- m -->) (it's the red box towards the top with a sleeping dragon in it). I basicly want to do what this person did but I have no clue how. Well, that's it. Thanks to anyone who helps me out here! Love ya!<!--content-->You can use a div with overflow or an iframe.<br />
I suggest the div if all you are interested is the scrolling aspects <!-- m --><a class="postlink" href="http://www.w3schools.com/css/tryit.asp?filename=trycss_overflow">http://www.w3schools.com/css/tryit.asp? ... s_overflow</a><!-- m --><br />
Hey where it says overflow: scroll; try putting in overflow:auto; instead, you will like what happens.<br />
Here is just a lil code to make a window like the ony you are talking about<br />
<div style="overflow:auto; width:500px; height:500px;"><br />
The Content<br />
</div><!--content-->hey wow thanks! Man that was fast! Thanks so much!:D<!--content-->wait I do have a quick question though. How do I get the content in the box to be another web page entierly?<!--content-->two ways. You can use an include if your server supports ssi or you can use an iframe. The iframe is what I used on my site <!-- w --><a class="postlink" href="http://www.clanknights.vze.com">www.clanknights.vze.com</a><!-- w --><br />
here is how it is done<br />
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"theurl.html" style="width:500px; border-width:0px; height:500px;" name="theframename"><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"theurl.html">Your browser does not support iframes</a><br />
</iframe><br />
to open a link in the iframe use<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"theurl" target="theframename">some link</a><br />
<br />
also use a loose dtd with this, I suggestion 4.01 transitionsal<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/html4/loose.dtd"><br />
because the target and many of the frame attributes are not included in 4.01 strict and since the iframe is a type of object, well an evolution of the object tag, it is probably better not to use a frameset dtd<!--content-->EEEE!!! It works!!!!! I love you! Thanks SOO much!:D<!--content-->no prob<!--content-->
 
Back
Top