Ok I have the images working in IE now (yay!), but not Firefox still. Here's my code for my PROD_50:
The only thing is, all three drop-down menus are being treated as part of the same attribute, Bead 1. On the page, they are all lined up under the one lable, and if I make some selections and go to my cart, only the first bead shows up. I'm sure it has something to do with the code in tpl_modules_attributes.php, but I don't know how to modify it to recognize three separate drop-down attributes. Here's what that part of the code looks like:Code:<style type="text/css"> #attrib-9 {display: none;}; </style> <table border="0" cellspacing="0" cellpadding="0" width="300"> <tr><td width="250"> <select name="picture1" size="1" onChange="showimage1()"> <option selected value="37">Amethyst</option> <option value="45">Azurite</option> <option value="48">Black Onyx</option> <option value="47">Blue Goldstone</option> <option value="44">Blue Onyx</option> <option value="36">Coral</option> <option value="34">Crystal</option> <option value="38">Garnet</option> <option value="29">Goldstone</option> <option value="41">Green Onyx</option> <option value="49">Hematite</option> <option value="39">Jade</option> <option value="46">Lapis</option> <option value="31">Leopard Jasper</option> <option value="40">Malachite</option> <option value="35">Red Fossil</option> <option value="32">Rhodonite</option> <option value="33">Rose Quartz</option> <option value="50">Snowflake</option> <option value="43">Syn. Opal</option> <option value="28">Syn. Pearl</option> <option value="30">Tiger Eye</option> <option value="42">Turquoise</option> </select> </td> <td width="50"> <align="center"><img src="includes/templates/beige/images/PROD_50/37" name="pictures1"> </td></tr></table> <style type="text/css"> #attrib-10 {display: none;}; </style> <table border="0" cellspacing="0" cellpadding="0" width="300"> <tr><td width="250"> <select name="picture2" size="1" onChange="showimage2()"> <option selected value="37">Amethyst</option> <option value="45">Azurite</option> <option value="48">Black Onyx</option> <option value="47">Blue Goldstone</option> <option value="44">Blue Onyx</option> <option value="36">Coral</option> <option value="34">Crystal</option> <option value="38">Garnet</option> <option value="29">Goldstone</option> <option value="41">Green Onyx</option> <option value="49">Hematite</option> <option value="39">Jade</option> <option value="46">Lapis</option> <option value="31">Leopard Jasper</option> <option value="40">Malachite</option> <option value="35">Red Fossil</option> <option value="32">Rhodonite</option> <option value="33">Rose Quartz</option> <option value="50">Snowflake</option> <option value="43">Syn. Opal</option> <option value="28">Syn. Pearl</option> <option value="30">Tiger Eye</option> <option value="42">Turquoise</option> </select> </td> <td width="50"> <align="center"><img src="includes/templates/beige/images/PROD_50/37 " name="pictures2"> </td></tr></table> <style type="text/css"> #attrib-11 {display: none;}; </style> <table border="0" cellspacing="0" cellpadding="0" width="300"> <tr><td width="250"> <select name="picture3" size="1" onChange="showimage3()"> <option selected value="37">Amethyst</option> <option value="45">Azurite</option> <option value="48">Black Onyx</option> <option value="47">Blue Goldstone</option> <option value="44">Blue Onyx</option> <option value="36">Coral</option> <option value="34">Crystal</option> <option value="38">Garnet</option> <option value="29">Goldstone</option> <option value="41">Green Onyx</option> <option value="49">Hematite</option> <option value="39">Jade</option> <option value="46">Lapis</option> <option value="31">Leopard Jasper</option> <option value="40">Malachite</option> <option value="35">Red Fossil</option> <option value="32">Rhodonite</option> <option value="33">Rose Quartz</option> <option value="50">Snowflake</option> <option value="43">Syn. Opal</option> <option value="28">Syn. Pearl</option> <option value="30">Tiger Eye</option> <option value="42">Turquoise</option> </select> </td> <td width="50"> <align="center"><img src="includes/templates/beige/images/PROD_50/37 " name="pictures3"> </td></tr></table> <script type="text/javascript"> function showimage1() { if (!document.images) return document.getElementById("attrib-9").value = cart_quantity.picture1.options[document.cart_quantity.picture1.selectedIndex].value; <!--change the src to where you have the pictures stored for the download --> document.images.pictures1.src="includes/templates/beige/images/PROD_50/"+ document.cart_quantity.picture1.options[document.cart_quantity.picture1.selectedIndex].value } </script> <script type="text/javascript"> function showimage2() { if (!document.images) return document.getElementById("attrib-10").value = cart_quantity.picture2.options[document.cart_quantity.picture2.selectedIndex].value; <!--change the src to where you have the pictures stored for the download --> document.images.pictures2.src="includes/templates/beige/images/PROD_50/"+ document.cart_quantity.picture2.options[document.cart_quantity.picture2.selectedIndex].value } </script> <script type="text/javascript"> function showimage3() { if (!document.images) return document.getElementById("attrib-11").value = cart_quantity.picture3.options[document.cart_quantity.picture3.selectedIndex].value; <!--change the src to where you have the pictures stored for the download --> document.images.pictures3.src="includes/templates/beige/images/PROD_50/"+ document.cart_quantity.picture3.options[document.cart_quantity.picture3.selectedIndex].value } </script>
Here's another link to the page: click.Code:<!--bof DROP DOWN SELECT --> <?php if ($i == 1) { if (($_GET['products_id']) == 50) { include 'PROD_50.php'; } } ?> <!--eof END OF DROP DOWN SELECT -->
Thanks to everyone for helping me out with this! The fact that I've got it this far is a miracle in my mind. :)
Bookmarks