Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing the appearance of the cursor

Status
Not open for further replies.

spacehawk

Programmer
May 17, 2000
30
US
How do I make the cursor display as an image I send from my site when someone points at a link and as a different image from my site when they move off the link?
 
that is something that cannot be done, (unless you use Java or some other programming language I assume) HTML is a Scripting language, it only formats and processes the information on the page, and yes it can receive events suchs as mouse over, but in no way can the HTML has control over a user's system from straight out of the page. Changing the cursor is usally something only a programming language or API Can do, unless IE or some other browser implements commands, so that the browser itself changes the cursor, then there is no way to do it. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
first: HTML is a mark-up language. I always feel it necessary to be distinct about that. One has to know where HTML ends and dHTML (or <u>d</u>ynamic HTML) begins. Changing the cursor is a feature of dHTML up to a certain extent. You may have seen Comet Cursors and things like that- I'll let somebody else explain that. Currently, dHTML does give you a few features concerning cursor changes, but I think it only works in IE.. it is a spec in CSS2, though.<br><br>IE only allows you a limited amount of cursors, though (which happen to be the ones that come on Windows, how surprising)- the text bar, crosshairs, hourglass, etc.<br>Check this page out:<br><A HREF=" TARGET="_new"> to this page, CSS2 should allow you to specify a custom graphic to serve as the cursor (this is what you're really after), but this isn't implemented yet. We'll just have to wait. Ahhh... someday, the web will be beautiful :eek:) <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top