If you want to try to be as consistent as possible on the feel, time
the call and subtract it from your fake delay...  Drop delay if
calltime exceeds delay.

On Mon, Aug 24, 2009 at 9:46 AM, Brendon Kozlowski
(Realm)<[email protected]> wrote:
>
> It is an ironic time when developers ask for a way to SLOW the
> response time.  If the user interaction interface you have chosen is
> not the most appropriate, perhaps a different route would be more
> desirable, such as flashing the background color once the action
> completes, or flashing a "completed" text somewhere.  Keep in mind
> that some people might be using a Satellite, or slow DSL connection
> (or, *gasp*, a telephone line!) to connect to your website, so it
> won't be as blazingly fast for them.
>
> If you still want to do what you're looking for, you might want to use
> a timer, in cooperation with something like this:
> http://www.sean.co.uk/a/webdesign/javascriptdelay.shtm
>
> On Aug 22, 9:43 am, Shaun <[email protected]> wrote:
>> I have a star rating system.  After a user clicks on a star, the
>> database is updated with the user's rating.  However, the processing
>> time is rather fast and ajax-loader.gif is displayed for less than a
>> second.  Is there a way to force a delay before $options['complete']
>> is called?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to