Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

View shopping cart code in dreamweaver



GuestUser
member
Posts: 808


I just set up my shopping cart and am having 1 problem. My site is built with dreamweaver. In the top navigation I have a pre-made graphic that says "view shopping cart" with a hotspot over it that makes it a button. I want to add the code to it to bring up the e-junkie shoppingcart. How do I get the code that will bring up the cart? If it helps I have attached the code for the hotspot:<area shape="rect" coords="297,8,371,26" href="#" />

Thanks for the help, I am excited to get this up!!


#
POSTED ON: January 24, 2008 @ 16:59 GMT -7




E-JunkieExpert
member
Posts: 804


VIEW CART code comprises of an <img> tag with <a> tags around it and then some JavaScript code below it. Just remove the <a href=..><img...></a> part. The JavaScript code will stay as it is and then you can take the URL from the <a> tag and replace the # in your <area> tag
with it.


#
POSTED ON: January 24, 2008 @ 17:00 GMT -7




pianopeter
member
Posts: 3


Can someone please tell me exactly how to do what this is saying?

E-JunkieExpertVIEW CART code comprises of an <img> tag with <a> tags around it and then some JavaScript code below it. Just remove the <a href=..><img...></a> part. The JavaScript code will stay as it is and then you can take the URL from the <a> tag and replace the # in your <area> tag
with it.


#
POSTED ON: April 20, 2010 @ 19:49 GMT -7




E-junkieNinja
E-Junkie Crew
Posts: 668


Here is an example of the complete View Cart Code:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&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>

First remove the <a href=>, <img> and </a> tags form the code so it looks like this:
<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>

Now, take the URL from the <a href=..> section and replace the '#" in the <area> tag from Dreamweaver like so:
<area shape="rect" coords="297,8,371,26" href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&ejc=2" />


#
POSTED ON: April 21, 2010 @ 11:24 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam