E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
E-junkieGuru E-Junkie Crew Posts: 4352 |
To left-align the free note card section, add this line just before the final "}" in your cart customization code: ejejc_jQuery("#tdPmnt").attr("style","font-family:Verdana;font-size: 11px;text-align:left;width:100%;"); I tried unsuccessfully to reproduce the issue you described with typing in that field, sounds like perhaps your computer briefly had trouble connecting to our server at that moment when you were testing. # POSTED ON: June 12, 2012 @ 14:25 GMT -7 |
|
ecstewart member Posts: 12 |
Nuts. It looks like a few codes have doubled. Example: ejejc_jQuery("#tdPmnt").attr( **** <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } function EJEJC_config() { EJEJC_INITCSS = false; } function EJEJC_config() { EJEJC_POSTCALL=true; } function EJEJC_shown() { ejejc_jQuery("#tdPmnt").attr("innerHTML", "<form target='ej_ejc' method='POST' accept-charset='UTF-8' action='https://www.e-junkie.com/ecom/gb.php?c=cart\&cl=91857\&ejc=2\&i=1109738'>\ <input type='hidden' name='on0' value='Message'/>\ Add a FREE note card to your order. Enter the type or name of pet here:<br>\ <input type='text' name='os0' size='50' maxlength='200'/><br>\ <input src='http://www.e-junkie.com/ej/ej_add_to_cart.gif' type='image' border='0' alt='Add to Cart' class='ec_ejc_thkbx' onClick='javascript:return EJEJC_lc(this.parentNode);'/></form>"); ejejc_jQuery("#tdPmnt").attr("style","font-family:Verdana;font-size: 11px;text-align:left;width:100%;"); } // --> </script> # POSTED ON: June 12, 2012 @ 17:11 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4352 |
Aha, you've duplicated the function EJEJC_config(){} section; any lines for that section should go together between the {curly brackets} in just once instance of that section, like so: function EJEJC_config() { EJEJC_INITCSS = false; EJEJC_POSTCALL=true; } function EJEJC_shown() { ejejc_jQuery("#tdPmnt").attr("innerHTML", "<form target='ej_ejc' method='POST' accept-charset='UTF-8' action='https://www.e-junkie.com/ecom/gb.php?c=cart\&cl=91857\&ejc=2\&i=1109738'>\ <input type='hidden' name='on0' value='Message'/>\ Add a FREE note card to your order. Enter the type or name of pet here:<br>\ <input type='text' name='os0' size='50' maxlength='200'/><br>\ <input src='http://www.e-junkie.com/ej/ej_add_to_cart.gif' type='image' border='0' alt='Add to Cart' class='ec_ejc_thkbx' onClick='javascript:return EJEJC_lc(this.parentNode);'/></form>"); ejejc_jQuery("#tdPmnt").attr("style","font-family:Verdana;font-size: 11px;text-align:left;width:100%;"); } # POSTED ON: June 12, 2012 @ 17:44 GMT -7 |
|
ecstewart member Posts: 12 |
Crud. I give up. Still not working. # POSTED ON: June 12, 2012 @ 19:09 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4352 |
Hm, now your page is missing several lines of View Cart and cart customization code; this is the complete View Cart code you should be using: <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=91857&ejc=2" target="ej_ejc" class="topnav3" onClick="javascript:return EJEJC_lc(this);"><strong>VIEW CART</strong></a> <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } function EJEJC_config() { EJEJC_INITCSS = false; EJEJC_POSTCALL = true; } function EJEJC_shown() { ejejc_jQuery("#tdPmnt").attr("innerHTML", "<form target='ej_ejc' method='POST' accept-charset='UTF-8' action='https://www.e-junkie.com/ecom/gb.php?c=cart\&cl=91857\&ejc=2\&i=1109738'>\ <input type='hidden' name='on0' value='Message'/>\ Add a FREE note card to your order. Enter the type or name of pet here:<br>\ <input type='text' name='os0' size='50' maxlength='200'/><br>\ <input src='http://www.e-junkie.com/ej/ej_add_to_cart.gif' type='image' border='0' alt='Add to Cart' class='ec_ejc_thkbx' onClick='javascript:return EJEJC_lc(this.parentNode);'/></form>"); ejejc_jQuery("#tdPmnt").attr("style","font-family:Verdana;font-size: 11px;text-align:left;width:100%;"); } // --> </script> <script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script> # POSTED ON: June 13, 2012 @ 14:38 GMT -7 MODIFIED ON: June 13, 2012 @ 14:43 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






