Solved

Image Map

Posted on 2008-10-15
4
151 Views
Last Modified: 2010-04-06
I have this line in my web page

<area shape="rect" coords="778,11,898,42" href="#" alt="pay pal" />

the problem is i have to put this code into it:

<form target="paypal" action="" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="">
<input type="image" src="">
<input type="hidden" name="display" value="1">
</form>

Is there any way to do this? I have to use the image map.
0
Comment
Question by:lvollmer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 6

Expert Comment

by:tchamtieh
ID: 22724502
First you need to give your form a name:
<form name="paypalform" action="" method="">
......

<area shape="rect" coords="778,11,898,42" href="javascript: document.paypalform.submit();" alt="pay pal" />

-Thomas
0
 

Author Comment

by:lvollmer
ID: 22724623
can you give me the complete code?
0
 
LVL 6

Expert Comment

by:tchamtieh
ID: 22728706
Your Form:

<form name="paypalform" action="" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="">
<input type="image" src="">
<input type="hidden" name="display" value="1">
</form>

Your image map:

area shape="rect" coords="778,11,898,42" href="javascript: document.paypalform.submit();" alt="pay pal" />
0
 
LVL 6

Accepted Solution

by:
tchamtieh earned 500 total points
ID: 22728707
Your Form:

<form name="paypalform" action="" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="">
<input type="image" src="">
<input type="hidden" name="display" value="1">
</form>

Your image map:

<area shape="rect" coords="778,11,898,42" href="javascript: document.paypalform.submit();" alt="pay pal" />
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question