PDA

Click to See Complete Forum and Search --> : Help needed with Mouse pointer


wernerh
Nov 17th, 2000, 02:43 AM
Hi, I have a include file in most of my ASP pages. The only function of this include file is to refresh or reload the contents of a frame on the left side of my page! It only consists of VB script and does not have any other tags in the page. How do I Change the cursor to Hourglass for the time it takes to refresk my frame?? I have tried putting VB-script before the include file (wimdow.document.body.style.cursor="wait") and after the include file to return the cursor to default but it doesnt seem to work!
Any suggestions??

Skeen
Nov 17th, 2000, 06:13 AM
In VB its this:

me.mousepointer = vbhourglass

Put that at the top of the script so that as soon as it begins to run the mouse pointer goes to the horglass.
Then right at the bottom of the script, put this

me.mousepointer = vbdefault

I don't know if vbscript supports this. At a guess you'll have to call a gif or something to equate mousepointer to as VBscript isn't a standalone OO package as such.