brown2005 Posted February 28, 2007 Share Posted February 28, 2007 echo'<FRAMESET cols="800, 200" border="0" frameborder="0" framespacing="0">'; echo' <FRAME src="main.php" name="main" scrolling="auto" frameborder="0" noresize>'; echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>'; echo'</FRAMESET>'; i have the above frame but when i click on a link in main.php it creates echo'<FRAMESET cols="800, 200" border="0" frameborder="0" framespacing="0">'; echo' <FRAME src="main.php" name="main" scrolling="auto" frameborder="0" noresize>'; echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>'; echo' <FRAME src="sponsors.php" name="sponsors" scrolling="no" frameborder="1" noresize>'; echo'</FRAMESET>'; as frames, ne ideas why? Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/ Share on other sites More sharing options...
fenway Posted February 28, 2007 Share Posted February 28, 2007 I don't know what you mean... but don't you need to close frame tags? Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-196020 Share on other sites More sharing options...
TheFilmGod Posted March 9, 2007 Share Posted March 9, 2007 DO NOT USE FRAMES. They can still be used, but they are useless and old. I remember netscape 2.0 was the first frame based browser. That has now changed and sooner or later it will not function properly. Take my word and use tables instead. Then use php include file for each cell. It does the same exact thing, but is more modern! Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-203126 Share on other sites More sharing options...
tauchai83 Posted March 9, 2007 Share Posted March 9, 2007 the frameset is somehow out-of date design style. I will prefer to use table too. did u mean the frameset was repeated again in the mainframe? Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-203140 Share on other sites More sharing options...
TheFilmGod Posted March 19, 2007 Share Posted March 19, 2007 Actually, use div tags. That is what I here. I currently use tables and it works just fine, but some professionals are saying to stick with div tags because it is easier. I don't agree, but if you want to be super modern, use that! Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-210317 Share on other sites More sharing options...
RichardRotterdam Posted March 20, 2007 Share Posted March 20, 2007 Yup Divs are the way to do it these days Makes it easier to modify you webtemplate and your page loads faster without tables. Just takes a little getting use to thats all Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-211462 Share on other sites More sharing options...
worldworld Posted March 21, 2007 Share Posted March 21, 2007 Can you give the url where i can see the page for accurate answer as i am not clear with your question. Thanks... Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-211847 Share on other sites More sharing options...
fredb Posted March 21, 2007 Share Posted March 21, 2007 If you want to use frames, the alternate route I would go is with DIV tags and use library(.lbi) items instead of frames. Define your DIV display width, height and position and then insert the library items into the DIV using a template page. Then instead of your "main" frame you have a "main" DIV id that you can edit. Makes all pages seemingly fluid. Quote Link to comment https://forums.phpfreaks.com/topic/40431-frames/#findComment-212356 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.