JustinMs66@hotmail.com Posted September 30, 2006 Share Posted September 30, 2006 i'm gunna make a website and i always want the top, left, and rite side to always be there. like if i clicked on a link, it would open INSIDE that box. how would i do that? Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 30, 2006 Share Posted September 30, 2006 Step 1: read what this forum is for - http://www.phpfreaks.com/forums/index.php/topic,107784.0.htmlYou'll notice your question is posted in the wrong forum, so I'll move it in a moment.Step 2: depending on your inclination/preference, solve your problem with php includes, or html includes, or html frames. Quote Link to comment Share on other sites More sharing options...
FrOzeN Posted September 30, 2006 Share Posted September 30, 2006 Use the target attribute in your links to determine which frame (box?) you wish the link to show in.[code]<a href="location.html" target="frame1">Link 1</a><br /><iframe src="default.html" name="frame1" width="500" height="500">Your browser doesn't support frames.</iframe>[/code] Quote Link to comment Share on other sites More sharing options...
obsidian Posted September 30, 2006 Share Posted September 30, 2006 [quote author=FrOzeN link=topic=110036.msg444226#msg444226 date=1159625065]Use the target attribute in your links to determine which frame (box?) you wish the link to show in.[code]<a href="location.html" target="frame1">Link 1</a><br /><iframe src="default.html" name="frame1" width="500" height="500">Your browser doesn't support frames.</iframe>[/code][/quote]ugh... no, no, no, no and again i say [b]NO[/b]... please, let's not go backwards into the use of frames... andyB has the right of it in his suggestion. Quote Link to comment Share on other sites More sharing options...
JustinMs66@hotmail.com Posted October 3, 2006 Author Share Posted October 3, 2006 iFrames have that crappy border and stuff.i want it to do it like any php-fusion or php-nuke website. example:[url=http://infernalalliance.com/news.php]http://infernalalliance.com/news.php[/url]so your saying i should use php-includes? that will simply put it below the current text... atleast when i do it. how do i get it in the middle? Quote Link to comment Share on other sites More sharing options...
fenway Posted October 3, 2006 Share Posted October 3, 2006 Nothing wrong with IFRAMEs... and they don't even have to be visible... but that's probably not what you're looking for here. Quote Link to comment Share on other sites More sharing options...
JustinMs66@hotmail.com Posted October 4, 2006 Author Share Posted October 4, 2006 ..no. like i said i want it to embed with php. i dunno why that dude moved this to "HTML" forum. it's supposed to be PHP. Quote Link to comment Share on other sites More sharing options...
fenway Posted October 4, 2006 Share Posted October 4, 2006 When you say "embed in PHP", you mean in the .php file... but it's still HTML that you're rendering. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.