[Javascript] Remote Scripting

BEKIM BACAJ Trojani2000 at hotmail.com
Thu Jun 28 10:50:53 CDT 2001


Well, if you managed to turn and keep the cursor busy, all the time during the data retrieval and turn it back to default same time the data are completely in the page, than I don't have to look at you're script code for further assistance. (I've asked this because I remember you've mentioned some timer earlier in you're posts).

Anyway, Best Regards

Bekim


  
----- Original Message -----
From: Andrew Gibson
Sent: Thursday, June 28, 2001 1:51 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] Remote Scripting
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
document.body.style.cursor='wait'
document.body.style.cursor='default'
The main problem remains, in how to get the cursor back to default after the
data read is completed. You have to find the way to keep track of the data
complete, so you know when to switch to default.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks, that made it a lot easier using the body tag.

Well, with the remote scripting, it grabs the data from the server and
writes to a <div> on the page, so when it's finished writing, thats when you
turn back the cursor.

// remote scripting functions
runitgo()
// turn back cursor
document.body.style.cursor='default' ;

>P.S. I'd like to see some of you're code

Which code? most is on the site below if you do a view source. I think
setting up for remote scripting a pain in the neck. But as for the database
connection I found that I couldn't return a recordset or an array, so had to
put the recordset into a string and parse it into a table in the <div> that
way.

Cheers
Andrew Gibson

DHTML and ASP
http://zap6055s8.strauss.2day.com/default.asp


-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of BEKIM BACAJ
Sent: Thursday, June 28, 2001 10:57 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] Remote Scripting


It is working on my browser, IE 5.5 but I know it works in IE5.0 also, even
if it's not defined in CSS at all.
But why are you using document.all type of thing. It calls all the document
objects and counts them, than it finds the referenced object and at the end
it calls the specified object for handle. It slows down you're script
functions, depending on the size and the number of you're document objects a
lot.
It would be nice to have the cursor wait displayed everywhere in the page
during the dataB data download. It would also be preferable to disable all
the links and other functions in the page during this data travel, but also
ESC button function to cancel data reading by client at any time.

document.body.style.cursor='wait'
document.body.style.cursor='default'

would be more lighter, or in case you like to have the cursor wait state
only over the element that retrieves data access it directly by its ID:
theobject.style.cursor=...

The main problem remains, in how to get the cursor back to default after the
data read is completed. You have to find the way to keep track of the data
complete, so you know when to switch to default.

Regards
P.S. I'd like to see some of you're code

Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascriptGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010628/9e38d112/attachment.htm>


More information about the Javascript mailing list