Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

overlib · Discussions regarding implementing, using and developing overLIB.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1701
  • 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

Advanced
Messages Help
Messages 12935 - 12968 of 13067   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#12935 From: "kronos47" <luisfmourapereira@...>
Date: Sat Jan 29, 2011 8:56 pm
Subject: Call overlib with no handler. Is it possible?
kronos47
Send Email Send Email
 
Please help,

I need a call to overlib without <a>, <div> and onLoad.

This is a case of a 3 level, 4 level,... menus. Level 1 and 2 are normal and
modal popup menus (working fine), level 3,... are (like 2 level menu) modal
popups with html content controled by php and mysql.

onLoad excluded because level 3 menu popups before page end.

#12936 From: "kronos47" <luisfmourapereira@...>
Date: Sat Jan 29, 2011 10:56 pm
Subject: Re: Call overlib with no handler. Is it possible?
kronos47
Send Email Send Email
 
--- In overlib@yahoogroups.com, "kronos47" <luisfmourapereira@...> wrote:
>
> Please help,
>
> I need a call to overlib without <a>, <div> and onLoad.
>
> This is a case of a 3 level, 4 level,... menus. Level 1 and 2 are normal and
modal popup menus (working fine), level 3,... are (like 2 level menu) modal
popups with html content controled by php and mysql.
>
> onLoad excluded because level 3 menu popups before page end.
>

Got it, I think...

<body>
.....
.....
<script type="text/javascript">
       window.onload(overlib(ActionMenu, MODAL, MODALCOLOR,'#4488dd',
MODALOPACITY,60, MODALSCROLL, MODALCLICK, CAPTION,'Play With This Form',
CGCLASS,'olraisedBlue', CLOSETEXT,closeimgBlue, CLOSECLICK, CLOSETITLE,'Close',
CAPTIONPADDING,4, TEXTPADDING,0, BGCLASS,'olbgD', CAPTIONFONTCLASS,'olcapD',
FGCLASS,'olfgD', TEXTFONTCLASS,'oltxtD', SHADOW, SHADOWCOLOR,'#113377',
SHADOWOPACITY,40, WRAP, STICKY, SCROLL, MIDX,0, MIDY,0));
</script>
</body>

#12937 From: sawgata roy <sawgata_cool@...>
Date: Mon Jan 31, 2011 7:23 am
Subject: Re: [oL] Re: Call overlib with no handler. Is it possible?
sawgata_cool
Send Email Send Email
 

You can try with this overlib function

and for dropdown menu u can check this




From: kronos47 <luisfmourapereira@...>
To: overlib@yahoogroups.com
Sent: Sun, 30 January, 2011 4:26:55 AM
Subject: [oL] Re: Call overlib with no handler. Is it possible?

 



--- In overlib@yahoogroups.com, "kronos47" <luisfmourapereira@...> wrote:
>
> Please help,
>
> I need a call to overlib without <a>, <div> and onLoad.
>
> This is a case of a 3 level, 4 level,... menus. Level 1 and 2 are normal and modal popup menus (working fine), level 3,... are (like 2 level menu) modal popups with html content controled by php and mysql.
>
> onLoad excluded because level 3 menu popups before page end.
>

Got it, I think...

<body>
.....
.....
<script type="text/javascript">
window.onload(overlib(ActionMenu, MODAL, MODALCOLOR,'#4488dd', MODALOPACITY,60, MODALSCROLL, MODALCLICK, CAPTION,'Play With This Form', CGCLASS,'olraisedBlue', CLOSETEXT,closeimgBlue, CLOSECLICK, CLOSETITLE,'Close', CAPTIONPADDING,4, TEXTPADDING,0, BGCLASS,'olbgD', CAPTIONFONTCLASS,'olcapD', FGCLASS,'olfgD', TEXTFONTCLASS,'oltxtD', SHADOW, SHADOWCOLOR,'#113377', SHADOWOPACITY,40, WRAP, STICKY, SCROLL, MIDX,0, MIDY,0));
</script>
</body>



#12938 From: "ced.rouille" <ced.rouille@...>
Date: Wed Mar 9, 2011 10:51 am
Subject: Problem with IE7 + DOCTYPE + Windows popup
ced.rouille
Send Email Send Email
 

Hello,

 

Sorry for my bad english, I'm french.

 

Context :

Browser : IE7

Location of HTML code : in a Windows popup with a DOCTYPE like this :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

Handler :

<span onmouseover="javascript: return overlib('<?=$desc?>', WIDTH, 400)" onmouseout="javascript: return nd()"><?=$ligne[1]?></span>

 

$desc variable contains long text, so overlib popup exceeds the lower edge of popup window.

When I move cursor (so overlib popup) to the right, it collides the right edge of window. At this time, IE7 browser crashes ! I have to kill it. (see attachment)

 

If I switch <!DOCTYPE html…> to simple <html> tag, I have no problem.

 

The problem occurs only on IE7 (Good in Firefox, Chrome, Safari, Opera, IE6 and IE8).

 

Thank you for your response.


Cédric


#12940 From: "markelainelandry" <markelainelandry@...>
Date: Thu Mar 24, 2011 8:39 pm
Subject: using javascript in overLIB popup
markelainela...
Send Email Send Email
 
Hi,
Community Builder (a community extension for Joomla!) is using overLIB in one of
it's profile button options.

I'm trying to use javascript in a page that's opened by overLIB but can't get
anything to work - seems like there's some kind of conflict.

I've verified that my JS is working elsewhere and I've tried calling the JS
variables within the popup page and outside of it, all the way down to the
Joomla template - no dice.

Is there something special I need to know about using JS inside a popup or is it
absolutely not possible?

Thanx for your help

Mark

#12941 From: "reboughner0718" <rboughner1@...>
Date: Fri Mar 25, 2011 3:21 pm
Subject: Re: using javascript in overLIB popup
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "markelainelandry" <markelainelandry@...> wrote:
>
> Hi,
> Community Builder (a community extension for Joomla!) is using overLIB in one
of it's profile button options.
>
> I'm trying to use javascript in a page that's opened by overLIB but can't get
anything to work - seems like there's some kind of conflict.
>
> I've verified that my JS is working elsewhere and I've tried calling the JS
variables within the popup page and outside of it, all the way down to the
Joomla template - no dice.
>
> Is there something special I need to know about using JS inside a popup or is
it absolutely not possible?
>
> Thanx for your help
>
> Mark
>

Mark,

Try loading your version of overLIB last.  It is programmed so that if some
other program is capturing the onmousemove event, then it will daisy chain it to
the mousemove routine that overLIB uses.  If that doesn't work then please post
an URL to the page giving you problems so that we can see what is going on.

#12942 From: "franktrennwaelder" <franktrennwaelder@...>
Date: Wed Mar 30, 2011 11:36 am
Subject: align left
franktrennwa...
Send Email Send Email
 
Hello!

Is it possible to align the text to the left in the OverLib-popups (to avoid the
default center alignement)?

#12943 From: Frank Trennwaelder <franktrennwaelder@...>
Date: Wed Mar 30, 2011 11:40 am
Subject: align left
franktrennwa...
Send Email Send Email
 
Hello!

Does anyone know if is it possible to align the text to the left in the OverLib-popups (to avoid the default center alignement)?

#12944 From: "reboughner0718" <rboughner1@...>
Date: Wed Mar 30, 2011 2:32 pm
Subject: Re: align left
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, Frank Trennwaelder <franktrennwaelder@...>
wrote:
>
> Hello!
>
> Does anyone know if is it possible to align the text to the left in the
> OverLib-popups (to avoid the default center alignement)?
>

Text within an overLIB popup shouldn't be center aligned unless you're possibly
using an earlier version of IE and have used text-align: center; rule.  If that
is your case, then you use a custom class for your body text in which you
specifically call for a text-align: left; to override this situation.

#12945 From: Frank Trennwaelder <franktrennwaelder@...>
Date: Wed Mar 30, 2011 2:52 pm
Subject: Re: [oL] Re: align left
franktrennwa...
Send Email Send Email
 
That was is - I had a text-align: center; in the body .. Thanks!


From: reboughner0718 <rboughner1@...>
To: overlib@yahoogroups.com
Sent: Wed, March 30, 2011 4:32:17 PM
Subject: [oL] Re: align left

 



--- In overlib@yahoogroups.com, Frank Trennwaelder <franktrennwaelder@...> wrote:
>
> Hello!
>
> Does anyone know if is it possible to align the text to the left in the
> OverLib-popups (to avoid the default center alignement)?
>

