Peter De Berdt wrote:
> On 04 Sep 2009, at 15:20, Heinz Strunk wrote:
>
>> Thanks, I'll give it a try. I actually just wanna show the user that
>> his
>> mouseclick is being processed so he doesn't get confused if it takes a
>> bit longer and clicks again. Wouldn't mind to show some "Loading..."
>> text either...
>
> Go to ajaxload.info, pick a nice little cursor. Then in your html,
> just put something like:
>
> <div id="ajax-loader" style="display:none;">Loading...</div>
>
> Style it so that the background image is that loader gif, indent the
> text with -5000px. Then just use $('ajax-loader').show() and $('ajax-
> loader').hide().
>
Yup, the classic Fahrner Image Replacement trick. Although in this case
it's probably unnecessary; an img with alt text would probably work just
as well.
>
> Best regards
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
>
> Peter De Berdt
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---