Solved

Image Map

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

739 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