Google Groups Home
Help | Sign in
Mouse Cursor Options
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Crack Head  
View profile  
 More options Jul 7 2005, 7:38 am
From: "Crack Head" <crackh...@twistedpairrecords.com>
Date: Thu, 07 Jul 2005 04:38:00 -0700
Subject: Mouse Cursor Options
They shoul dmake it a grab hand when over the map, A pointing Finger
for clicking Markers and default for using the zoom menu.

This way people new to the map will knowits not a static image and that
they can DRAG the map when they see the drag hand cursor.

Is there a way to map this behavior using javascript or xml?

Also, can you add custom mouse icons?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
J. Shirley  
View profile  
 More options Jul 7 2005, 8:24 am
From: "J. Shirley" <jshir...@gmail.com>
Date: Thu, 07 Jul 2005 12:24:34 -0000
Local: Thurs, Jul 7 2005 8:24 am
Subject: Re: Mouse Cursor Options
This is taken from the Google maps javascript, but it isn't a public
function so you can setup one as an override:

function setCursor(object,cursorStyle) {
    try {
        object.style.cursor=cursorStyle;
    }
    catch(c) {
         if ( cursorStyle=="pointer" ) {
             setCursor(object,"hand")
         }
    }

}

This operates purely via CSS, so everything you can do with the
"cursor" style in CSS, you can do in Google Maps.  Here is a link to
read up on the cursor property: http://www.w3.org/TR/REC-CSS2/ui.html

Hope this helps.

-J. Shirley
Find out where to eat:  http://www.toeat.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sir.whilms@gmail.com  
View profile  
 More options Jul 7 2005, 1:03 pm
From: "sir.whi...@gmail.com" <sir.whi...@gmail.com>
Date: Thu, 07 Jul 2005 10:03:43 -0700
Local: Thurs, Jul 7 2005 1:03 pm
Subject: Re: Mouse Cursor Options
You go do it in CSS:
#map img {cursor:hand;}

And yes, it is possibe to use custom files. Its easier than, say,
embedding fonts, since it has no special file and you neednt worry
about @import functionality. Just upload a .cur and use "cursor:
url('addressOFcursor.cur');".


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Crack Head  
View profile  
 More options Jul 7 2005, 4:50 pm
From: "Crack Head" <crackh...@twistedpairrecords.com>
Date: Thu, 07 Jul 2005 13:50:29 -0700
Local: Thurs, Jul 7 2005 4:50 pm
Subject: Re: Mouse Cursor Options
Thanks guys, I will give it a try!!!!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google