Hello,
I have downloaded a nice piece of menu code from the JavaScript Source at [url]http://javascript.internet.com/navigation/toolbar-menu.html
Basically the code requires you call 2 programs in your html code
<script type=’text/javascript’ src=’nwrmenu_var.js’></script>
<script type=’text/javascript’ src=’menu_com.js’></script>
(I used Save in I.E. to get the 2 programs and graphics)
I’ve modifed the nwrmenu_var.js code and placed both programs in the same directory as my html. The menu bar comes up fine and works well from page to page (I’ve added these to each of my pages).
The home page for this is
[url]www.threshold.ca/reiki/home.html
and it does not use the javascript (the only page that doesn’t) But from there on every page does.
So for example. if you click on “What is Reiki?” – the page opens and the menu shortly pops up (overtop a text menu – just in case).
My difficulty happens when I make use of frames. If a person comes instead to my index page at
[url]www.threshold.ca/reiki/index.html
I open up a 2 frame page – – the right frame being the same as above (home.html) and the left frame being stationary.
==================
<frameset COLS=”110,*” BORDER=0>
<frame SRC=”reiki_visitor.html” SCROLLING=NO
MARGINWIDTH=1 MARGINHEIGHT=1>
<frame SRC=”home.html” NAME=”MAIN-WINDOW” >
</frameset>
However now when a person selects “What is Reiki?” (from home.html) the page opens up in the right frame, but for some reason the menu bar doesn’t display. When I try this on the net, there is no indication the menu bar has loaded, and if I reload the page, nothing happens.
However, off-line I can see a message saying the menu is ready – although it still does not display. If I reload the page (offline), the menu does load.
It would seem that there is something being missed or ignored when javascript operates inside a frame.
I would greatly appreciate any help someone could offer.
Thanks.
Rick