Hi every one,
I have got a short question. Is it possible to show a spinning gif when
clicking on a $ajax-link in cakephp when al the data in the targetdiv
is loading. this is very usefull with slow connections or a lot of
images being loaded in the div.
hope anyone knows the answer and can
Mark,
you can put in your view something like this:
?php
e($html-imageTag('loading.gif','Loading...',array('id'='spinning_image','style'='display:none')))
?
Note the id set to spinning image end the style set to
display:none so the image is not displayed as default
Then your ajax link can be:
stefano,
i should have checked the wiki better before, but thanks for the
answer, it works!
Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to