Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:43
More on frames...
Poster: Andy
Dated: Wednesday April 3 2002 - 23:14:28 BST
<HTML>Couple of additional frames implementation issues:
If you intend to use both top and side frame navigation menus (ie. more than one) make sure to give each menu a unique name (don't call them both simplemenu1, for example).
What's going to be tough to do is link to pages off of your site. because once that new foreign page loads in your main (content) frame, your submenu script will, of course, no longer load and only the top level menu will remain visible and accessible.
There's no
"<script language=JavaScript src="frames_body_array.js" type=text/javascript></script>"
"<script language=JavaScript src="mmenu.js" type=text/javascript></script>"
on everyone else's pages.
I put a "Home" item at the top of the menu to allow users to get back to my pages, but it's not optimal.
Anybody with thoughts on dealing with this? Yes, I HAVE to use frames - over 200 content pages to deal with - and for security reasons cannot use SSI, and I MUST link to sites other than mine.
But in all other respects, this is sweet. Thanks, Andy!
Ron Zeppi</HTML>
Re: More on frames...
Poster: Andy
Dated: Thursday April 4 2002 - 10:30:30 BST
<HTML>There is a way by using a PHP script that will insert the menu code on ANY page even pages that do not belong to your server.
BTW if you try and put code in a page that is not from your server the browser pops up a security alert, it's simply not possible to do.
I'll get this code put together once I have a little time.
Cheers
Andy</HTML>