Yay, i fixed it :)
(document.viewport.getHeight() +
document.viewport.getScrollOffsets().top); did the trick.
On 14 dec, 12:00, Roland
<franssen.rol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Ok, (sorry for my bad english)
>
> Hope i can try to explain my issue.
>
> I have made a tooltip (http://www.devarea.nl/_dev/tooltip.php) When i
> scroll to the bottom, tooltips from 40 to the end (depends on your
> screensize) are shown above the element, but the viewport is big
> enough. It has something to do with the scrolloffsets i guess..
>
> Fixable?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---