News

Log In Sponsors
Partner Sites
call abroad? prepaid calling card at PhoneCardsAvenues.com

calling cards

online grocery - efooddepot.com

best groceries

Re: dropdown box image swap: firefox vs. IE7...grrr



Hm..the whole code is commented out when placed within the head tags and not script tags... trying to grasp this whole javascript workaround thing as i'm pretty new to it. thank you so much for helping me. and as a small backtrack, if you look at my link again, (http://208.179.155.80/customizer.html) another addition to the product has a selection of 4 different images to choose from....when looking at that new javascript code you gave me to swap out images, im having trouble trying to understand the logic part of hiding the certain divs (this part especially: bottom1.style.display=this.value=='foil'?'none':''; bottom2.style.display=this.value=='foil'?'':'none' (i know it works but i just havent seen it built that way before so its a bit confusing to me). I'm not certain what is changing what in that blip of code since the foil value is repeated twice but being called by 2 different ID's hmm. how would i go about doing this for multiple choices as opposed to just two?

Click here to read the whole forum topic