Hey guys,
I’m attempting to change the cursor when mousing over a specific area on a lightbox type slideshow. The idea is to get rid of the arrows for next, last and close and instead change the cursor to an image that represents each action.
I don’t have a save as cur or ani in my photoshop so I’m saving as BMP and changing the extension to .cur. I’ve also tried this with PNG’s.
My approach is pretty simple. I just use CSS to change the cursor to an image:
As you might expect, it works quite well in all browsers but IE. After a little research it appears that IE requires a path to the cursor image but even when I tried this approach it’s not working. My revised code looks like this:
I did this years and years ago and it just worked straight out of the box. Just hover the second image to see the custom cursor. It works all the way back to IE6 IIRC.
Well it was the image format… The other browsers were able to overlook the .cur extension and interpret the image as a PNG but IE is pretty strict about images being what they say they are (probably for security being that IE is so tightly integrated with Win’s Core OS). I used a piece of software called Real World Cursor Editor to open my PNG and make it a real Cursor file.