Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript image swap/ (i.e. radial button but with images)

Status
Not open for further replies.

rypunked

Programmer
Jul 17, 2000
1
US
Okay, here's the problem: <br><br>I have an interface that has 3 sets of navigation selections. Out of each navigation, there is one choice selected for each. (i.e. one selection of music, one selection of image, one selection of video.) <br><br>now I have specified onmousedown for each button (there are lets say 8 selections for music, 3 selections for image, and 6 selections for video), but i only want one selected at a time for each (so there are only 3 buttons selected at anytime.) <br><br>what i need, is some sort of javascript function that tells if one button out of the music navigation is selected, another cannot be selected at the same time (sort of like a radial button). so some if, then else statement. <br><br>something similar to this: <br><A HREF=" TARGET="_new"> <br>except that there are no frames, and there are no html page changes. there are no links or targets, just image swaps on a 'onmousedown'. <br><br>or something similar to this: <br><A HREF=" TARGET="_new"> <br>except that instead of rollovers, i need 'onmousedown' image swaps so that only one image change click state is seen at anytime. <br><br>i would really appreciate any help...i'm very desperate at this point. you can get a hold of me at <A HREF="mailto:rypunked@hotmail.com">rypunked@hotmail.com</A> PLEASE HELP ME!!!&nbsp;&nbsp;Thanks <br><br>-rypunked<br>
 
keep an array of selected images... once an image is clicked cycle through the array (for instance) and remove the one that is associated with the same group, and replace it with the new one..<br><br><br>- <A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top