spacesurfer
Sep 1 2009, 03:26 PM
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?
Search for javascript frames parent.
ripken204
Sep 4 2009, 07:37 PM
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.
spacesurfer
Sep 5 2009, 09:14 AM
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.
ripken204
Sep 6 2009, 08:01 PM
yes i was just about to suggest div tags.
you could then have a navigation file and include that into each page.
PC_LOAD_LETTER
Sep 6 2009, 08:06 PM
1 line of php could fix this right up (assuming charter allows it -if they dont they suck)
CODE
<?php @include("leftframe.htm"); ?>
ripken204
Sep 6 2009, 08:11 PM
^^ exactly
spacesurfer
Sep 7 2009, 07:36 AM
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.)
PC_LOAD_LETTER
Sep 7 2009, 09:25 AM
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 regardless
http://webdesign.about.com/od/javascript/h...sincludehtm.htm This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.