PDA

View Full Version : Web Page Within Another Web Page? How



Wizzandabe
03-18-2004, 07:45 PM
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?

4play
03-18-2004, 07:52 PM
your using frames right ?
declare the frames like below


<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>

then you use the target attribute to control which fram you want the page to open in


<a href="prog.html" target="mainFrame">Tutorials</a>

h1
03-18-2004, 10:53 PM
Or...
<a target="_self"></a>

CoolMac
03-19-2004, 02:40 AM
or just use php (http://www.php.net) frames are evil,they really fuck up your site on some search engines and it masks the URL among others

h1
03-19-2004, 06:00 AM
/agrees with CoolMac, frames are great in concept and crap in execution.

CoolMac
03-19-2004, 11:29 AM
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