How to use YOUR OWN custom cursor images

Requires PowerPac v11.82.721+
Browsers do not handle custom cursors consistently nor do they all support the same file types for cursors.
How to display your custom images using pgStyleObject():
To specify multiple images and allow the browser to select the one it can display, use a tilde ( ~ ) to separate the image references in the pgStyleObject() parameter definition:
(NOTE: you do not have to add "~auto" to the end of the image list as the function will do this automatically. However, make sure all of the referenced images have been flagged for export using the DHTML Export Tree Manager.)
This method has been tested and conforms to the http://www.w3schools.com/cssref/pr_class_cursor.asp standard.
Browsers do not handle custom cursors consistently nor do they all support the same file types for cursors.
- IE (all versions) prefer .cur or .ani images for cursors
- All other browsers can use png, gif, cur images, but will not correctly display animated (ani) cursors.
- IE requires that custom cursor images be 32px by 32px or smaller.
- All other browsers seem to support cursor images up to about 128px, but generally only if they have the same width and height.
- RECOMMENDATION: Convert your cursor images to a cur file for best browser compatibility.
How to display your custom images using pgStyleObject():
- For the object you want a custom cursor to display, set an on load page action similar to the one shown below.
- Add the "inf-icon.cur" file to the media folder during export using the DHTML Export Tree Manager utility.
- Export and test the result.
To specify multiple images and allow the browser to select the one it can display, use a tilde ( ~ ) to separate the image references in the pgStyleObject() parameter definition:
(NOTE: you do not have to add "~auto" to the end of the image list as the function will do this automatically. However, make sure all of the referenced images have been flagged for export using the DHTML Export Tree Manager.)
This method has been tested and conforms to the http://www.w3schools.com/cssref/pr_class_cursor.asp standard.