onload problem in netscape
I'm having problems with the onload command in Netscape.
I've posted a simplified version of my site here:
http://www.burningminds.com/problem
Here's the set-up:
Two framesets (page1 and page2) share a right frame which contains the
navigation.
In that frame Two buttons have a standard roll over behavior. Besides that I
want button 1 to be swapped when the frameset for page 1 is loaded, and
button two to be swapped when frameset 2 is loaded (to indicate the active
page).
I've connected a swap image behavior to an image in the lower left frame
(without a restore function), set it to onload so that whenever the page
loads, the corresponding navigation button is swapped.
This works fine in Explorer, but Netscape fails to reload the lower left
frame. When I manually reload the page the buttons swaps as it should.
-So: I'm looking for some script that will FORCE netscape to load that page
whenever the corresponding frameset is loaded, but ONLY ONCE. I've tried a
couple of refresh and experation scripts but they all keep reloading the
page
constantly, making scrolling a text a nightmare.
Second: I'd like to have the swapped button be inactive (no swapping back to
white when the mouse goes over it), is there a way of temporarily disabling
a
roll over script when a certain frame has loaded?
I realize one option is to have seperate navigational frames for each of the
framesets, but since the site will be huge, I want to use the same
navigational page for all pages if possible.
Thanks,
Pavel
Jack Michaelson posted this at 14:14 — 8th February 2001.
He has: 1,733 posts
Joined: Dec 1999
you cannot disable the buttons.
What you can do after hitting one of these buttons is changing the document of the lower right frame and place a modified in stead of the one you hit on.
Shakespeare: onclick || !(onclick)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.