Cannot Get Window Opened From Image Map
This is the code my shopping cart service sent me to use with the "buy now" feature when placing an order:
<a href="HOST URL/gb.php?c=cart&i=LFR-1&cl=hidden&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="HOST URL/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>
Normally this draws the button (I removed the img code when trying this) and when clicked it opens a window which shows the shopping cart.
When I link it from my page, which has links as Image Maps, it will not open the window, it opens the shopping cart in a new tab.
Question: How do I get this code to function normally when linked from an Image Map?
Here is the Image Map code:
<map name="MAP">
<area shape="rect" coords="765,229,934,253" href="#">
</map>
cosmic_nomad posted this at 23:48 — 15th April 2012.
They have: 2 posts
Joined: Apr 2012
The [code] tags don't seem to have worked in my previous post so here it is.
This is the code for the window:
This is the Image Map code for ref.:
Megan posted this at 14:59 — 16th April 2012.
She has: 11,421 posts
Joined: Jun 1999
Hi cosmic_nomad. Welcome to the forums! We don't use BB code here, just HTML. If you need to post code again you can just put it in
<code>
tags.Megan
Connect with us on Facebook!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.