Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 01:04 PM
Simon Wigzell
Guest
 
Posts: n/a
Default Giving browser a "jolt"

I have a web page that sends it's form results to another page through asp.
When that page is finished processing it changes some values in the main
page. This can take a few seconds depending on system usage. I have a "wait"
cursor come up in the main form but it isn't always apparent when the
calculation is finished. I would like the results page to call a javascript
function in the main page that will "jog" the page within the browser, that
is move it up say 10 pixels and then move it down again 10 pixels so that
there is a visual clue that the calculation is finished. Can I use the
"scrollto" function? I've used it before to scroll to an absolute number of
pixels from the top of the page but can I use it to e.g.

scrollto(0,[whereever we are now - 10]);
scrollto(0,[whereever we are now + 10]);

What would be the syntax for that? Any other way to do it?


  #2  
Old July 20th, 2005, 01:04 PM
Fabian
Guest
 
Posts: n/a
Default Re: Giving browser a "jolt"

Simon Wigzell hu kiteb:
[color=blue]
> I have a web page that sends it's form results to another page
> through asp. When that page is finished processing it changes some
> values in the main page. This can take a few seconds depending on
> system usage. I have a "wait" cursor come up in the main form but it
> isn't always apparent when the calculation is finished. I would like
> the results page to call a javascript function in the main page that
> will "jog" the page within the browser, that is move it up say 10
> pixels and then move it down again 10 pixels so that there is a
> visual clue that the calculation is finished.[/color]

Just an interface issue. Wouldn't it be more efficient to have a text
message appear instead? This could be initially hidden with the
visibility attribute, and set to display inline when the calculation is
finished. Many people, faced with a computer doing something that does
not take place instantaneously, will NOT watch the screen constantly.
Having a lasting text message avoids this problem.

Plus, text is intuitively more meaningful than the screen jolting. My
first thought would be a computer glitch if that happened.


--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

  #3  
Old July 20th, 2005, 01:05 PM
Peter van Merkerk
Guest
 
Posts: n/a
Default Re: Giving browser a "jolt"

> I have a web page that sends it's form results to another page through
asp.[color=blue]
> When that page is finished processing it changes some values in the main
> page. This can take a few seconds depending on system usage. I have a[/color]
"wait"[color=blue]
> cursor come up in the main form but it isn't always apparent when the
> calculation is finished. I would like the results page to call a[/color]
javascript[color=blue]
> function in the main page that will "jog" the page within the browser,[/color]
that[color=blue]
> is move it up say 10 pixels and then move it down again 10 pixels so that
> there is a visual clue that the calculation is finished. Can I use the
> "scrollto" function? I've used it before to scroll to an absolute number[/color]
of[color=blue]
> pixels from the top of the page but can I use it to e.g.
>
> scrollto(0,[whereever we are now - 10]);
> scrollto(0,[whereever we are now + 10]);
>
> What would be the syntax for that? Any other way to do it?[/color]

window.moveBy(x,y) does the trick:
http://www.dse.nl/~merkerk/electroni...tab/index.html

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles