spacesurfer Posted September 1, 2009 Share Posted September 1, 2009 Hello, all. I've searched google for this issue but I'm having trouble with terminology. I don't know what to call it to search for it.I have my webpages in frames. The left frame is just a menu and the right frame is the main content. Now, I want to prevent people opening the right frame by itself. Is there a script that will check if the frame is loaded by itself? Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2009 Share Posted September 1, 2009 Search for javascript frames parent. Link to comment Share on other sites More sharing options...
ripken204 Posted September 5, 2009 Share Posted September 5, 2009 http://webpages.charter.net??looking at this site i see no need for frames.you could make things a bit better by getting rid of them. Link to comment Share on other sites More sharing options...
spacesurfer Posted September 5, 2009 Author Share Posted September 5, 2009 The reason I had frames was for the right side navigation menu. It was the same for all sites so I didn't want to put the same code on every page; and I wanted it fixed. I had trouble getting a fixed menu in IE, while it worked in Firefox.What you saw is the latest version without the true frames. I got rid of the frames and placed an IFrame instead. That was a better solution, although now it's not fixed. It will be better for search engine indexing. (But I'm looking to host it on a domain rather than Charter.)Also, I'm still learning HTML so it will take some time before for improvements. I just read about DIV blocks and I can probably use that instead of tables for my layout.Thanks for visiting the site. Link to comment Share on other sites More sharing options...
ripken204 Posted September 7, 2009 Share Posted September 7, 2009 yes i was just about to suggest div tags.you could then have a navigation file and include that into each page. Link to comment Share on other sites More sharing options...
PC_LOAD_LETTER Posted September 7, 2009 Share Posted September 7, 2009 1 line of php could fix this right up (assuming charter allows it -if they dont they suck)<?php @include("leftframe.htm"); ?> Link to comment Share on other sites More sharing options...
ripken204 Posted September 7, 2009 Share Posted September 7, 2009 ^^ exactly Link to comment Share on other sites More sharing options...
spacesurfer Posted September 7, 2009 Author Share Posted September 7, 2009 they don't. they suck. enough said.(I'm adding more pages - on Mathematics. It's a slow process because of the equations and drawings.) Link to comment Share on other sites More sharing options...
PC_LOAD_LETTER Posted September 7, 2009 Share Posted September 7, 2009 you could use a javascript includes its a dirty backwards way to include html but since its depaendant on the browser and not the webhost, it should work regardlesshttp://webdesign.about.com/od/javascript/h...sincludehtm.htm Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now