Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Cart mods works in Firefox but not IE7



mkp007
member
Posts: 51


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="ej_ejc" 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>


#
POSTED ON: December 23, 2008 @ 13:31 GMT -7




Stefanie
member
Posts: 115


Try this instead:

jQuery("#tdPmnt").attr("innerHTML","<font color='#999999' size='+1' face='Comic Sans MS'>Vorticy Sports, Inc.<font color='#FFFFFF'>----------------------</font></font>");


#
POSTED ON: December 23, 2008 @ 14:09 GMT -7




mkp007
member
Posts: 51


Perfect!!!

Thanks,

mark


#
POSTED ON: December 23, 2008 @ 14:43 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam