Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using map as a button

Featured Replies

Evening All,

 

I have an image map...

 

<img src="images/services.png" alt="services" border="0" usemap="#Map">
<map name="Map"><area shape="rect" coords="157,10,385,104" href="/form.html" alt="24 hour service"><area shape="rect" coords="606,12,785,103" href="/form48.html" alt="48 hour service">
</map>

 

There are two maps on one image however I need to turn the links into form actions to re-direct to paypal... heres the code

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="1453628">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

 

Obviously theres another peice of HTML of the other button...

 

How can I use an image map with form action? is it possible?

Edited by Sam G
added [code] tags

  • Author

I think my explination my may hard to understand I just want to you use one image as two different buttons.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.