Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Remote Scripting
- From: javascript@xxxxxxxxxx (BEKIM BACAJ)
- Subject: [Javascript] Remote Scripting
- Date: Thu, 28 Jun 2001 17:50:53 +0200
------=_NextPart_001_0000_01C0FFFA.E08826E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well, if you managed to turn and keep the cursor busy, all the time durin= g the data retrieval and turn it back to default same time the data are c= ompletely in the page, than I don't have to look at you're script code fo= r further assistance. (I've asked this because I remember you've mentione= d some timer earlier in you're posts). Anyway, Best Regards Bekim =20 ----- Original Message ----- From: Andrew Gibson Sent: Thursday, June 28, 2001 1:51 PM To: javascript@xxxxxxxxxx Subject: RE: [Javascript] Remote Scripting =20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` document.body.style.cursor=3D'wait' document.body.style.cursor=3D'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 dat= a 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=3D'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 databa= se 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> th= at way. Cheers Andrew Gibson DHTML and ASP http://zap6055s8.strauss.2day.com/default.asp -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of BEKIM BACAJ Sent: Thursday, June 28, 2001 10:57 PM To: javascript@xxxxxxxxxx Subject: Re: [Javascript] Remote Scripting It is working on my browser, IE 5.5 but I know it works in IE5.0 also, ev= en if it's not defined in CSS at all. But why are you using document.all type of thing. It calls all the docume= nt objects and counts them, than it finds the referenced object and at the e= nd 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 object= s 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 al= l the links and other functions in the page during this data travel, but al= so ESC button function to cancel data reading by client at any time. document.body.style.cursor=3D'wait' document.body.style.cursor=3D'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=3D... 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 dat= a 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.c= om _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx http://www.LaTech.edu/mailman/listinfo/javascriptGet more from the Web. = FREE MSN Explorer download : http://explorer.msn.com ------=_NextPart_001_0000_01C0FFFA.E08826E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>Well, if you m= anaged to turn and keep the cursor busy, all the time during the data ret= rieval and turn it back to default same time the data are completely in t= he page, than I don't have to look at you're script code for further assi= stance. (I've asked this because I remember you've mentioned some timer e= arlier in you're posts).</DIV> <DIV> </DIV> <DIV>Anyway, Best Regard= s</DIV> <DIV> </DIV> <DIV>Bekim</DIV> <DIV> </DIV> <DIV> <= /DIV> <DIV> </DIV> <BLOCKQUOTE style=3D"PADDING-RIGHT: 0px; PADDING-= LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT= : 0px"> <DIV style=3D"FONT: 10pt Arial">----- Original Message -----</DIV= > <DIV style=3D"BACKGROUND: #e4e4e4; FONT: 10pt Arial; COLOR: black"><B>F= rom:</B> Andrew Gibson</DIV> <DIV style=3D"FONT: 10pt Arial"><B>Sent:</B>= Thursday, June 28, 2001 1:51 PM</DIV> <DIV style=3D"FONT: 10pt Arial"><B= >To:</B> javascript@xxxxxxxxxx</DIV> <DIV style=3D"FONT: 10pt Arial"><B>S= ubject:</B> RE: [Javascript] Remote Scripting</DIV> <DIV> </DIV>~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`<BR>document.body.style.cursor=3D'= wait'<BR>document.body.style.cursor=3D'default'<BR>The main problem remai= ns, in how to get the cursor back to default after the<BR>data read is co= mpleted. You have to find the way to keep track of the data<BR>complete, = so you know when to switch to default.<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~<BR>Thanks, that made it a lot easier using the body ta= g.<BR><BR>Well, with the remote scripting, it grabs the data from the ser= ver and<BR>writes to a <div> on the page, so when it's finished wri= ting, thats when you<BR>turn back the cursor.<BR><BR>// remote scripting = functions<BR>runitgo()<BR>// turn back cursor<BR>document.body.style.curs= or=3D'default' ;<BR><BR>>P.S. I'd like to see some of you're code<BR><= BR>Which code? most is on the site below if you do a view source. I think= <BR>setting up for remote scripting a pain in the neck. But as for the da= tabase<BR>connection I found that I couldn't return a recordset or an arr= ay, so had to<BR>put the recordset into a string and parse it into a tabl= e in the <div> that<BR>way.<BR><BR>Cheers<BR>Andrew Gibson<BR><BR>D= HTML and ASP<BR>http://zap6055s8.strauss.2day.com/default.asp<BR><BR><BR>= -----Original Message-----<BR>From: javascript-admin@xxxxxxxxxx [mailto:j= avascript-admin@xxxxxxxxxx]On<BR>Behalf Of BEKIM BACAJ<BR>Sent: Thursday,= June 28, 2001 10:57 PM<BR>To: javascript@xxxxxxxxxx<BR>Subject: Re: [Jav= ascript] Remote Scripting<BR><BR><BR>It is working on my browser, IE 5.5 = but I know it works in IE5.0 also, even<BR>if it's not defined in CSS at = all.<BR>But why are you using document.all type of thing. It calls all th= e document<BR>objects and counts them, than it finds the referenced objec= t and at the end<BR>it calls the specified object for handle. It slows do= wn you're script<BR>functions, depending on the size and the number of yo= u're document objects a<BR>lot.<BR>It would be nice to have the cursor wa= it displayed everywhere in the page<BR>during the dataB data download. It= would also be preferable to disable all<BR>the links and other functions= in the page during this data travel, but also<BR>ESC button function to = cancel data reading by client at any time.<BR><BR>document.body.style.cur= sor=3D'wait'<BR>document.body.style.cursor=3D'default'<BR><BR>would be mo= re lighter, or in case you like to have the cursor wait state<BR>only ove= r the element that retrieves data access it directly by its ID:<BR>theobj= ect.style.cursor=3D...<BR><BR>The main problem remains, in how to get the= cursor back to default after the<BR>data read is completed. You have to = find the way to keep track of the data<BR>complete, so you know when to s= witch to default.<BR><BR>Regards<BR>P.S. I'd like to see some of you're c= ode<BR><BR>Get more from the Web. FREE MSN Explorer download : http://exp= lorer.msn.com<BR><BR><BR>_______________________________________________<= BR>Javascript mailing list<BR>Javascript@xxxxxxxxxx<BR>http://www.LaTech.= edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML><br clear=3D= all><hr>Get more from the Web. FREE MSN Explorer download : <a href=3D'h= ttp://explorer.msn.com'>http://explorer.msn.com</a><br></p> ------=_NextPart_001_0000_01C0FFFA.E08826E0--
- Prev by Date: [Javascript] Remote Scripting
- Next by Date: [Javascript] Remote Scripting
- Previous by thread: [Javascript] Remote Scripting
- Next by thread: [Javascript] Remote Scripting
- Index(es):