Personalized HP Cursor

Xhynrae
by Xhynrae · 4 posts
11 years ago in IMVU Homepage Codes
Posted 11 years ago · Author
Played around and made a simple cursor using the cutesy Pixel hearts DM provided. Image

Came up with this:
Image

Enter this code into your HP:
Code
<style> body, a, a:hover { cursor:url(https://www.imvumafias.org/community/download/file.php?mode=view&id=916&sid=e33017e6add26f826bdaafd5b35f083a), auto }</style>


Works for Firefox, but cant seem to get it to work in IE. Any help?
Posted 11 years ago
xhynrae wrote:
Works for Firefox, but cant seem to get it to work in IE. Any help?


Cross-browser scripting is always a pain in the ass. The main reason your code works in Firefox and not IE is the fact that IE requires the cursor be in .cur format (Windows Cursor file). Sadly, most image hosters do not support uploading cursor files and I was unable to locate an image host that does.

So all you need to do is find a place that will let you upload a cursor file and replace the url in your code:
Code
<style> body, a, a:hover { cursor:url(http://www.SOMEWEBSITE.com/2gxgor6.cur), auto }</style>


I've tested it in Firefox and IE and it works fine. Granted it doesn't work in the way I thought it would. I assumed that changing the cursor for the body tag would make the cursor appear whenever your cursor was over the page but in my test code, it only appeared where I had text.

Here's an article about Cross-browser custom CSS cursors:
http://beradrian.wordpress.com/2008/01/ ... s-cursors/



Off-topic: I actually made some more pixel hearts in the same design as your cursor.
Image

I put the hearts up on the market for free and just update the file when I add more. buysell/single_ad.php?ad_id=527
Posted 11 years ago · Author
Sadly yeah I scanned and searched trying to find a site to host .cur or .ani file. Persistance paid off and found FileDen.com...so here is my updated code to work for IE

Code
<style> body, a, a:hover { cursor:url(http://www.fileden.com/files/2013/4/15/3437121/Hearts.cur), auto }</style>
Posted 11 years ago
xhynrae wrote:
<style> body, a, a:hover { cursor:url(http://www.fileden.com/files/2013/4/15/ ... Hearts.cur), auto }</style>


I'm getting a 404 error for the image link.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts