...

View Full Version : From sidebar to main page



Yorick
10-18-2005, 03:03 PM
I maked a sidebar voor IE with the recent topics of my site, but if you click one of the links, the page will be loaded in the sidebar.

Now i wan't it so, that the links will be loaded in the main page (were you normally surf)

I thought maybe i can give a name to the main page with javascript. And then i could use target="mainpage" to let the page load in the main page.

I hope somebody can help me!

http://www.xboxfxp.com/this.PNG

Lerura
10-18-2005, 05:14 PM
you can give your frame a name when creating the frameset:
<frameset>
<frame name="sidebar" src="sidebar.htm">
<frame name="mainpage" src="mainpage.htm">
<framepage>

and then refer to it with target="mainpage"
and in JS you can refer to it with parent.mainpage.location.href='newpage.htm';



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum