Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-06-2012, 07:08 PM   PM User | #1
bhip
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
bhip is an unknown quantity at this point
Large Custom Cursor

Hello everyone,
I am building my second website. I've chosen HTML because it's what I've worked with before, and I think my demands will be simple enough for it. Probably the hardest things I'll do with it are embed video and trying to create a large custom mouse cursor that is about 300 x 400 pixels, and is active on the entire page.

How would one create a large cursor? I've gone through hoops of creating a .cur file with a PSD plugin, but dimensions are limited to a small size. I also found a javascript tutorial at this page:
http://www.codebeach.com/2008/02/usi...s-in-java.html
and have tried to recreate it a few times but it never works for me.
Thanks!
bhip is offline   Reply With Quote
Old 12-07-2012, 01:28 AM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,383
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Changing the cursur image via css has not worked for me ever. This should do it:
Code:
body {
	cursor: url('my-mouse-pointer.cur');
}
It doesn't, but if you use the pre coded images like:
Code:
body {
  cursor: crosshair;
}
It does work. Maybe someone has an explanation or a work around?
sunfighter is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:38 PM.


Advertisement
Log in to turn off these ads.