Where to paste code for an image map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is my PayPal view cart code, after taking out what I figured was the html for PayPal's button image:
<form target="paypal" action="https://www.paypalblahblah" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="myemail">
<input type="hidden" name="display" value="1">
</form>
And, the html for my image map isn't in the same order as the example given here for image maps, so I have no idea of where to paste my code into the html. My image map starts with: <map name= instead of <img src=
It doesn't work when I paste it after the coordinates,then the href:
I've tried different places, but it's not working. In the image map example, there is no <form target or </form>....
I've been all over the internet looking for the answers, and see that other people are asking the exact same question, but then there's no replies on the forums, or replies that say it can't be done. You say it can, and that it's simple, but since your example is different than my button code, it's not simple at all.
Can someone please tell me what could be wrong and how I can fix it? Am I missing something in my code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As previously mentioned in the other post, you use the text link or email version of the code. For example, this is a text link or email version of a View Cart button:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&display=1&business=youremail @ youremail.com
You use this info for the link in the image map.
Regards,
skier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry, but I don't know what "text link or email version" means...
But I DO have that code for the view cart button-my example just said "myemail" because when I tried to post, a warning came up, saying that I couldn't use my e-mail address in the post. (I also shortened the "paypal" action... because that wasn't what my questions were about.
What I'm asking about is the OTHER parts of that last question:
Where do I have to actually PASTE my code into the html?
I put it at the beginning of the image map, but it doesn't work.
Where should the 1st line of my code, <form target go? (The image map example doesn't have <form target or </form> at the end.)
I showed the complete code that I'm trying to insert in the last post... it's what PayPal generated, but I took out what I figured was code for PayPal's button image. Did I take out something that was needed for my image map to work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forms Tags are not used with image map code. Form Tags are only used with HTML Forms. An image map is not an HTML Form. It's just a way for someone to simply click on an image or a specific area of that image and an action will happen, usually a window will pop-up or you will be hyper linked to a specific URL.
Just curious, what software application are you using to generate your image map code?
Regards,
skier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh hi - you must have replied while I was typing my last post...
Okay, so since I have no idea about html or any of this stuff, I didn't know about form tags.
Thanks for telling me... I was just completely lost in a horrible nightmare I couldn't wake up from!
I thought that the act of going to the cart was a form. If I had just known this from the very beginning!!!! Oh well.
I'm using GoLive 6, and I don't use any text or anything on my site - I just paste jpgs into tables that I created by slicing a big Photoshop image. I'm an illustrator, and the site is nothing but pages of art... even the type.
So I use image maps all over the place. Doing things visually is easy- - - doing things by typing cryptic words is not my thing, as you can tell.
Hmmm, so I don't need that last form tag at the end to even be IN there at all? I guess it's not hurting anything, and knowing my luck, if I fool with things again I might unknowingly mess things up!
If there's anything else I should know, let me know. (In a simple way, like you're talking to a 3-year old!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, so the "view cart" works, but I added another hotspot for an "add to cart", but it makes the first hotspot go away!
Where do I put in the "add to cart" code, in relation to the "view cart" code, and then the 20 other "add to cart" codes I will have to put in?
Do they all go "between" certain words, or is each one a totally separate thing?
The website payment standards thing doesn't explain any of this at all.
Is there an easier way for me to add these links to my image map hotspots in GoLive, instead of trying to figure out where stuff fits in the html? (I've got 3 GoLive manuals, and none of them talk about this.) I hate GoLive.
I feel SO CLOSE to working this out... once I get this down, I'll never come back here and bug you again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can have mutiple hot spots or links on an image map. As for what you actual code looks like and/or is doing, sorry can't help. If you can get one to work, the others should be easy. That's the best I can do without actually being there, else my services are quite expensive.
Regards,
skier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<form target="paypal" action=
I had to take out the words: <form target= "paypal"
-- Which seems strange... because then there IS still the </form> at the end. I thought there would have to be a "form" start to it all.
I have no idea how or why this all is, but now if I can do the same thing for the "add to cart"... then I'm good to go.
Jeez, it's all so arcane and mystical. ; )

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.