Search the web
Sign In
New User? Sign Up
overlib · Discussions regarding implementing, using and developing overLIB.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
relative positioning with overlib   Message List  
Reply | Forward Message #12331 of 12718 |
Re: relative positioning with overlib

--- In overlib@yahoogroups.com, "Robert E Boughner" <reboughner@...>
wrote:
>
> --- In overlib@yahoogroups.com, "Robert E Boughner" <reboughner@>
> wrote:
> >
> > --- In overlib@yahoogroups.com, "Brad Chandonnet" <brad@> wrote:
> > >
> > > I hope someone can help. This is my first attempt at using overlib.
> > > As I checked back for responses I noticed the warning about posting
> > > messages to quickly after registering, so I am replying in hopes
that
> > > more people will get my question. It is probably very basic,
but the
> > > solution is escaping me.
> > > Thank You,
> > > Brad
> > >

To do what you want to do, I moved the call to overlib into the head
section just before the call to urchin.js:

<script type="text/javascript" src="XX/overlib.js"></script>
<script type="text/javascript" src="XX/overlib_anchor.js"></script>

where XX is the path in your setup (also I removed the call to overlib
.js that you have later in the code) and changed the last line in your
highlight() function to:

return overlib(boxTitle, ANCHOR, star, ANCHORX, 15, ANCHORY, 15)

adjust the ANCHORX/Y values to suit you.

Bob





Mon Apr 21, 2008 6:57 pm

reboughner0718
Offline Offline
Send Email Send Email

Forward
Message #12331 of 12718 |
Expand Messages Author Sort by Date

Hello, I am attempting to anchor popups to the stars on the map of the following page. http://ssbadger.com/nmap.aspx?nicheid=8 I can use a fixed y position,...
bradleyj105
Offline Send Email
Apr 17, 2008
3:44 pm

I hope someone can help. This is my first attempt at using overlib. As I checked back for responses I noticed the warning about posting messages to quickly...
Brad Chandonnet
bradleyj105
Offline Send Email
Apr 17, 2008
8:40 pm

... Yes, you can position the popup relative to the map image by making use of the overlib_anchor.js plugin (see ...
Robert E Boughner
reboughner0718
Offline Send Email
Apr 21, 2008
5:42 pm

... on the ... to the ... You should be able to do what you want using the anchor plugin since you are using star[1...6].gif and you know the position of each...
Robert E Boughner
reboughner0718
Offline Send Email
Apr 21, 2008
5:59 pm

... that ... but the ... To do what you want to do, I moved the call to overlib into the head section just before the call to urchin.js: <script...
Robert E Boughner
reboughner0718
Offline Send Email
Apr 21, 2008
6:58 pm

Thank You! I have it working perfectly now. I will use your site for future reference; lots of good info. Thanks Again, Brad...
Brad Chandonnet
bradleyj105
Offline Send Email
Apr 21, 2008
8:08 pm

... Glad to be of help to you. Bob...
Robert E Boughner
reboughner0718
Offline Send Email
Apr 21, 2008
11:35 pm
Advanced

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