I wanted to add the script below to a product page...and it works find when in "preview" mode but doesn't work on the live site found here:
http://www.vinashcoaching.com/store/...roducts_id=180
Does anyone have any idea?
Code:html> <head> <script language="javascript"> var imgMax = new Image(10,10); imgMax.src = 'images/max_arrow.gif'; var imgMin = new Image(10,10); imgMin.src = 'images/min_arrow.gif'; function dyntog(a,thisimg) { if(a.style.display=="none") { a.style.display="inline"; thisimg.src=imgMax.src; } else if(a.style.display=="inline") { a.style.display="none"; thisimg.src=imgMin.src; } return false; } </script> <title>Expand/Collapse the table using DIV</title> </head> <body> <img src="max_arrow.gif" width="10" height="10" border="0" align="absmiddle" style="cursor:hand" onclick="dyntog(tbltog_1,this)" title="Click to Minimize/Maximize the table"> <span id="tbltog_1" style="display:inline">First Line<BR>Second Line<BR></span> </body> </html>



opUp('http://www.vinashcoaching.com/pages/icupfaq.php')">Open the Popup Window</A>