Text within an overLIB popup shouldn't be center aligned unless you're possibly using an earlier version of IE and have used text-align: center; rule. If that is your case, then you use a custom class for your body text in which you specifically call for a text-align: left; to override this situation.


#12946 From: "franktrennwaelder" <franktrennwaelder@...>
Date: Wed Mar 30, 2011 12:51 pm
Subject: align left
franktrennwa...
Send Email Send Email
 
Hello!

Does anyone know if it is possible to align the text to the left in the
OverLib-popups (to avoid the default center alignement)?

#12947 From: zheyin li <zheyin99@...>
Date: Thu Mar 31, 2011 3:59 pm
Subject: Overlib FF 4.0 support
zheyin99
Send Email Send Email
 
HI,

Does anybody know if overlib is updated for FF 4.0? My FF toolbar extension use Overlib and it starts breaking on FF 4.0. The error is "Component is not available", and thrown from over.onclick

function opt_NOCLOSE(unused) {
...
over.onclick = function () {              
                           hoveringSwitch = true;
                           if (o3_timerid > 0) {
                               clearTimeout(o3_timerid);
                               o3_timerid =0;
                           }
...

It looks like FF does not allow function assignment? Could anybody shed some light on this?

Thanks,
Grace

#12948 From: "reboughner0718" <rboughner1@...>
Date: Thu Mar 31, 2011 8:35 pm
Subject: Re: Overlib FF 4.0 support
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, zheyin li <zheyin99@...> wrote:
>
> HI,
>
> Does anybody know if overlib is updated for FF 4.0? My FF toolbar extension
use Overlib and it starts breaking on FF 4.0. The error is "Component is not
available", and thrown from over.onclick
>
> function opt_NOCLOSE(unused) {
> ...
> over.onclick = function () {              
>                            hoveringSwitch = true;
>                            if (o3_timerid > 0) {
>                                clearTimeout(o3_timerid);
>                                o3_timerid =0;
>                            }
> ...
>
> It looks like FF does not allow function assignment? Could anybody shed some
light on this?
>
> Thanks,
> Grace
>

Grace,

Nothing has been done to overLIB since FF4.0 has been released.  Can you provide
an URL to the page that is giving you problems so that I can look at in FF4.0?

#12949 From: Liam <smotrinamenya@...>
Date: Tue Apr 12, 2011 12:57 pm
Subject: Syntax for relative image file location?
smotrinamenya
Send Email Send Email
 
I am able to display an image in an overlib popup using this syntax:
<a href="javascript:void(0)" onmouseover="return overlib('', BACKGROUND, 'imagename.png',HEIGHT,425,WIDTH,818)" onMouseOut="nd();">
 
but I have not been able to determine the correct syntax for an image in a folder in a relative location - neither
 
'.\foldername\imagename.png'
 
nor
 
'\foldername\imagename.png'
 
is working. Any suggestions would be appreciated.
 

#12950 From: "reboughner0718" <rboughner1@...>
Date: Tue Apr 12, 2011 3:09 pm
Subject: Re: Syntax for relative image file location?
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, Liam <smotrinamenya@...> wrote:
>
> I am able to display an image in an overlib popup using this syntax:
> <a href="javascript:void(0)" onmouseover="return overlib('', BACKGROUND,
'imagename.png',HEIGHT,425,WIDTH,818)" onMouseOut="nd();">
>  
> but I have not been able to determine the correct syntax for an image in a
folder in a relative location - neither
>  
> '.\foldername\imagename.png'
>  
> nor
>  
> '\foldername\imagename.png'
>  
> is working. Any suggestions would be appreciated.
>  
>
Try using a forward slash instead.  If the folder is in the same directory with
the HTML file then you would address it as:

'foldername/imagename.png'

if its one folder up from where the HTML file is located then you would use

'../foldername/imagename.png'

#12951 From: Dick Rhindress <dick.rhindress@...>
Date: Tue Apr 12, 2011 3:36 pm
Subject: Re: [oL] Syntax for relative image file location?
rmdesign3t
Send Email Send Email
 
Relative folder naming may need "../foldername/filename" or even "../../foldername/filename" depending on where the folder is located if the folder is back toward the root.  "./foldername/filename" starts with the current folder and branches from there.

You might want to look at the code on my pages; I do this frequently for folders that are back to the root and even out other branches.  You might get some insight there.

http://stephentown-historical.org/cardfile/card/j/2wa1ca78j.html look at the red square under the picture and the picture itself and the Info dot above.


-RcR

Woke up from slumber just recently to realize that the world is made up of atoms 'n' molecules, waves of sound 'n' light ... not just pixels on a computer monitor...


On Tue, Apr 12, 2011 at 8:57 AM, Liam <smotrinamenya@...> wrote:
 

I am able to display an image in an overlib popup using this syntax:
<a href="javascript:void(0)" onmouseover="return overlib('', BACKGROUND, 'imagename.png',HEIGHT,425,WIDTH,818)" onMouseOut="nd();">
 
but I have not been able to determine the correct syntax for an image in a folder in a relative location - neither
 
'.\foldername\imagename.png'
 
nor
 
'\foldername\imagename.png'
 
is working. Any suggestions would be appreciated.
 



#12952 From: "smotrinamenya" <smotrinamenya@...>
Date: Tue Apr 12, 2011 4:10 pm
Subject: Re: [oL] Syntax for relative image file location?
smotrinamenya
Send Email Send Email
 
Richard, Robert -

It looks like the backslashes in my OL (vs. forward) were the problem. I knew it
was simple, but I wasn't seeing it.

Thanks!
Dave

--- In overlib@yahoogroups.com, Dick Rhindress <dick.rhindress@...> wrote:
>
> Relative folder naming may need "../foldername/filename" or even
> "../../foldername/filename" depending on where the folder is located if the
> folder is back toward the root.  "./foldername/filename" starts with the
> current folder and branches from there.
>
> You might want to look at the code on my pages; I do this frequently for
> folders that are back to the root and even out other branches.  You might
> get some insight there.
>
> http://stephentown-historical.org/cardfile/card/j/2wa1ca78j.html look at the
> red square under the picture and the picture itself and the Info dot above.
>
> http://stephentown-historical.org/images/cg/st016photos.html check the
> buttons under the photos.
>
> -RcR
>
> *Woke up from slumber just recently to realize that the world is made up of
> atoms 'n' molecules, waves of sound 'n' light ... not just pixels on a
> computer monitor... *
>
>
> On Tue, Apr 12, 2011 at 8:57 AM, Liam <smotrinamenya@...> wrote:
>
> >
> >
> > I am able to display an image in an overlib popup using this syntax:
> > <a href="javascript:void(0)" onmouseover="return overlib('', BACKGROUND,
> > 'imagename.png',HEIGHT,425,WIDTH,818)" onMouseOut="nd();">
> >
> > but I have not been able to determine the correct syntax for an image in a
> > folder in a relative location - neither
> >
> > '.\foldername\imagename.png'
> >
> > nor
> >
> > '\foldername\imagename.png'
> >
> > is working. Any suggestions would be appreciated.
> >
> >
> >
> >
>

#12953 From: "Edcey" <edusa2000@...>
Date: Wed Apr 27, 2011 2:39 pm
Subject: Tip or Box shows an inch away from the mouse cursor when the page is scroll all
Edcey
Send Email Send Email
 
Hi,

   Tip or Box shows an inch away from the mouse cursor when the page is scroll
the way up, but if i scroll down, the box shows pretty close to the cursor. This
happens in IE 7. This works  fine in IE8

Thanks

Keep me posted.

#12954 From: "Edcey" <edusa2000@...>
Date: Wed Apr 27, 2011 5:27 pm
Subject: Re: Tip or Box shows an inch away from the mouse cursor when the page is scroll all
Edcey
Send Email Send Email
 
Updated:

    FYI, in IE 7, tootips shows about an inch away from the cursor. in Firefox,
chrome looks great. So remedy the problem i Added overlib('This changes the
x-offset to 0', OFFSETX, 185)and that gets close to the cursor, but here's
another issue, if i move the image to teh top, then the tooltip moves again.

PLEASE how to fix this?


--- In overlib@yahoogroups.com, "Edcey" <edusa2000@...> wrote:
>
> Hi,
>
>   Tip or Box shows an inch away from the mouse cursor when the page is scroll
the way up, but if i scroll down, the box shows pretty close to the cursor. This
happens in IE 7. This works  fine in IE8
>
> Thanks
>
> Keep me posted.
>

#12956 From: "VernonM" <vernonmorris1@...>
Date: Fri Jun 3, 2011 9:39 am
Subject: Overlib and Google +1 javascript conflict
vernonmorris1
Send Email Send Email
 
Anyone noticed that overlib kills Google +1 javascript code--actually the latter
kills overlib ;) . Just wondering if anyone has noticed this, or even better,
has modded overlib to work with the new Google +1 button code.

Here's a simple demo illustrated the problem :
http://www.mathwarehouse.com/testing/javascript.html

This page only has 1 overlib mouseover action and the Google +1 button.

#12957 From: "reboughner0718" <rboughner1@...>
Date: Fri Jun 3, 2011 9:26 pm
Subject: Re: Overlib and Google +1 javascript conflict
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "VernonM" <vernonmorris1@...> wrote:
>
> Anyone noticed that overlib kills Google +1 javascript code--actually the
latter kills overlib ;) . Just wondering if anyone has noticed this, or even
better, has modded overlib to work with the new Google +1 button code.
>
> Here's a simple demo illustrated the problem :
http://www.mathwarehouse.com/testing/javascript.html
>
> This page only has 1 overlib mouseover action and the Google +1 button.
>

When I looked at this page in Opera 11.11, I didn't see any effect at all.  Both
google+1 and overlib seemed to work okay for me.

#12959 From: "VernonM" <vernonmorris1@...>
Date: Sat Jun 4, 2011 8:38 am
Subject: Re: Overlib and Google +1 javascript conflict
vernonmorris1
Send Email Send Email
 
Yeah it doesn't throw errors in Opera.
But i've tested it with multiple computers (vista, xp and windows 7) using
Mozilla and Internet explorer--both of these browser throw an error that breaks
javascript code. Try running it with Firebug to see the error count that you
get.



Vern

--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, "VernonM" <vernonmorris1@> wrote:
> >
> > Anyone noticed that overlib kills Google +1 javascript code--actually the
latter kills overlib ;) . Just wondering if anyone has noticed this, or even
better, has modded overlib to work with the new Google +1 button code.
> >
> > Here's a simple demo illustrated the problem :
http://www.mathwarehouse.com/testing/javascript.html
> >
> > This page only has 1 overlib mouseover action and the Google +1 button.
> >
>
> When I looked at this page in Opera 11.11, I didn't see any effect at all. 
Both google+1 and overlib seemed to work okay for me.
>

#12960 From: "reboughner0718" <rboughner1@...>
Date: Mon Jun 6, 2011 7:40 pm
Subject: Re: Overlib and Google +1 javascript conflict
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "VernonM" <vernonmorris1@...> wrote:
>
> Yeah it doesn't throw errors in Opera.
> But i've tested it with multiple computers (vista, xp and windows 7) using
Mozilla and Internet explorer--both of these browser throw an error that breaks
javascript code. Try running it with Firebug to see the error count that you
get.
>
>
>
Actually,  it does throw an error in Opera 11.11 and I've isolated it to
something in the plusone.js code that is doing it.  By removing that call from
your file, the test file runs without error.

#12961 From: "greenangel9" <greenangel9@...>
Date: Fri Jun 10, 2011 4:16 pm
Subject: Re: Overlib and Google +1 javascript conflict
greenangel9
Send Email Send Email
 
I am new to the group and I found the group because of the overlib and Google +1
conflict. Has anyone come up with a solution for this issue?
Terri

--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, "VernonM" <vernonmorris1@> wrote:
> >
> > Yeah it doesn't throw errors in Opera.
> > But i've tested it with multiple computers (vista, xp and windows 7) using
Mozilla and Internet explorer--both of these browser throw an error that breaks
javascript code. Try running it with Firebug to see the error count that you
get.
> >
> >
> >
> Actually,  it does throw an error in Opera 11.11 and I've isolated it to
something in the plusone.js code that is doing it.  By removing that call from
your file, the test file runs without error.
>

#12962 From: "VernonM" <vernonmorris1@...>
Date: Fri Jun 10, 2011 10:49 pm
Subject: Re: Overlib and Google +1 javascript conflict
vernonmorris1
Send Email Send Email
 
unfortunately, the only solution I have is to not use both of them on the same
page :( Since overlib is so embedded in our websites, that means no google +1
for now.


--- In overlib@yahoogroups.com, "greenangel9" <greenangel9@...> wrote:
>
> I am new to the group and I found the group because of the overlib and Google
+1 conflict. Has anyone come up with a solution for this issue?
> Terri
>
> --- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@> wrote:
> >
> >
> >
> > --- In overlib@yahoogroups.com, "VernonM" <vernonmorris1@> wrote:
> > >
> > > Yeah it doesn't throw errors in Opera.
> > > But i've tested it with multiple computers (vista, xp and windows 7) using
Mozilla and Internet explorer--both of these browser throw an error that breaks
javascript code. Try running it with Firebug to see the error count that you
get.
> > >
> > >
> > >
> > Actually,  it does throw an error in Opera 11.11 and I've isolated it to
something in the plusone.js code that is doing it.  By removing that call from
your file, the test file runs without error.
> >
>

#12963 From: "rechmbrs" <rfchmbrs@...>
Date: Wed Jun 15, 2011 12:25 am
Subject: WIDTH equal to zero
rechmbrs
Send Email Send Email
 
Is there a way to handle WIDTH = 0 and not get a 1 character box?  I'd really
like in this case to have a box with 0 line width.

Thanks,
RON C

#12964 From: "reboughner0718" <rboughner1@...>
Date: Wed Jun 15, 2011 11:22 pm
Subject: Re: WIDTH equal to zero
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "rechmbrs" <rfchmbrs@...> wrote:
>
> Is there a way to handle WIDTH = 0 and not get a 1 character box?  I'd really
like in this case to have a box with 0 line width.
>
> Thanks,
> RON C
>


Could you please be a little more specific on what it is that you want?  I don't
understand your original question.

#12966 From: "rikkilee1986" <rikki.hares@...>
Date: Tue Jul 19, 2011 4:34 pm
Subject: Overlib center popup
rikkilee1986
Send Email Send Email
 
Hi

firstly great javascript library! very new to all this but the way all this has
been documented has made using this a walk in the park!

i do seem to have a slight issue with the overlib_centerpopup plugin though...
at least i think its that plugin?

on this page

http://213.229.123.30/~emmahcou/Shapewear

the picture to the far right and far left work perfectly but the one in the
middle filckers and it seems that the script keeps reloading for some reason?

could any one be so kind to send some suggestions my way as im stumped

thanks in advance

#12967 From: "reboughner0718" <rboughner1@...>
Date: Fri Jul 22, 2011 11:02 pm
Subject: Re: Overlib center popup
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "rikkilee1986" <rikki.hares@...> wrote:
>
> Hi
>
> firstly great javascript library! very new to all this but the way all this
has been documented has made using this a walk in the park!
>
> i do seem to have a slight issue with the overlib_centerpopup plugin though...
at least i think its that plugin?
>
> on this page
>
> http://213.229.123.30/~emmahcou/Shapewear
>
> the picture to the far right and far left work perfectly but the one in the
middle filckers and it seems that the script keeps reloading for some reason?
>
> could any one be so kind to send some suggestions my way as im stumped
>
> thanks in advance
>


That's to be expected.  What happens is that the middle link get covered by the
popup which then fires a mouseout and the popup goes away then it uncovers the
link again and reshows the popup.  To eliminate that behavior make that one
sticky popup or add a reasonable amount of time to the nd() command.

#12968 From: "smotrinamenya" <smotrinamenya@...>
Date: Mon Aug 8, 2011 1:35 pm
Subject: OverLib syntax error?
smotrinamenya
Send Email Send Email
 

This works correctly:

<area shape="rect" coords="650,117,660,127" href="javascript:void(0);"onmouseover="return overlib('<span class=nrm><b>Note: Completed</b><hr><b>Start: </b>9/26/2011<br><b>Finish: </b>10/7/2011</span>', CAPTION, 'Milestone 3103');" onmouseout="return nd();"onmousemove ="self.status='Milestone 3103'; return true"'></A>

but this version, which embeds a table, does not (the table contents and all of the OL code that follows the table is displayed at the bottom of the html page):

<area shape="rect" coords="344,117,354,127" href="javascript:void(0);"onmouseover="return overlib('<table><tr><td>5pxred</td></tr></table>', CAPTION, 'Milestone 3091');" onmouseout="return nd();"onmousemove ="self.status='Milestone 3091'; return true"'></A>

I can't see the difference between the two, but since the html is displaying the OL code it obviously doesn't know what to do with it. I have stared at this for hours and I can't spot the error (I have another application that embeds OL code with html tables in JavaScript functions and it works correctly; the html for the embedded tables there is identical to the table html in the problem application).

Any assistance would be appreciated. Thanks


Messages 12935 - 12968 of 13067   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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