Click to See Complete Forum and Search --> : javascript bug in netscape for mac


Bjarki Bjorgulfsson
11-19-2000, 02:40 PM
Hi,
can anyone help me with my problem? I exported a navbar from Fireworks 3.0
and the javascript doesn't work correctly in Netscape 4.7 for Mac.
I am using frames, and the script is supposed to keep the selected button
in a buttongroup selected. If you select another button in the group, the
former button is supposed
to pop up again into the normal state. This works fine until I add a link
to the buttons. Then the problem starts. It is my guess that the Script
in the page that I load in another frame is somehow conflicting with the
buttonscript, since it works before I add a link to it. I would really
appreciate if someone could take a look at this at http://www.bjarki.net/portfolio2
and help me with this.
hopefully yours
Bjarki Bjorgulfsson

P.s I noticed when I was trying to load multiple frames at once with javascript
that it didn't work in Netscape 4.7 for Mac if I used an href and a target
on the same button I assigned the script with the eventhandler "OnClick"
to. It only worked if I put # in the href, took out the target, and assigned
multiple frame load to the "OnClick" handler. Could this be connected somehow?

Frederiek
11-24-2000, 11:36 AM
Try <http://developer.irt.org/script/1523.htm>.

cya
Frederiek


"Bjarki Bjorgulfsson" <bjarki@bjarki.net> wrote:
>
>Hi,
>can anyone help me with my problem? I exported a navbar from Fireworks
3.0
>and the javascript doesn't work correctly in Netscape 4.7 for Mac.
>I am using frames, and the script is supposed to keep the selected button
>in a buttongroup selected. If you select another button in the group, the
>former button is supposed
>to pop up again into the normal state. This works fine until I add a link
>to the buttons. Then the problem starts. It is my guess that the Script
>in the page that I load in another frame is somehow conflicting with the
>buttonscript, since it works before I add a link to it. I would really
>appreciate if someone could take a look at this at http://www.bjarki.net/portfolio2
>and help me with this.
>hopefully yours
>Bjarki Bjorgulfsson
>
>P.s I noticed when I was trying to load multiple frames at once with javascript
>that it didn't work in Netscape 4.7 for Mac if I used an href and a target
>on the same button I assigned the script with the eventhandler "OnClick"
>to. It only worked if I put # in the href, took out the target, and assigned
>multiple frame load to the "OnClick" handler. Could this be connected
somehow?
>