Wednesday, February 25, 2009

Re: AJAX rendering text

I believe it's the opacity change that makes IE text jaggedy.

There might be a "proper" workaround but try these:

* Make sure the element you're fading has an opaque background colour
* Try fading an overlay element to mask the text, rather that fading
the text itself

I ran into this a while ago and one of them worked, can't remember
which though

hth
grigri

On Feb 24, 7:17 pm, WidePixels <d...@widepixels.com> wrote:
> Does anyone know how to get rid of the text rendering in steps in IE?
> When I update a DIV everything works correctly but the text is
> rendered all jagged then after a second it "snaps" in an looks
> correct. I saw a page on the web about it but now can not find it.
>
> link code:
>
> <?php echo $ajax->link('update', '/users/update_profile/' .$user
> ['User']['slug'].'',
>                  array('update' => 'user_div',
>                                            //'class' => 'edit_btn',
>                                            'loading'=> 'Element.show(\'frame_load\'); new Effect.Opacity
> (\'user_div\' , { from: 1, to: 0 })',
>                                            'loaded'=> 'new Effect.Opacity(\'user_div\' , { from: 0, to:
> 1 })',
>                                            'complete' => 'Element.hide(\'frame_load\'); Element.show
> (\'user_div\')'
>         ,null, FALSE)); ?>
--~--~---------~--~----~------------~-------~--~----~
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: