Solved

Image Map

Posted on 2008-10-15
4
142 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now