Closed Thread Icon

Preserved Topic: three state button and multiple target frames .... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18305" title="Pages that link to Preserved Topic: three state button and multiple target frames .... (Page 1 of 1)" rel="nofollow" >Preserved Topic: three state button and multiple target frames .... <span class="small">(Page 1 of 1)</span>\

 
sexylyon
Nervous Wreck (II) Inmate

From: victoria, bc
Insane since: Sep 2001

posted posted 09-10-2001 05:49

i 'm designing a new layout for my webpage, and while i can either get a three state button (off, on and selected) and i can target multiple frames to update on single button clicks, i can't seem to get both scripts to work at once.

anyone know how to do this, or know a good javascript archive where such information might be found? i've looked what seems like all over the net to solve this little problem, but it doesn't seem to be easy.




mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 09-10-2001 07:16

<A HREF="javascript:;" ONCLICK="top.frames['frame1'].location = 'file2.html'; top.frames['frame2'].location = 'file1.html';" ONMOUSEOVER="" ONMOUSEDOWN="" ONMOUSEOUT="">GO!!!</A>

Only thing left is to add approprate funcion calls from the three state menu script to the ONMOUSEOVER, ONMOUSEDOWN & ONMOUSEOUT events...

sexylyon
Nervous Wreck (II) Inmate

From: victoria, bc
Insane since: Sep 2001

posted posted 09-10-2001 09:32

its a beautiful thing!

now for the $64,000 question ... is there any way to keep the selected state button displayed until another button is selected?

other than that, its a glory simplistic code!

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 09-10-2001 12:04

Yah you need to toggle them. Thats your swap script. Onclick swap all your button images back to thier OFF state + set the button you clicked to its on state.

An Exmaple of it done poorly.
An Exmaple of it done well using layers.



[This message has been edited by Weadah (edited 09-10-2001).]

« BackwardsOnwards »

Show Forum Drop Down Menu