changing cursors for maps

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geoff Soper

    changing cursors for maps

    I'm trying to dynamically change the cursor of a couple of maps over an
    image. Basically the image is in an online photo system where there is a
    rotate mode. In this mode clicking on the left or right half of the image
    rotates it 90 degrees to the left or right. I want to change the cursor to
    indicate this but only while in the rotate mode. After looking at it in the
    Mozilla DOM inspector it seems as if the style is changing but neither
    Mozilla or MSIE are actually changing the cursor.

    A simpel version of the problem is at http://geoffsoper.co.uk/mouseover/
    where the two buttons simulate the mode changing.

    I'd be very grateful for any advice here!

    Thanks,
    Geoff

    --
    Posted from a valid address, reply to the address as it is!


  • DU

    #2
    Re: changing cursors for maps

    Geoff Soper wrote:
    [color=blue]
    > I'm trying to dynamically change the cursor of a couple of maps over an
    > image. Basically the image is in an online photo system where there is a
    > rotate mode. In this mode clicking on the left or right half of the image
    > rotates it 90 degrees to the left or right. I want to change the cursor to
    > indicate this but only while in the rotate mode. After looking at it in the
    > Mozilla DOM inspector it seems as if the style is changing but neither
    > Mozilla or MSIE are actually changing the cursor.
    >
    > A simpel version of the problem is at http://geoffsoper.co.uk/mouseover/
    > where the two buttons simulate the mode changing.
    >
    > I'd be very grateful for any advice here!
    >
    > Thanks,
    > Geoff
    >[/color]



    DU

    Comment

    • Evertjan.

      #3
      Re: changing cursors for maps

      Geoff Soper wrote on 08 feb 2004 in
      comp.infosystem s.www.authoring.stylesheets:
      [color=blue]
      > I'm trying to dynamically change the cursor of a couple of maps over
      > an image. Basically the image is in an online photo system where there
      > is a rotate mode. In this mode clicking on the left or right half of
      > the image rotates it 90 degrees to the left or right. I want to change
      > the cursor to indicate this but only while in the rotate mode. After
      > looking at it in the Mozilla DOM inspector it seems as if the style is
      > changing but neither Mozilla or MSIE are actually changing the cursor.
      >
      > A simpel version of the problem is at
      > http://geoffsoper.co.uk/mouseover/ where the two buttons simulate the
      > mode changing.
      >[/color]

      I do not think css-style is possible with <area>

      Try it this way:

      <http://216.197.100.138/bradford/boys/>

      --
      Evertjan.
      The Netherlands.
      (Please change the x'es to dots in my emailaddress)

      Comment

      • Geoff Soper

        #4
        Re: changing cursors for maps

        "DU" <drunclear@hotW IPETHISmail.com > wrote in message
        news:c045ac$e61 $1@news.eusc.in ter.net...[color=blue]
        > Geoff Soper wrote:
        >[color=green]
        > > I'm trying to dynamically change the cursor of a couple of maps over an
        > > image. Basically the image is in an online photo system where there is a
        > > rotate mode. In this mode clicking on the left or right half of the[/color][/color]
        image[color=blue][color=green]
        > > rotates it 90 degrees to the left or right. I want to change the cursor[/color][/color]
        to[color=blue][color=green]
        > > indicate this but only while in the rotate mode. After looking at it in[/color][/color]
        the[color=blue][color=green]
        > > Mozilla DOM inspector it seems as if the style is changing but neither
        > > Mozilla or MSIE are actually changing the cursor.
        > >
        > > A simpel version of the problem is at http://geoffsoper.co.uk/mouseover/
        > > where the two buttons simulate the mode changing.
        > >[/color]
        >
        > http://bugzilla.mozilla.org/show_bug.cgi?id=177273
        >[/color]

        Ah, thanks for that!

        Just before I saw your post I thought of a solution, it seemed to work and
        is at http://geoffsoper.co.uk/mouseover/index2.htm . Basically I change the
        cursor style for the whole image when the mouse goes over either the left or
        right side map areas and back to 'auto' when the mouse leaves either area.
        This works fine until I try to use my own cursors as shown in
        http://geoffsoper.co.uk/mouseover/index3.htm , this time the cursor
        disappears completely! Is there a problem with the way in which I set the
        custom cursor or with the cursor itself? I realise Mozilla doesn't yet
        support the custom cursor part of CSS2.

        Again, any help much appreciated!

        Thanks,
        Geoff

        --
        Posted from a real e-mail address, just reply without changing anything.


        Comment

        Working...