> Hi all,
>
>
> Hey I want a loading image as soon as i click some button. The
> process loading image. So that when something is running in the
> background of cakephp like fetching data and all, that time it should
> show the loading image. So that peolpe will come to nw what is
> happening. and they can wait if they find a loading image.
sounds like you'll need to do this via some client side scripting in
javascript.
$(document).ready(function(){
$('#someinput').click(function(){
$(this).addClass('loading');
}
});
in css
div.loading{
background-image: url('/img/loading.gif');
}
or similar.
HTH
>
> Thanks All,
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php?hl=en
>
>
--
Mike Karthauser
Managing Director - Brightstorm Ltd
Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144 (mobile)
Fax: 0870 1320560
Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment