Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

displaying loading image on clicking a link or Node

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI guys,

I am using a javascript based tree structure along with framesets. I want to know how to display a gif image file containing a message "loading..." , to the user whenever he clicks a node or link in the tree structure.

Thank you.
Deepak.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can either preload the image and hide/reveal it. Or create and delete it on the fly.

Where's your code? What problems are you having with it?
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

This is my code


view frame is the frame where my pages are going to be displayed on clicking the links in the menu frame



This is my template class:




and i have a java class where i do the normal jdbc stuff to retrieve these values from the database
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64858
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic