DelphiFAQ Home Search:
General :: Web publishing :: JavaScript
Code snippets to add functionality to your HTML pages, preferably cross-browser.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to change the cursor?


Is it possible to select a certain cursor (e.g. the hour glass) for a web page?


Internet Explorer offers this since version 4 and Netscape since version 6. The relevant property is

You can script it as shown in the example or make it part of a CSS (makes less sense in my opinion).

IE 4 and 5 use the name 'hand' for the hand cursor, IE 6 and Netscape 6 call it 'pointer'
. = 'wait';
 // this takes time
 // calculating something = 'auto';

Generated 16:02:12 on Oct 19, 2020