Using E-junkie buttons with RapidWeaver
Posted on February 28, 2007, 9:53 am by E-junkieChef under E-junkie Guides
To use the stock e-junkie buttons, copy the generated e-junkie code into the RapidWeaver page relative to what you are selling.
TIP: If you are going to paste the button code into a "styled text" page, it is useful to select it and go to "format>ignore formatting" to force RapidWeaver to render the text as simple text and then as html.
To use your own buttons:
1. Copy the generated e-junkie code into a text editor or the appropriate RapidWeaver page. An example of the code might look like this:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=4251&cl=37&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);" ><img src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0"></a>
2. Change the image source to link to an image of your choice (either built in to the theme or on a server). Since the server method is self explanitory, I will demonstrate the built in method.
3. For the built in method, install your button images into the themes "images" folder, then rewrite the input type="image" source to look something like this:
<img src="%pathto(images/button.jpg)%" border="0">
So that the whole code looks something like this:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=4251&cl=37&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);" ><img src="%pathto(images/button.jpg)%" border="0"></a>
Note: If you see target=_blank in any of the E-junkie buttons, you can use swap out the target="_blank" for rel="external" since the target attribute is depreciated.
Article Contributed by:

Tips by:




