I want to put a link in a page, and that site open up on the same page, so I keep all my side bar and menus..etc But how?
Printable View
I want to put a link in a page, and that site open up on the same page, so I keep all my side bar and menus..etc But how?
your using frames right ?
declare the frames like below
then you use the target attribute to control which fram you want the page to open inCode:<frameset rows="80,*" cols="152,627*" frameborder="NO" border="0" framespacing="0">
<frame name="cornerFrame" scrolling="NO" noresize src="home.shtml" >
<frame name="topFrame" scrolling="NO" noresize src="banner.html" >
<frame name="leftFrame" scrolling="NO" noresize src="links.html">
<frame name="mainFrame" src="main.html">
</frameset>
Code:<a href="prog.html" target="mainFrame">Tutorials</a>
Or...Code:<a target="_self"></a>
or just use php frames are evil,they really fuck up your site on some search engines and it masks the URL among others
/agrees with CoolMac, frames are great in concept and crap in execution.
plus,you won't appear on certain search engines (you will on google of course) and i agree that URL masking the greatest crap around