Reply to Re: Image maps and PHP

Your name:

Reply:


Posted by Sander on 10/10/33 11:27

> Hey thanks a lot - youre a genius --- Only one issue now - is there anyway
> I
> can change the cursoe over this image to be a crosshair rather than the
> finger link pointer... I can use CSS2 but once it turns into a link it
> changes to the finger pointer. What I need is to change the finger pointer
> cursor into the crosshair for this box...
>
> Any idea's?
>
> Or should I pop off to a HTML NG?
>
>
>

Here, i used the same code i posted previously and made some small
adjustments at the top:

****start code****

<STYLE>
A:hover{ cursor: crosshair;}
A:visited{ cursor: crosshair;}
</STYLE>

<a href="index.php"><img src="http://nl2.php.net/images/php.gif" border="0"
ismap></a>

<?PHP
$location = getenv("QUERY_STRING");
list($x, $y) = split(",", $location);

if($x)
{
print("Clicked on position: $x, $y<br>");
}
?>


*** end code ***

Basicelly, the only ajustments are between the style-tags. (and yes this is
a html questions and should not be posted here... but now you have the
answer so that would be no problem). For further reading on the A:hover and
cursor.crosshair you can look at this http://www.w3.org/TR/REC-CSS2/

Good luck again.

Sander

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация