Forum Moderators: open
If you take a look at this link, this is an example of what i am talking about. This was a template from somewhere else.
<snip>
click on the portfolio links, etc to make a wondow pop up in the same window. I wanted to do this so i could have people go to my guestbook and forums and such without having to leave my webpage. How do you do this? Can it be done?
[edited by: korkus2000 at 4:00 pm (utc) on Jan. 19, 2005]
[edit reason] No personal URLs please [/edit]
Look into creating your page in DIV's, setting the "inside" ones as hidden on load, then show and hide them using Javascript. It's not a accessible-friendly way to work but that's one way. It won't have the aspects that Flash movie does, but you could get pretty close.
When you think about it, it really is a page inside a page, just not in a new window. In fact, the old Netscape reference for these layers was divname.document . . . .
<DIV id="newWin" style="position:absolute;left:300px;top:50px;visibility:hidden;background-color:#888888;border:1px solid #000000;padding:5px">This is my window!<br><br>Whoohoo!</DIV><br><input type=button onClick="var currOb=document.getElementById('newWin');if(currOb.style.visibility=='hidden')currOb.style.visibility='visible';else currOb.style.visibility='hidden';" value="Show the window!">