WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Accespted Custom Cursor Image Wed Jul 28, 2010 2:34 pm

War3DarkOrder


Registered Member
Registered Member
Custom Cursor Image
Using a custom image as cursor - CSS


Okay, I'm going to cover "How to change the cursor while browsing your forum!"

1# Visit Cursors-4u

2# Pick your Cursor from ANY category on THAT site. and click on the image.

3# When you click on the Cursor you want, It will bring you to a new page, there will be the image you clicked, and under that image should be a box with HTML codes in it. Copy the code.

The code should look somewhat like this

Code:
<style type="text/css">body, a, a:hover {cursor: url(CURSOR URL HERE), progress;}</style><a href="http://www.cursors-4u.com/" target="_blank" title="Cursors"><img src="http://cursors-4u.com/support.gif" border="0" alt="Cursors" style="position:absolute; top: 0px; right: 0px;" /></a>

4# Paste it into your CSS style sheet located in Administration Panel.

6# Remove Everything exept these: body, a, a:hover {cursor: url(CURSOR URL HERE), progress;}

Witch are displayed in the code here:

<style type="text/css">body, a, a:hover {cursor: url(CURSOR URL HERE), progress;}</style><a href="http://www.cursors-4u.com/" target="_blank" title="Cursors"><img src="http://cursors-4u.com/support.gif" border="0" alt="Cursors" style="position:absolute; top: 0px; right: 0px;" /></a>

Notice : These tutorials are copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators.



Last edited by War3DarkOrder on Wed Jul 28, 2010 4:52 pm; edited 1 time in total

2Accespted Re: Custom Cursor Image Wed Jul 28, 2010 3:39 pm

ankillien

ankillien
Administrator
Administrator
Hi W3DO!

The tut is nice but a bit unclear Neutral
What do you mean by "Copy it" in step 3?
Copy the cursor URL or the image?


Why should we put the HTML part in the CSS Stylesheet? Forumotion removes HTML parts from CSS but other sites don't Wink. Lets not make this tut for Forumotions only, but for any site Smile

In this code,
Code:
body, a, a:hover {cursor: url(http://cur.cursors-4u.net/games/gam-4/gam375.cur), progress;}
you have already set a URL of cursor which should be replaced with "PUT YOUR CURSOR URL HERE" or something.

What is the "progress" thing after the cursor URL for?

3Accespted Re: Custom Cursor Image Wed Jul 28, 2010 4:45 pm

War3DarkOrder


Registered Member
Registered Member
Ill make it more easy to understand... Fixed everything you said, I think Smile

And I don't really understand CSS that well... I only know what portions of this code do.

4Accespted Re: Custom Cursor Image Wed Jul 28, 2010 6:28 pm

Nem

Nem
Registered Member
Registered Member
Wow, didn't expect that to work so easily, sweet tut.

I also realized on the site they have the cursor change when it hovers over a link, any idea on how to do that? or maybe even when a link is activated (clicked)

http://www.graphics-post.com/forum

5Accespted Re: Custom Cursor Image Wed Jul 28, 2010 7:55 pm

Kasperx

Kasperx
Registered Member
Registered Member
Nem wrote:Wow, didn't expect that to work so easily, sweet tut.

I also realized on the site they have the cursor change when it hovers over a link, any idea on how to do that? or maybe even when a link is activated (clicked)

I think that goes by the divs styles (css).

6Accespted Re: Custom Cursor Image Thu Jul 29, 2010 2:59 am

Terry Harvey

Terry Harvey
Registered Member
Registered Member
Please add a demo Smile

7Accespted Re: Custom Cursor Image Thu Jul 29, 2010 3:01 am

War3DarkOrder


Registered Member
Registered Member
My Site?

8Accespted Re: Custom Cursor Image Thu Jul 29, 2010 12:37 pm

ankillien

ankillien
Administrator
Administrator
Nem wrote:Wow, didn't expect that to work so easily, sweet tut.

I also realized on the site they have the cursor change when it hovers over a link, any idea on how to do that? or maybe even when a link is activated (clicked)

It can be done using pseudo classes...

Code:
a:hover {
cursor : url(CURSOR URL HERE);
}
a:active {
cursor : url(CURSOR URL HERE);
}


@War3DO,
Tut looks better now Very Happy
Thank for your contribution.

Tutorial Accepted

9Accespted Re: Custom Cursor Image Thu Jul 29, 2010 2:06 pm

War3DarkOrder


Registered Member
Registered Member
No Problem for the Contribution, and thanks for the Accepted!

10Accespted Re: Custom Cursor Image Thu Jul 29, 2010 4:02 pm

Kasperx

Kasperx
Registered Member
Registered Member
Yeah its clearer now, good work!

11Accespted Re: Custom Cursor Image Tue Sep 07, 2010 2:06 am

C.noergaard

C.noergaard
Registered Member
Registered Member
Good Tutorial i love it Very Happy

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum