• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Hourglass while the jsp page loads

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm using frames in my jsp. the left side frame consists of navigational links and the right side frame is the target frame. when a user clicks on any of the links in the left side frame, i wanted an hourglass to be shown, in the right side frame, as cursor until the page gets fully loaded inside the right side frame. somebody please help get the solution for this..
thanX in advance,
raju
 
Sheriff
Posts: 67645
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I personally do not think it can be done (since during load, there's nothing to attach a CSS attribute to), but in any case, it's not a JSP question. So off to the HTML/Javascript forum.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not 100% this would work, but

You would call this script when something was clicked.
Then you would call the script again onload of the page that is loading.
Eric
 
Raju Vemula
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,
I used the code that you have given as directed, and as you said it doesn't work 100%. what's happening is, when i click on any link in my left frame the hourglass appears until the new page is loaded in my right frame, but it is loaded the cursor in the right frame got changed back to auto, but the cursor in the left frame still shows the hourglass only. pls let me know if you have any other idea, how to go about this one?
thanX for your code, anyhow.
raju
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you might be able to solve the problem by adding
<body style="cursor:wait" onload="parent.FrameName.changeCursor()">
The FrameName is where the script is kept
Not 100% sure!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic