Loading ...
Sorry, an error occurred while loading the content.

Position of overlib

Expand Messages
  • Matthias
    Hi I ve downloaded Version 4.21 and implemented it into my page. It basically works, but unfortunately the pic that is shown is always in the upper left part
    Message 1 of 4 , Oct 15, 2008
    • 0 Attachment
      Hi

      I've downloaded Version 4.21 and implemented it into my page.

      It basically works, but unfortunately the pic that is shown is always
      in the upper left part of the browser-window and does not follow the
      mouse or show close to the Hyperlink.

      These is the configuration of the file:
      if (typeof ol_fgcolor=='undefined') var ol_fgcolor="";
      if (typeof ol_bgcolor=='undefined') var ol_bgcolor="#800000";
      if (typeof ol_textcolor=='undefined') var ol_textcolor="#000000";
      if (typeof ol_capcolor=='undefined') var ol_capcolor="#FFFFFF";
      if (typeof ol_closecolor=='undefined') var ol_closecolor="#999999";
      if (typeof ol_textfont=='undefined') var ol_textfont="Century
      Gothic,Verdana,Arial,Helvetica";
      if (typeof ol_captionfont=='undefined') var ol_captionfont="Century
      Gothic,Verdana,Arial,Helvetica";
      if (typeof ol_closefont=='undefined') var ol_closefont="Century
      Gothic,Verdana,Arial,Helvetica";
      if (typeof ol_textsize=='undefined') var ol_textsize="1";
      if (typeof ol_captionsize=='undefined') var ol_captionsize="1";
      if (typeof ol_closesize=='undefined') var ol_closesize="1";
      if (typeof ol_width=='undefined') var ol_width="80";
      if (typeof ol_border=='undefined') var ol_border="0";
      if (typeof ol_cellpad=='undefined') var ol_cellpad=0;
      if (typeof ol_offsetx=='undefined') var ol_offsetx=10;
      if (typeof ol_offsety=='undefined') var ol_offsety=10;
      if (typeof ol_text=='undefined') var ol_text="Default Text";
      if (typeof ol_cap=='undefined') var ol_cap="";
      if (typeof ol_sticky=='undefined') var ol_sticky=0;
      if (typeof ol_background=='undefined') var ol_background="";
      if (typeof ol_close=='undefined') var ol_close="Close";
      if (typeof ol_hpos=='undefined') var ol_hpos=RIGHT;
      if (typeof ol_vpos=='undefined') var ol_vpos=BELOW;
      if (typeof ol_status=='undefined') var ol_status="";
      if (typeof ol_autostatus=='undefined') var ol_autostatus=0;
      if (typeof ol_height=='undefined') var ol_height=-1;
      if (typeof ol_snapx=='undefined') var ol_snapx=0;
      if (typeof ol_snapy=='undefined') var ol_snapy=0;
      if (typeof ol_fixx=='undefined') var ol_fixx=-1;
      if (typeof ol_fixy=='undefined') var ol_fixy=-1;
      if (typeof ol_relx=='undefined') var ol_relx=null;
      if (typeof ol_rely=='undefined') var ol_rely=null;
      if (typeof ol_fgbackground=='undefined') var ol_fgbackground="";
      if (typeof ol_bgbackground=='undefined') var ol_bgbackground="";
      if (typeof ol_padxl=='undefined') var ol_padxl=1;
      if (typeof ol_padxr=='undefined') var ol_padxr=1;
      if (typeof ol_padyt=='undefined') var ol_padyt=1;
      if (typeof ol_padyb=='undefined') var ol_padyb=1;
      if (typeof ol_fullhtml=='undefined') var ol_fullhtml=0;
      if (typeof ol_aboveheight=='undefined') var ol_aboveheight=0;
      if (typeof ol_capicon=='undefined') var ol_capicon="";
      if (typeof ol_frame=='undefined') var ol_frame=self;
      if (typeof ol_timeout=='undefined') var ol_timeout=0;
      if (typeof ol_function=='undefined') var ol_function=null;
      if (typeof ol_delay=='undefined') var ol_delay=0;
      if (typeof ol_hauto=='undefined') var ol_hauto=0;
      if (typeof ol_vauto=='undefined') var ol_vauto=0;
      if (typeof ol_closeclick=='undefined') var ol_closeclick=0;
      if (typeof ol_wrap=='undefined') var ol_wrap=0;
      if (typeof ol_followmouse=='undefined') var ol_followmouse=1;
      if (typeof ol_mouseoff=='undefined') var ol_mouseoff=0;
      if (typeof ol_closetitle=='undefined') var ol_closetitle='Close';
      if (typeof ol_compatmode=='undefined') var ol_compatmode=0;
      if (typeof ol_css=='undefined') var ol_css=CSSOFF;
      if (typeof ol_fgclass=='undefined') var ol_fgclass="";
      if (typeof ol_bgclass=='undefined') var ol_bgclass="";
      if (typeof ol_textfontclass=='undefined') var ol_textfontclass="";
      if (typeof ol_captionfontclass=='undefined') var ol_captionfontclass="";
      if (typeof ol_closefontclass=='undefined') var ol_closefontclass="";


      and that's how I call it in the link:

      <a href="#" onMouseOver="return overlib('<img
      src="/imgs/img-thb.jpg">');" onMouseOut="return nd();">

      It's the same in IE 6.0 and in FireFox 3.0

      What am I doing wrong?

      Thanks a lot in advance.

      Matthias
    • Robert E Boughner
      ... Please provide an URL to the page having problems. As for following the mouse please check the value of your FOLLOWMOUSE parameter to see that it is set
      Message 2 of 4 , Oct 20, 2008
      • 0 Attachment
        --- In overlib@yahoogroups.com, "Matthias" <matthias.karl@...> wrote:
        >
        > Hi
        >
        > I've downloaded Version 4.21 and implemented it into my page.
        >
        > It basically works, but unfortunately the pic that is shown is always
        > in the upper left part of the browser-window and does not follow the
        > mouse or show close to the Hyperlink.
        >
        > These is the configuration of the file:
        > if (typeof ol_fgcolor=='undefined') var ol_fgcolor="";
        > if (typeof ol_bgcolor=='undefined') var ol_bgcolor="#800000";
        > if (typeof ol_textcolor=='undefined') var ol_textcolor="#000000";
        > if (typeof ol_capcolor=='undefined') var ol_capcolor="#FFFFFF";
        > if (typeof ol_closecolor=='undefined') var ol_closecolor="#999999";
        > if (typeof ol_textfont=='undefined') var ol_textfont="Century
        > Gothic,Verdana,Arial,Helvetica";
        > if (typeof ol_captionfont=='undefined') var ol_captionfont="Century
        > Gothic,Verdana,Arial,Helvetica";
        > if (typeof ol_closefont=='undefined') var ol_closefont="Century
        > Gothic,Verdana,Arial,Helvetica";
        > if (typeof ol_textsize=='undefined') var ol_textsize="1";
        > if (typeof ol_captionsize=='undefined') var ol_captionsize="1";
        > if (typeof ol_closesize=='undefined') var ol_closesize="1";
        > if (typeof ol_width=='undefined') var ol_width="80";
        > if (typeof ol_border=='undefined') var ol_border="0";
        > if (typeof ol_cellpad=='undefined') var ol_cellpad=0;
        > if (typeof ol_offsetx=='undefined') var ol_offsetx=10;
        > if (typeof ol_offsety=='undefined') var ol_offsety=10;
        > if (typeof ol_text=='undefined') var ol_text="Default Text";
        > if (typeof ol_cap=='undefined') var ol_cap="";
        > if (typeof ol_sticky=='undefined') var ol_sticky=0;
        > if (typeof ol_background=='undefined') var ol_background="";
        > if (typeof ol_close=='undefined') var ol_close="Close";
        > if (typeof ol_hpos=='undefined') var ol_hpos=RIGHT;
        > if (typeof ol_vpos=='undefined') var ol_vpos=BELOW;
        > if (typeof ol_status=='undefined') var ol_status="";
        > if (typeof ol_autostatus=='undefined') var ol_autostatus=0;
        > if (typeof ol_height=='undefined') var ol_height=-1;
        > if (typeof ol_snapx=='undefined') var ol_snapx=0;
        > if (typeof ol_snapy=='undefined') var ol_snapy=0;
        > if (typeof ol_fixx=='undefined') var ol_fixx=-1;
        > if (typeof ol_fixy=='undefined') var ol_fixy=-1;
        > if (typeof ol_relx=='undefined') var ol_relx=null;
        > if (typeof ol_rely=='undefined') var ol_rely=null;
        > if (typeof ol_fgbackground=='undefined') var ol_fgbackground="";
        > if (typeof ol_bgbackground=='undefined') var ol_bgbackground="";
        > if (typeof ol_padxl=='undefined') var ol_padxl=1;
        > if (typeof ol_padxr=='undefined') var ol_padxr=1;
        > if (typeof ol_padyt=='undefined') var ol_padyt=1;
        > if (typeof ol_padyb=='undefined') var ol_padyb=1;
        > if (typeof ol_fullhtml=='undefined') var ol_fullhtml=0;
        > if (typeof ol_aboveheight=='undefined') var ol_aboveheight=0;
        > if (typeof ol_capicon=='undefined') var ol_capicon="";
        > if (typeof ol_frame=='undefined') var ol_frame=self;
        > if (typeof ol_timeout=='undefined') var ol_timeout=0;
        > if (typeof ol_function=='undefined') var ol_function=null;
        > if (typeof ol_delay=='undefined') var ol_delay=0;
        > if (typeof ol_hauto=='undefined') var ol_hauto=0;
        > if (typeof ol_vauto=='undefined') var ol_vauto=0;
        > if (typeof ol_closeclick=='undefined') var ol_closeclick=0;
        > if (typeof ol_wrap=='undefined') var ol_wrap=0;
        > if (typeof ol_followmouse=='undefined') var ol_followmouse=1;
        > if (typeof ol_mouseoff=='undefined') var ol_mouseoff=0;
        > if (typeof ol_closetitle=='undefined') var ol_closetitle='Close';
        > if (typeof ol_compatmode=='undefined') var ol_compatmode=0;
        > if (typeof ol_css=='undefined') var ol_css=CSSOFF;
        > if (typeof ol_fgclass=='undefined') var ol_fgclass="";
        > if (typeof ol_bgclass=='undefined') var ol_bgclass="";
        > if (typeof ol_textfontclass=='undefined') var ol_textfontclass="";
        > if (typeof ol_captionfontclass=='undefined') var ol_captionfontclass="";
        > if (typeof ol_closefontclass=='undefined') var ol_closefontclass="";
        >
        >
        > and that's how I call it in the link:
        >
        > <a href="#" onMouseOver="return overlib('<img
        > src="/imgs/img-thb.jpg">');" onMouseOut="return nd();">
        >
        > It's the same in IE 6.0 and in FireFox 3.0
        >
        > What am I doing wrong?
        >
        > Thanks a lot in advance.
        >
        > Matthias
        >

        Please provide an URL to the page having problems. As for following
        the mouse please check the value of your FOLLOWMOUSE parameter to see
        that it is set properly. Also if the popup appears in the upper left
        hand corner it means that your cursor position hasn't been set yet
        since the default values are mouse_x=mouse_y=0. As already mentioned
        an URL to the problem page would be most helpful.
      • Matthias
        ... Hi Thanks for your reply. I can t give you an URL, it s on an intranet. But I got the error. It somehow didn t work together with qTip, another similar
        Message 3 of 4 , Oct 21, 2008
        • 0 Attachment
          > >
          >
          > Please provide an URL to the page having problems. As for following
          > the mouse please check the value of your FOLLOWMOUSE parameter to see
          > that it is set properly. Also if the popup appears in the upper left
          > hand corner it means that your cursor position hasn't been set yet
          > since the default values are mouse_x=mouse_y=0. As already mentioned
          > an URL to the problem page would be most helpful.
          >

          Hi

          Thanks for your reply. I can't give you an URL, it's on an intranet.
          But I got the error. It somehow didn't work together with qTip,
          another similar JavaScript tool. I have removed qTip now and now it's
          working as it should.

          :)
          Matthias
        • Robert E Boughner
          ... Glad you got it to work for you. Most likely the problem is that both utilities were trying to grab the onmousemove event. You could try getting them
          Message 4 of 4 , Oct 21, 2008
          • 0 Attachment
            --- In overlib@yahoogroups.com, "Matthias" <matthias.karl@...> wrote:
            >
            > > >
            > >
            > > Please provide an URL to the page having problems. As for following
            > > the mouse please check the value of your FOLLOWMOUSE parameter to see
            > > that it is set properly. Also if the popup appears in the upper left
            > > hand corner it means that your cursor position hasn't been set yet
            > > since the default values are mouse_x=mouse_y=0. As already mentioned
            > > an URL to the problem page would be most helpful.
            > >
            >
            > Hi
            >
            > Thanks for your reply. I can't give you an URL, it's on an intranet.
            > But I got the error. It somehow didn't work together with qTip,
            > another similar JavaScript tool. I have removed qTip now and now it's
            > working as it should.
            >
            > :)
            > Matthias
            >

            Glad you got it to work for you. Most likely the problem is that both
            utilities were trying to grab the onmousemove event. You could try
            getting them both to work by making sure that overlib is loaded after
            your qTip utility because overlib checks to see if the onmousemove
            event if being captured and then daisy chains the two together.
          Your message has been successfully submitted and would be delivered to recipients shortly.