Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Web Design Tips: Add Your Own Cursor
jeeten
post Dec 1 2005, 03:35 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 27-September 05
Member No.: 8,747



The code that we will be using will work with Internet Explorer 6.0+.
You can use your own cursor images -- just upload them to a website. Cursor images are special images with a .cur or a .ani file extension.
<style type="text/css">
body, a
{cursor: url(http://www.youraddress.com/cursor.cur);}
</style>
Replace youraddress.com/cursor.cur with the address of your custom cursor and then save your changes. That's it!

This post has been edited by miCRoSCoPiC^eaRthLinG: Dec 1 2005, 08:06 AM
Go to the top of the page
 
+Quote Post
Hercco
post Dec 6 2005, 04:52 PM
Post #2


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



Cursor is standard CSS so it should work on most newish browsers.

But... I strongly advise not to use own cursors unless you have a very good reason. If you thought it'd just be a cool thing to do... well its not. People have used to the standard cursors and I personally can say that if someone has changed the basic cursor for the page to a crosshair for example (that I've seen done way too often) I usually get furious, leave the site and never come back. I'd imagine if a custom cursor would be ever worse.

Whole other thing is if you have a good reason. For exaple if the webpage is a game or some other kind of "application", like a map system or something, changing the cursor to something more suitable is all right. And in fact you should use a different cursor if the function of mouse clicks/drags/whatever actions are different from the usual.
Go to the top of the page
 
+Quote Post
twitch
post Dec 20 2005, 09:24 AM
Post #3


Veteran Nut
Group Icon

Group: Members
Posts: 527
Joined: 4-October 05
From: UK
Member No.: 8,895



Well, you can use the cursors defined in the browser, and if you have some desktop theme, then they will suit.

I personally use the cursor: pointer; on a:hover, and cursro: help; on a:hover over abbreviations and long-winded words, so that people know.
Go to the top of the page
 
+Quote Post
Hercco
post Dec 21 2005, 09:07 AM
Post #4


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



QUOTE(twitch @ Dec 20 2005, 11:24 AM)
I personally use the cursor: pointer; on a:hover,  and cursro: help; on a:hover over abbreviations and long-winded words, so that people know.
*




I do this too. No matter what I do I always have a CSS class called .fakelink on my stylesheet. It just changes the cursor into pointer.

It's a really handy way to indicate that my clicking this image or whatever expands something or a full sized image is popped out. This is the type of usage that I encourage people to do; if you have elements that appear to be working like something else then make the using look the same, ie. use pointer when an elements acts like a link, although the click would be a call to a javascript function for example.

Help cursor has kind of become a defacto for abbreviation and acronym elements and thus is nice if used. Also it is quite common to underline abbreviations and acronyms with a dashed line. (border-bottom-style: dashed;)
Go to the top of the page
 
+Quote Post
Quatrux
post Dec 21 2005, 04:46 PM
Post #5


the Q
Group Icon

Group: [HOSTED]
Posts: 1,051
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



I agree, I would hate to have custom cursors on a site, I have my own by default which I like to use.. in addition I also hate the custom ugly scrollbars :S that is why i turned this feature off on opera. wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic Tips and Tricks in HTML(15)
  2. Really Helpful Tips In Designing(4)
  3. Quick Tips On Html And Css(11)


 



- Lo-Fi Version Time is now: 11th October 2008 - 08:05 PM