NetTalk Central

Author Topic: 'Hour Glass' options for long-running server code  (Read 3079 times)

Keith

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
    • Email
'Hour Glass' options for long-running server code
« on: October 20, 2013, 12:27:55 PM »
I have a client side process which runs for 6 seconds before returning.  While the server-side code is running I get a circular 'thing' in the very bottom right hand corner of the screen which rotates and indicates that one should be patient.  However, it would be nicer if the cursor could be changed to the traditional hour glass since that would be much more obvious.

Are there NT options to control the look of the cursor, or another solution?

Thanks

Keith
Clarion 10.0.0 build 12799
NetTalk 9.31
StringTheory 2.65
InsightGraphing 2.27

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: 'Hour Glass' options for long-running server code
« Reply #1 on: October 20, 2013, 04:21:41 PM »
Hi Keith,

There sure are!

In the NT Webserver template, "Settings" -> "Styles" -> "Site", then look for the "Busy Image" field.

You can put your own custom gif / whatever in there.

You can also either use the "Busy Div Class" given, or put in your own, and then in a custom css file change the options for WHERE the busy gif will display.

IE, for one of mine, which is a loading bar, I have:

Code: [Select]
.nt-busy { float:right; width:126; height:22px; z-index:5000; left: 50%; top: 50%;  margin-top: 0px; margin-left: 0px; position:fixed; }

This works for custom popup windows (the z-index).
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 'Hour Glass' options for long-running server code
« Reply #2 on: October 20, 2013, 10:12:16 PM »
what Stu says is true!
There's also a longer explanation of this in the updated (2nd edition) of the NetTalk book. http://www.capesoft.com/books/nettalk/home.htm

cheers
Bruce