Solved

Image Map

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Randomize in Owl Carousel v1.3.2 6 46
HTML Display Current Year 5 28
If condition on Html with Asp 11 18
Can't get second accordion on page to work 2 7
This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

821 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