Solved

Image Map

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 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 videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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)

760 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

19 Experts available now in Live!

Get 1:1 Help Now