Javascript problem using ejunkie
Permalink
I entered into my sidebar a 3 e-junkie buttons using their script that uses javascript, saved the page, tested the buttons, tried to enter edit mode again to make adjustments and the page wouldn't respond. All other pages worked fine. I ended up having to delete the page, start over and use e-junkies html option instead.
Is there a way to use the javascript without the page becoming frozen?
Here is the button code:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=202309&cl=30949&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>]
Here is the cart code:
[[<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=30949&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>]
Thanks for any help!
Is there a way to use the javascript without the page becoming frozen?
Here is the button code:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=202309&cl=30949&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>]
Here is the cart code:
[[<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=30949&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>]
Thanks for any help!
Hi wondering if there is a definitive snippet to solve the apparent conflict with eJunkie javascript? (Seems to disable the c5 page editing)
And/or, does anyone have a working c5 + e-junkie ecommerce site rigged up.
Seems like a great solution a quick/dirty products-with-variables ecomm site.
I followed the above links but didn't get the issue resolved.
Thanks!
And/or, does anyone have a working c5 + e-junkie ecommerce site rigged up.
Seems like a great solution a quick/dirty products-with-variables ecomm site.
I followed the above links but didn't get the issue resolved.
Thanks!
I found this worked, hope it could be of some help =) (This is on concrete 5.1.1)
http://www.concrete5.org/community/forums/usage/js_includes_workaro...
If you would like to contact me via skype (username: david.gilbert) i'd be more than happy to show you what i have implimented
-Dave