mouse shape

Stefan Schwarzer stefan.schwarzer at GRID.UNEP.CH
Mon Dec 6 03:15:39 EST 2004


Ahmet,

the image needs a "style" command. See the following.... I use javascript
to change it....



<img name="map1" style="cursor: hand">


javascript:.....

switch (zoom_value)
{
         case "zoom_in": document.map1.style.cursor = "crosshair";
                                                         break;
         case "zoom_out":        document.map1.style.cursor = "crosshair";
                                                         break;
         case "pan":                     document.map1.style.cursor = "move";
                                                         break;
         case "query":           document.map1.style.cursor = "help";
                                                         break;
         default:                                document.map1.style.cursor
= "hand";
                                                         break;
}



>hello
>
>I see in some examples that mouse shape is changed in some way.
>For instance, for zoom action, some friends change it to "+" from classic
>arrow.
>How can it be carried out. I need some hints
>
>kind regards
>
>Ahmet Temiz
>
>______________________________________
>XamimeLT - installed on mailserver for domain @deprem.gov.tr
>Queries to: postmaster at deprem.gov.tr
>______________________________________
>The views and opinions expressed in this e-mail message are the sender's own
>and do not necessarily represent the views and the opinions of Earthquake
>Research Dept.
>of General Directorate of Disaster Affairs.
>
>Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak
>T.C.
>B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte
>degildir.

         _______________________________________

         Stefan Schwarzer
         GIS & Data Management

         UNEP/DEWA/GRID-Geneva
         Chemin des Anemones 11
         CH - 1219 Chatelaine
         Switzerland

         Tel: (+41) 22.917.83.49
         Fax: (+41) 22.917.80.29

         Email: stefan.schwarzer at grid.unep.ch
         Internet: http://geodata.grid.unep.ch/
         _______________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041206/de527ae7/attachment.html


More information about the mapserver-users mailing list