FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Image <input> with <map>?

 


Donutey
Is it possible to use an image map (<map>) for an image based html <input>? I know it's possible to reference an image map from an input:

Code:

<input style="width:60px;height:20px;" name="" value="" title="English" src="http://www.donutey.frihost.net/images/flag/re.png" usemap="js1" align="bottom" type="image" />

<map id="js1" name="js1">
<area shape="rect" coords="0,0,30,20" alt="Add This" href="http://www.donutey.frihost.net/" />
<area shape="rect" coords="30,0,60,20" alt="Add This" href="http://www.donutey.frihost.net/translationportal.php" />
</map>


However, when clicking one of the area shapes I want it to be an input, while the other is a regular href. Although, I'm not sure this is the best way to go at it.

Thanks in advance.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.