Skip to search.
overlib · Discussions regarding implementing, using and developing overLIB.

Group Information

  • Members: 1097
  • Category: JavaScript
  • Founded: Nov 15, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
overlib tooltip running off the screen   Message List  
Reply Message #10961 of 13039 |
Re: overlib tooltip running off the screen

--- 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







Mon Aug 7, 2006 11:05 am

reboughner0718
Offline Offline
Send Email Send Email

Message #10961 of 13039 |
Expand Messages Author Sort by Date

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...
dustin_atm_99 Offline Send Email Aug 7, 2006
3:31 am

... For vertical placement add this to your head section after the Core Module has loaded: <script type="text/javascript"> overlib_pagedefaults(VAUTO); ...
Robert E Boughner
reboughner0718 Offline Send Email
Aug 7, 2006
11:16 am

This tip is so useful, it deserves a more prominent place in the documentation. Especially, since without both VAUTO and HAUTO overlib_pagedefaults(VAUTO,...
margieroswell Offline Send Email Oct 12, 2006
3:00 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help