--- In overlib@yahoogroups.com, "dustin_atm_99" <dustin_atm_99@...> wrote:
>
> Is there a way to make the tooltip be positioned such that it always
> is viewable on the screen? I don't like the fact that, if someone
> hovers over a link and the link is at the bottom of the page, the
> tooltip runs off the page. I'm thinking something sorta like netflix
> (other sites do the same), where the tooltip is fairly smart and knows
> whether to position to the left or right of the mouse, and above or
> below, so that it's always visible and within the confines of the page.
>
> I'd be happy with any kind of implementation, whether it's turning on
> an option (didn't see anything in the manual), a custom javascript
> hack to the overlib.js, or even a css implementation that takes care
> of this.
>
> Thanks,
> Dustin
>
For vertical placement add this to your head section after the Core
Module has loaded:
<script type="text/javascript">
overlib_pagedefaults(VAUTO);
</script>
and this will handle your popups like you describe. For horizontal
placement you can include HAUTO too.
Bob