I have the following which works, but when the user is more ' & lt; A & gt;
tags (although styled as a button) then puts a loading GIIF inside it, but from then on the user clicks on the button then the image starts appearing. About 1 second that looks ugly.
It seems that it removes the internal HTML, has an idea and then populates the image. Can it take time to find an image or something?
& lt; Script type = "text / javascript" & gt; / * & Lt ;! [CDATA [* / $ (document) .ready (function () {$ ('# blogEntryList #moreLink') live ("click", function () {$ (this) .html ("& lt; img src = '.. .. .. / content / _layout / images / ajax-loader.gif' / & gt; "); returning;});}); / *]] & Gt; * / & Lt; / Script & gt;
If all the code is, then it seems that time to take its time The image will look.
It would be better to load the hidden image, and then show / hide it when necessary
Comments
Post a Comment