5 Replies Latest reply: Apr 27, 2007 3:58 AM by Newsgroup_User RSS

    Cursor Change Help

    Jd_Johnson8 Community Member
      Ok, I am sure this is very simple, but i cannot figure out what i am doing wrong...I have an image that has the following code attached to it: (see bottom of message)

      What code do i use to make it so that the cursor changes to the hand when the user rolls over the image??? I have tried numerous coding with onmouseover, but it just does not work!!

      Please help!

      JD

        • 1. Re: Cursor Change Help
          Newsgroup_User Community Member
          <span class="BlueSanSerif"><a href="javascript:;"
          onclick="MM_openBrWindow('CrtrdgHiD_C1Spec.htm','S2Spec','resizable=yes,width=42
          0,height=243')"><img src="../Web_Im/ViewSpec.jpg" alt="View Specifications"
          width="142" height="20" /></a></span>


          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "Jd_Johnson8" <webforumsuser@macromedia.com> wrote in message
          news:f0qe8f$5g3$1@forums.macromedia.com...
          > Ok, I am sure this is very simple, but i cannot figure out what i am doing
          > wrong...I have an image that has the following code attached to it: (see
          > bottom
          > of message)
          >
          > What code do i use to make it so that the cursor changes to the hand when
          > the
          > user rolls over the image??? I have tried numerous coding with
          > onmouseover,
          > but it just does not work!!
          >
          > Please help!
          >
          > JD
          >
          >
          >
          > <span class="BlueSanSerif"
          > onclick="MM_openBrWindow('CrtrdgHiD_C1Spec.htm','S2Spec','resizable=yes,width=42
          > 0,height=243')"><a><img src="../Web_Im/ViewSpec.jpg" alt="View
          > Specifications"
          > width="142" height="20" /></a></span>
          >


          • 2. Re: Cursor Change Help
            Jd_Johnson8 Community Member
            Murray -

            thank you, Thank You, THANK YOU!! see, i knew it was probably a simple code!!!

            I really appreciate your prompt reply!!

            Jd
            • 3. Re: Cursor Change Help
              Newsgroup_User Community Member
              You must not apply behaviors to <span> tags the way you did. And if you
              always apply your behaviors to <a> tags, then you will always get the
              desired cursor.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "Jd_Johnson8" <webforumsuser@macromedia.com> wrote in message
              news:f0qq89$jt2$1@forums.macromedia.com...
              > Murray -
              >
              > thank you, Thank You, THANK YOU!! see, i knew it was probably a simple
              > code!!!
              >
              > I really appreciate your prompt reply!!
              >
              > Jd


              • 4. Cursor Change Help
                Jd_Johnson8 Community Member
                Murray,

                Actually, after looking at the code you gave me, and what i had originally, i took the span out - i don't need it there b/c the link is an image now (this is the only place i am using an image as a link in my site). I think i started out using a text link, and just forgot to take out the span tag after i decided to use an image. Even so, i would not have known how to incorporate the code properly the way you showed me. You are very helpful, and again i appreciate your promptness and time!!

                btw - do you have any suggestions for the best resource(s) for javascpript? I am finding it very difficult, even with just the little bit i am using in my site...

                thanks bunch!

                Jd
                • 5. Re: Cursor Change Help
                  Newsgroup_User Community Member
                  Why do you need more than what DW provides? What uses of javascript do you
                  mean?

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "Jd_Johnson8" <webforumsuser@macromedia.com> wrote in message
                  news:f0que8$ovn$1@forums.macromedia.com...
                  > Murray,
                  >
                  > Actually, after looking at the code you gave me, and what i had
                  > originally, i
                  > took the span out - i don't need it there b/c the link is an image (this
                  > is the
                  > only place i am using an image as a link in my site). I think i started
                  > out
                  > using a text link, and just forgot to take at the span tag after i decided
                  > to
                  > use an image. Even so, i would not have known how to incorporate the code
                  > properly the way you showed me. You are very helpful, and again i
                  > appreciate
                  > your promptness and time!!
                  >
                  > btw - do you have any suggestions the best resource for javascpript? I am
                  > finding it very difficult, even with just the little bit i am using in my
                  > site...
                  >
                  > thanks bunch!
                  >
                  > Jd
                  >