Be sure to extend the previousSibling element:

var prev = $(element).previousSibling
alert($(prev).getHeight())

- Ken

On Thu, Nov 27, 2008 at 8:53 AM, Diodeus <[EMAIL PROTECTED]> wrote:

>
> This code works in IE, bot for FF:
>
> var prev = $(element).previousSibling
> alert(prev.getHeight())
>
> In FF gives me "prev.getHeight()) is not a function.
>
> Has FF gone mad? Have I?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to