E-junkie - We help you sell online
World Class Solution - Damon @ PayPal
Sell & promote your products Join affiliate programs offered by sellers Shop Community
Notice Serving 4400+ merchants. Processing a sale every 19 seconds. Processed $4.5 million+ worth of sales in Oct '08.
  Google Custom Search

Using E-junkie Shopping Cart with Flash

 

How to use E-junkie shopping cart from inside Flash? How to make sure that the cart comes on top of Flash?

Let's tackle the second question first.

Add the following parameter to the OBJECT tag:
<param name="wmode" value="transparent">

Add the following parameter to the EMBED tag:
wmode="transparent"

If you are using a JavaScript function to embed your Flash, then you will need to refer it's documentation to see how to embed the Flash movie such that it's transparent.

Now, the first question

You will simple add your product in E-junkie admin and get the ADD TO CART and VIEW CART buttons. Then you will need to modify the code slightly as described below, to use it in Flash.

Add to cart you get from E-junkie admin:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1&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>

when used in flash should be written like

on (release) {
getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&i=1&cl=37&ejc=2')");
}

If your E-junkie button code contains dropdowns (only in the case when your products have variants), then you will need to create dropdowns in Flash using Flash's standard components and your button will need to pick their values and append it to the URL above.


View Cart you get from E-junkie admin:

<a href="
https://www.e-junkie.com/ecom/gb.php?c=cart&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_view_cart.gif" border="0"></a>
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>


when used in flash should be written like

on (release) {
getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2')");
}

and place the red code anywhere in the HTML page containing the flash.

 

This page added by E-junkieChef on July 16th, 2008 @ 5:38 pm GMT -7
  • Questions?
    Feel free to contact us if you don't find an answer in our Help pages or our Forums.

    If you just want to enquire about what all E-junkie does, you can check our feature list.
PayPal Certified Integration Google Checkout Certified Integrattion 30 Day Money Back Guarantee
 Share this page!