CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 15th, 2003, 04:57 AM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
custom cursor CSS

I found two different sytlesheets for displaying custom cursors on my website and they both worked on my computer with IE 6.0. But neither of them worked on the site after I uploaded the new cursor files.

Here's the whole stylesheet:

<style>
<!--
a{text-decoration:none}
A:hover {
CURSOR:url(redhand.cur);
color:red;
text-decoration:none;
background-color:yellow;
}
BODY{
CURSOR:url(redarrow.cur);
scrollbar-face-color:'#000000';
scrollbar-arrow-color:'#FFFF00';
scrollbar-track-color:'#408080';
scrollbar-shadow-color:'#FF8000';
scrollbar-highlight-color:'#FF8000';
scrollbar-3dlight-color:'#FF8000';
scrollbar-darkshadow-Color:'#000000';
}
-->
</style>

I've tried putting the cursor filename in double and single quotes, using the full URL path in quotes, etc. All work on my computer, but none on the website. What's wrong?

Reply With Quote
  #2  
Old June 15th, 2003, 12:36 PM
wimb wimb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bussigny, Switzerland
Posts: 8 wimb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 37 sec
Reputation Power: 0
CURSOR:url(redarrow.cur); means that the image must be in the same directory as the css file. If not, you have to set the path from the css file.

wimb

Reply With Quote
  #3  
Old June 15th, 2003, 05:18 PM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by wimb
[B]CURSOR:url(redarrow.cur); means that the image must be in the same directory as the css file. If not, you have to set the path from the css file.


The CSS is not a file, it's in the <head> section of the HTML. And the cursor image files are in the same directory as the index.html. Why does this work on my computer and not on Netfirms?

Reply With Quote
  #4  
Old June 15th, 2003, 05:54 PM
Clone53421's Avatar
Clone53421 Clone53421 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2003
Posts: 689 Clone53421 User rank is Private First Class (20 - 50 Reputation Level)Clone53421 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 17 h 7 m 56 sec
Reputation Power: 6
Send a message via AIM to Clone53421
On a different note, I am interested in supressing the mouse pointer altogether (so it doesn't appear on an overhead projector). Does anyone know how to do this?

Reply With Quote
  #5  
Old June 17th, 2003, 03:47 PM
Clone53421's Avatar
Clone53421 Clone53421 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2003
Posts: 689 Clone53421 User rank is Private First Class (20 - 50 Reputation Level)Clone53421 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 17 h 7 m 56 sec
Reputation Power: 6
Send a message via AIM to Clone53421
Does IE 5.50 support a url() cursor?

Reply With Quote
  #6  
Old June 17th, 2003, 06:37 PM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by Clone53421
Does IE 5.50 support a url() cursor?


No. As far as I know, the custom cursor feature started with IE 6.0.

Reply With Quote
  #7  
Old June 18th, 2003, 01:36 PM
Clone53421's Avatar
Clone53421 Clone53421 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2003
Posts: 689 Clone53421 User rank is Private First Class (20 - 50 Reputation Level)Clone53421 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 17 h 7 m 56 sec
Reputation Power: 6
Send a message via AIM to Clone53421
Oh. Well I'll have to check the version on the computer I'll be using then. It might be newer. But what I had in mind won't work when I test it on my home computer. I was intending to make a blank cursor (nothing visible) so the mouse wouldn't interfere with the display on an overhead projector.

No biggie. Thx for the info.

Reply With Quote
  #8  
Old July 1st, 2003, 03:02 AM
birnerd birnerd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Singapore
Posts: 6 birnerd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I tried the stylesheet as stated in post 1, however, there is error which states syntax error in the status bar of the Windows (IE6). How do I remove that error or issit a BUG ??

Reply With Quote
  #9  
Old July 1st, 2003, 01:26 PM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by birnerd
I tried the stylesheet as stated in post 1, however, there is error which states syntax error in the status bar of the Windows (IE6). How do I remove that error or issit a BUG ??


Must be a bug because that code works fine now with my IE 6.0. All I had to do was move the page to a web host that had no banners. The banner code on the original site wrapped the stylesheet in its HTML, which is why the cursors wouldn't display.

Reply With Quote
  #10  
Old July 1st, 2003, 10:45 PM
birnerd birnerd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Singapore
Posts: 6 birnerd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
wad host you using?? I using Geocities.

The cursors would display, but there is syntax error in the status bar, which says Line 2, Char 29. any scripts to catch such errors or changes in the css ??

Reply With Quote
  #11  
Old July 2nd, 2003, 01:37 AM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by birnerd
wad host you using?? I using Geocities.

The cursors would display, but there is syntax error in the status bar, which says Line 2, Char 29. any scripts to catch such errors or changes in the css ??


The Geocities floating ad may be the source of your error. I use Brinkster, free web hosting without banners or ads of any kind.

Reply With Quote
  #12  
Old July 2nd, 2003, 05:58 AM
birnerd birnerd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Singapore
Posts: 6 birnerd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry to digress from the topic, is brinkster better in terms of bandwith then Geocities??

Reply With Quote
  #13  
Old July 2nd, 2003, 03:12 PM
starrwriter starrwriter is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Honolulu, Hawaii
Posts: 60 starrwriter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by birnerd
Sorry to digress from the topic, is brinkster better in terms of bandwith then Geocities??


I have no idea since I have never had to worry about bandwidth issues at any of my sites. You can find the answer to your question at http://www.brinkster.com

Reply With Quote
  #14  
Old July 2nd, 2003, 09:13 PM
birnerd birnerd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Singapore
Posts: 6 birnerd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks, my problem was solved. Mine was more of an informative site, hence was always down in Geocities.. need two accounts to distribute traffic...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > custom cursor CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |