I don't want to burst your bubble, but try different DOCTYPEs. I never got a 
js position function to work properly on all browsers and all DOCTYPEs :(
____________
Costin Manda
ECRM Europe
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Ajax.NET Professional" <[email protected]>
Sent: Thursday, August 03, 2006 3:17 PM
Subject: [ajaxpro] Re: Rendering of Autocomplete in IE vs. FF


>
> Gentlemen,
> THE PROBLEM IS SOLVED!
> we have found following workaround for the positioning problem:
>
> We use our own Y-Offset Function to calculate the vertical offset
> correct.
>
> This is the function we use in the autocomplete.js:
>
>
>  findPosY: function (obj){
>    var curtop = 0;
>    if (obj.offsetParent){
>      while (obj.offsetParent){
>        curtop += obj.offsetTop
>        obj = obj.offsetParent;
>      }
>    }
>    else if (obj.y) curtop += obj.y;
>    return curtop;
>  }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" 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/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to