DeepakJ Posted August 1, 2007 Share Posted August 1, 2007 I have a html thing with a frame. The top has buttons controlling the site and the bottom has info. I get the redirection working but don't know how to get rid of the bottom frame. What happens is that the top frame gets stuffed with the second pages stuff an dhte bottom frame stays static. If I could eliminate the second frame when I redirect, it would work perfectly. Help would be much appreciated. Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/ Share on other sites More sharing options...
DeepakJ Posted August 1, 2007 Author Share Posted August 1, 2007 <?php if ($_GET['verif']){ echo '<script>window.location = "trueverif.html"</script>'; } elseif ($_GET['sinput']){ echo '<script>window.location = "truesinput.html"</script>'; } elseif ($_GET['linput']){ echo '<script>window.location = "truelinput.html"</script>'; } elseif ($_GET['vdata']){ echo '<script>window.location = "trueviewdata.html"</script>'; } elseif ($_GET['rdata']){ echo '<script>window.location = "reportdata.html"</script>'; } ?> This is my redirection code. Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/#findComment-313281 Share on other sites More sharing options...
DeepakJ Posted August 1, 2007 Author Share Posted August 1, 2007 Please help Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/#findComment-313317 Share on other sites More sharing options...
chronister Posted August 1, 2007 Share Posted August 1, 2007 why use frames? I hate frames and they make sites a pain in the ass. Is there a particular reason for using frames? If you simply want to have a "layout" where you have one nav section appearing on each page and a footer, use includes. If this is your objective, post back and I can show you how I do it. Nate Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/#findComment-313347 Share on other sites More sharing options...
DeepakJ Posted August 1, 2007 Author Share Posted August 1, 2007 Yeah thats what I want to do. Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/#findComment-313351 Share on other sites More sharing options...
DeepakJ Posted August 1, 2007 Author Share Posted August 1, 2007 Thanks for the include idea. i implemented that and it works fine Link to comment https://forums.phpfreaks.com/topic/62925-solved-eliminating-frames/#findComment-313388 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.