Hi Chris,

I did not see any problem in IE6, but I did not have your complete
code. I try to invent !!
please, give us a live test to see the problem.

--
david

On 27 fév, 07:54, Chris <c...@clicksports.de> wrote:
> Hi,
>
> I have some little problems with prototype/scripty.
>
> First I want to use a dropzone marker in a sortable (which is build
> with floating list elements), but didnt find any options for it. The
> patched version 
> athttp://tanrikut.blogspot.com/2007/06/scriptaculous-171-beta-3-repatch...,
> which is stated in the wiki is very old (Scritacolous 1.7, I currently
> use 1.8.1). Is there a easier way to go?
>
> Next I want to use a custom mouse cursor on ajax events. This is the
> custom code I use:
>
> document.observe('mousemove', setMouseCursor);
>
> // Ajax Responders
> Ajax.Responders.register({
>         onCreate: function() {
>                 if (!(Prototype.Browser.IE6 = Prototype.Browser.IE && parseInt
> (navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE") +
> 5)) == 6)) {
>                         $(document.body).addClassName('ajax');
>                         new Effect.Appear($('mousepointer'));
>                 }
>         },
>         onComplete: function() {
>                 if (!(Prototype.Browser.IE6 = Prototype.Browser.IE && parseInt
> (navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE") +
> 5)) == 6)) {
>                         new Effect.Fade($('mousepointer'));
>                         $(document.body).removeClassName('ajax');
>                 }
>         }
>
> });
>
> function setMouseCursor(e) {
>
>         if(!(Prototype.Browser.IE6=Prototype.Browser.IE && parseInt
> (navigator.userAgent.substring (navigator.userAgent.indexOf("MSIE")+5))
> ==6))
>         $('mousepointer').setStyle({
>                 left: (e.pointerX() + 13) + 'px',
>                 top: (e.pointerY() - 5) + 'px'
>         });
>
> }
>
> At the moment, I insert a new element (with id of mousepointer), which
> is styled with css to hold a background image (sort of a regular ajax
> spinner), which gets positioned next to the mouse. While this works
> fine in IE8/IE7, Firefox, Safari and Opera, IE6 just flickers around
> (You get the Hourglass first, then the custom cursor in the
> background, but the Hourglass comes back).
>
> Is there a way to fix that flickering behaviour for IE6?
>
> Thank you in advance for your replies.
>
> Greetings,
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to