E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
GuestUser member Posts: 808 |
Hi. I already use your service, and now I need to know if your buttons can go on Wordpress? # POSTED ON: February 16, 2008 @ 18:27 GMT -7 |
|
E-JunkieExpert member Posts: 804 |
Sure, our buttons can be used anywhere you can paste HTML and JavaScript code. # POSTED ON: February 16, 2008 @ 18:27 GMT -7 |
|
Chris_L member Posts: 21 |
Just make sure your turn off Wordpress's WYSIWYG editor when pasting in the code; also delete any line breaks or carriage returns in the code, as WP will interpret this as a line break when formatting. 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. # POSTED ON: February 18, 2008 @ 15:21 GMT -7 |
|
Marc_B member Posts: 6 |
Chris, I think I have followed your instructions, but by buttons are still not working. http://doowkcalb.com/events/golf-tournament/ Any ideas? Thanks. # POSTED ON: March 13, 2008 @ 10:07 GMT -7 |
|
Chris_L member Posts: 21 |
Hi Marc, 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. :) # POSTED ON: March 13, 2008 @ 11:04 GMT -7 MODIFIED ON: March 13, 2008 @ 11:10 GMT -7 |
|
Marc_B member Posts: 6 |
I put the following in the header file: <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. # POSTED ON: March 13, 2008 @ 12:34 GMT -7 |
|
Marc_B member Posts: 6 |
Got it! Here is the code I finally got to work for the view cart button: <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. # POSTED ON: March 13, 2008 @ 13:03 GMT -7 |
|
shana member Posts: 9 |
Hey Marc B... thanks!!! # POSTED ON: February 14, 2010 @ 15:32 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






