E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2012, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Sun, 14 Feb 2010 22:32:44 GMT Fri, 10 Feb 2012 17:05:16 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #8 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Sun, 14 Feb 2010 22:32:44 GMT E-junkie Discussions; shana Post #7 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Thu, 13 Mar 2008 20:03:18 GMT
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=19372&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="https://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; }
function EJEJC_config() { EJEJC_INITCSS = false; }
// -->
</script>
<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>

For some reason when I first cut and pasted the code I missed the last line, so watch out for that. Also I needed to add:

function EJEJC_config() { EJEJC_INITCSS = false; }

to fix the css problems.]]>
E-junkie Discussions; Marc_B
Post #6 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Thu, 13 Mar 2008 19:34:51 GMT
<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js">< /script>
<script type="text/javascript">

but it hosed my whole layout. Then I tried putting it in the body of the page, but that messes up the css also (but differently).

Put

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>

before the buttons, but it had no effect.]]>
E-junkie Discussions; Marc_B
Post #5 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Thu, 13 Mar 2008 18:04:03 GMT
It doesn't look like you've included the box.js script. Add this to your header file, in the <head> area:

<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>
<script type="text/javascript">

and try putting this:

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>

...beneath the other script lines, before your cart buttons, rather than after after your cart button. Not sure if being before or after your cart buttons matter or not (I'll admit I'm not a web developer), but you definitely need to call box.js.

Makes sense to keep all the script calls in the header, below where you have the 'taber.js' and 'menu.ks' calls.

Should work then hopefully. :)]]>
E-junkie Discussions; Chris_L
Post #4 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Thu, 13 Mar 2008 17:07:06 GMT
I think I have followed your instructions, but by buttons are still not working.
http://doowkcalb.com/events/golf-tournament/

Any ideas? Thanks.]]>
E-junkie Discussions; Marc_B
Post #3 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Mon, 18 Feb 2008 22:21:05 GMT
I use Wordpress and found it easier to create a page template with all the necessary code so WP doesn't have a chance to monkey around with it.]]>
E-junkie Discussions; Chris_L
Post #2 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Sun, 17 Feb 2008 01:27:26 GMT E-junkie Discussions; E-JunkieExpert Post #1 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 http://www.e-junkie.com/bb/topic/1953/pg/0#post13346 Sun, 17 Feb 2008 01:27:15 GMT E-junkie Discussions; GuestUser