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?
Page 1 of 1
Display my webpage in frames
#3
Posted 04 September 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.
??
looking at this site i see no need for frames.
you could make things a bit better by getting rid of them.
#4
Posted 05 September 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.
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.
#5
Posted 06 September 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.
you could then have a navigation file and include that into each page.
#6
Posted 06 September 2009 - 08:06 PM
1 line of php could fix this right up (assuming charter allows it -if they dont they suck)
<?php @include("leftframe.htm"); ?>
#8
Posted 07 September 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.)
(I'm adding more pages - on Mathematics. It's a slow process because of the equations and drawings.)
#9
Posted 07 September 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
http://webdesign.about.com/od/javascript/h...sincludehtm.htm
- ← Change folder permissions
- Web Development (HTML, Java, PHP, ASP, XML, etc.)
- How to fix display issue? →
Share this topic:
Page 1 of 1



Help
Back to top










