I am having hard time finding a way to display a loading image in a Div right next to a control they have clicked while waiting for a request.I am using a UpdateProgress Bar but it is supposed to be placed at a certain place on the page.I want to display it next to any control they select.Just like how it is on Facebook.
Share
Closest thing I can think of is a absolute positioned div which is placed next to each element. However it doesn’t seem too valid since if the loading thingie is to the right of every progress link, it might overlap etc.
I’m quite sure that Facebook made all these progress bars prepositioned and hidden, and not just one div for all of them.
I guess you could try something like:
Basicly this would save positions on every
<a>you press and use those positions for the progress div.Simply call the javascript function progress_thingie() and send a TRUE or FALSE to it, depending on if it’s loading or done.