I modified my cart and it works great in Firefox but it does not work in IE7. Basically I change the imgHeader to cart_top_banner.jpg. And I add some text at the bottom with tdPmnt. IE7 does not show either modification. IE7 says there is an error and it occurs on the "jQuery("#tdPmnt").attr("innerHTML",<" character. http://www.CornHole2.com<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=44052&ejc=2" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="view_cart.gif" border="0" alt="View Cart"/></a> <script language="javascript" type="text/javascript"><!--function EJEJC_lc(th) { return false; }function EJEJC_config() {EJEJC_POSTCALL=true;}function EJEJC_shown(){jQuery("#imgHeader").attr("src","cart_top_banner.jpg");jQuery("#tdPmnt").attr("innerHTML",<div><font color="#999999" size="+1" face="Comic Sans MS">Vorticy Sports, Inc.</font><font color="#FFFFFF" size="+1" face="Comic Sans MS">----------------------</font></div>);}// --></script><script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>
Try this instead:jQuery("#tdPmnt").attr("innerHTML","<font color='#999999' size='+1' face='Comic Sans MS'>Vorticy Sports, Inc.<font color='#FFFFFF'>----------------------</font></font>");
Perfect!!!Thanks,mark
Share and learn in the E-junkie community.