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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 7681 - 7712 of 13067   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#7681 From: "Robert E Boughner" <reboughner@...>
Date: Tue Apr 6, 2004 11:46 am
Subject: Re: Thanks! (I think I narrowed the problem...)
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "Jerry" <JerryRowe@h...> wrote:
> Wow, thanks!  4.00 fixed it.  Thanks for letting me know; I wouldn't
> have known it existed, otherwise.
>
> Out of curiosity, is there any way overLIB 4.00 can replace a graphic
> for the "close" text?  Like here:
>
> http://www.macridesweb.com/oltest/STICKY.html
>
> Thanks again, Robert!
>
> --Jerry

Glad that v4.00 fixed your problems.  There were a lot of changes in
that version versus 3.51 that corrected a lot of problems and one of
those were how the mouse's position was being determined.  That got
corrected very early in the cycle.

I would say offhand that you could do the same thing that is done in
the page that you reference here but I can't say for sure since I
haven't looked at it recently.  Why don't you give it a try?

#7682 From: "Robert E Boughner" <reboughner@...>
Date: Tue Apr 6, 2004 12:02 pm
Subject: Re: Using ol_frame / FRAME with overLIB : questions
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "scscanlon" <scscanlon@y...> wrote:
> Hi, I am new to overLIB, I have been trying to get it working with
> frames with no luck, wondering if someone can tell me if this is
> correct:
>
> My frames are: page_main and page_bottom,
> I have edited overlib.js with:
>
> if (typeof ol_frame=='undefined') var ol_frame=window.page_bottom;
>
> I then use this in my href:
>
> onmouseover="return overlib('text', FRAME, windows.page_bottom);"
> onmouseout="return nd();">
>
> make a call on the page loaded in the page_bottom frame:
>
> <td height="" bgcolor="9c9c9c" width="100%" align="center"
> id="overDiv">
>
> I am wondering also if it may be how I load the .js file?
> at the top of each page...
>
> <script type="text/javascript" src="javascript/overlib.js"></script>
> <script type="text/javascript" src="javascript/overlib_crossframe.js">
> </script>
> <body>
>
> Thanks for any help, I am sure it is something small.
>
> This is all used with the latest version, and all the .js files are
> in the javascript folder.
Its not really hard.  First of all make sure you add the hash mark (#)
to all of your hexadecimal numbers like bgcolor="#9c9c9c".  I
understand that IE will work if you skip this but the newer Netscape
browsers won't since they are much more standards compliant.  Second,
you don't need to change the definition of ol_frame, generally.  In
the frame where you want the have a popup make sure you have the div
container defined -- <div id="overDiv" style="position: ...."></div>.
You'll generally also have this declaration in the frame where you
load the overlib source code.  You only have to do that in that frame.
  You don't need to load the overlib source code in the target frame.
Third, make your call as
onmouseover="return overlib('text', FRAME, parent.page_bottom);"
onmouseout="return nd();">
and see if that helps you out.  If you're still having trouble look at
  the example shown in http://overlib.boughner.us/CrossFrameStickies/
and take a look at the page source for each page.  This example has
two levels of nested frames.

#7684 From: "Robert E Boughner" <reboughner@...>
Date: Tue Apr 6, 2004 12:06 pm
Subject: Re: Separate Text file
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "t_j_soane" <yahoo_bb@s...> wrote:
> --- In overlib@yahoogroups.com, "Robert E Boughner"
> <reboughner@w...> wrote:
> > --- In overlib@yahoogroups.com, "t_j_soane" <yahoo_bb@s...> wrote:
> > > Glyn
> > >
> > > Or you could put all the link references, display text and popup
> > > material in a MySQL database and call the relevant ones from
> there
> > > on demand.  And that gives you the extra opportunity to go one
> > > better and vary the menus etc according to user, day or the
> week,
> > > whatever you like.  It makes menu editing a whole lot easier.
> > > Anyway, that's my method.
> > >
> > > Tim
> > >
> > Do you have an URL that demostrates what you're doing?  I think
> that
> > might be helpful to others in the newsgroup.
>
> I am not claiming this is pretty or fancy, but I have put up a very
> simple example of the database idea at the link below.  I have
> granted public edit rights to the 4 items, but of course one would
> want to restrict that the the webmaster in normal usage and give
> rights to add and remove items.
>
> Giving users the right to modify which menus they see would require
> a separate table to store the user id and preferences.
>
> The code is at the link below.  Apologies for my rambling amateur
> coding...
>
> http://www.soane.net/menudemo.php?action=display
>
> Tim

Thanks Tim for sharing that with the newsgroup.  I'm sure that those
who are using PHP and overlib together will find this very useful.

#7686 From: "Jerry" <JerryRowe@...>
Date: Tue Apr 6, 2004 11:06 pm
Subject: Re: Thanks! (I think I narrowed the problem...)
adoptedbyhis...
Send Email Send Email
 
I think I will give it the 'ol grad school try.
And about why I have so jolly many div items...
I am starting a really, really large website.  I am going to have
articles that I want to keep for a long time on there, and I want
them to be able to alter the formatting as much as I can.

For instance, say I want to place the headings just above and to the
left of the small blocks of text they represent?  Not too hard with
CSS.  A royal pain with tables.

Also...I saw www.csszengarden.com and got a little CSS-happy.  But I
think it is working out nicely, because I can really easily format
all sorts of stuff.  And, it seems to force me to have to learn a lot
of things I wouldn't have otherwise known.  (For instance, I now know
more about HTML & CSS than I ever thought I would.)

I'll let you know how the "replace close text with a graphic" thing
works out.

--Jerry


> Glad that v4.00 fixed your problems.  There were a lot of changes in
> that version versus 3.51 that corrected a lot of problems and one of
> those were how the mouse's position was being determined.  That got
> corrected very early in the cycle.
>
> I would say offhand that you could do the same thing that is done in
> the page that you reference here but I can't say for sure since I
> haven't looked at it recently.  Why don't you give it a try?

#7687 From: "abdulrehman1977" <abdulrehman1977@...>
Date: Wed Apr 7, 2004 7:01 am
Subject: wana position the overdev according to the object id
abdulrehman1977
Send Email Send Email
 
hello
i wana positioned the 'overDev' Layer according to object's id passed
in the function i want to incorporate it in the overlib any body can
help me. the code to bottom align the overDev is under but 1 have to
make change in the library. i know the fixx and fiyy  but the
requirment is to dynamically change the position

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
<html>

<head>
<title>Create a moving fading between HTML layers</title>

<style type="text/css">
.div1 {
	 position:absolute;
	 top:92px;
	 left:627px;
	 width:300px;
	 height:300px;
	 z-index:0;
	 background-color: #FF0000;
}
.div2
{position:absolute;top:56px;left:431px;width:98px;height:100px;z-
index:2;background-color:#000000}
.theButton {position:absolute;left:20px;top:250px;z-index:1}
.scdButton {position:absolute;left:20px;top:300px;z-index:1}
</style>

<script type="text/javascript">
var d1,d2,offsetRight;
function getElementId(obj) {return document.getElementById(obj)}

function bottomalign(obj)
  {
	 d1 = getElementId(obj)

	 offsetRight = d1.offsetLeft  + d1.offsetWidth -
overDev.offsetWidth  //To get the Rigth Co-ordinates of
object
	 d1h = d1.offsetTop
	 d1l = offsetRight
	 d1t = d1.offsetTop + d1.offsetHeight
	 overDev.style.left = d1l + "px"
	 overDev.style.top = d1t + "px"
}

</script>
</head>

<body style="height:100%">

<div id="overDev" class="div1"></div>
<div id="smallDiv" class="div2"></div>

<button class="theButton" onclick="bottomalign
('smallDiv')">Decrease</button>

</body>

</html>

#7688 From: "Robert E Boughner" <reboughner@...>
Date: Wed Apr 7, 2004 1:56 pm
Subject: Re: wana position the overdev according to the object id
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "abdulrehman1977"
<abdulrehman1977@h...> wrote:
> hello
> i wana positioned the 'overDev' Layer according to object's id passed
> in the function i want to incorporate it in the overlib any body can
> help me. the code to bottom align the overDev is under but 1 have to
> make change in the library. i know the fixx and fiyy  but the
> requirment is to dynamically change the position
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
> <html>
>
> <head>
> <title>Create a moving fading between HTML layers</title>
>
> <style type="text/css">
> .div1 {
>  position:absolute;
>  top:92px;
>  left:627px;
>  width:300px;
>  height:300px;
>  z-index:0;
>  background-color: #FF0000;
> }
> .div2
> {position:absolute;top:56px;left:431px;width:98px;height:100px;z-
> index:2;background-color:#000000}
> .theButton {position:absolute;left:20px;top:250px;z-index:1}
> .scdButton {position:absolute;left:20px;top:300px;z-index:1}
> </style>
>
> <script type="text/javascript">
> var d1,d2,offsetRight;
> function getElementId(obj) {return document.getElementById(obj)}
>
> function bottomalign(obj)
>  {
>  d1 = getElementId(obj)
>
>  offsetRight = d1.offsetLeft  + d1.offsetWidth -
> overDev.offsetWidth  //To get the Rigth Co-ordinates of
> object
>  d1h = d1.offsetTop
>  d1l = offsetRight
>  d1t = d1.offsetTop + d1.offsetHeight
>  overDev.style.left = d1l + "px"
>  overDev.style.top = d1t + "px"
> }
>
> </script>
> </head>
>
> <body style="height:100%">
>
> <div id="overDev" class="div1"></div>
> <div id="smallDiv" class="div2"></div>
>
> <button class="theButton" onclick="bottomalign
> ('smallDiv')">Decrease</button>
>
> </body>
>
> </html>

I'm not really sure what it is that you want to do but I would suggest
that you look into the RELX/Y commands that were introduced in v4.00
(http://www.bosrup.com/web/overlib/ Command Reference page).  These
commands allow one to position a popup relative to the browser window
and they accept negative values so that a negative argument to RELY
will position the popup that distance above the bottom of the browser
window.

#7689 From: "Jerry" <JerryRowe@...>
Date: Wed Apr 7, 2004 6:45 pm
Subject: Is there a mistake in overLIB 4.00?
adoptedbyhis...
Send Email Send Email
 
I was wondering if there was a mistake in the code of overLIB 4.00.

I'm not an expert, that is why I am asking. :)

When I look at the code, at line 1003, it looks like there is an
extra ' that causes the rest of the code to look like one gigantic
string.

Is that deliberate? Is it supposed to do that?

Thanks for any insight!

--Jerry Rowe

#7690 From: "Robert E Boughner" <reboughner@...>
Date: Wed Apr 7, 2004 9:47 pm
Subject: Re: Is there a mistake in overLIB 4.00?
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "Jerry" <JerryRowe@h...> wrote:
> I was wondering if there was a mistake in the code of overLIB 4.00.
>
> I'm not an expert, that is why I am asking. :)
>
> When I look at the code, at line 1003, it looks like there is an
> extra ' that causes the rest of the code to look like one gigantic
> string.
>
> Is that deliberate? Is it supposed to do that?
>
> Thanks for any insight!
>
> --Jerry Rowe

Which code are you referring to?  The Core module or one of the
plugins; the full code or the mini version?  If it is the core module
then that has been checked out and it works fine for both the full and
mini versions.

#7691 From: "Jerry" <JerryRowe@...>
Date: Thu Apr 8, 2004 12:50 am
Subject: Re: Is there a mistake in overLIB 4.00?
adoptedbyhis...
Send Email Send Email
 
Core module, 4.00, mini version.  Here's the code:


// Quotes Multi word font names; needed for CSS Standards adherence
in font-family
function quoteMultiNameFonts(theFont) {
	 var v, pM=theFont.split(',');
	 for (var i=0; i<pM.length; i++) {
		 v=pM[i];
		 v=v.replace(/^\s+/,'').replace(/\s+$/,'');
/*THIS LINE*/ if(/\s/.test(v) && !/['"]/.test(v)) {
			 v="\'"+v+"\'";
			 pM[i]=v;
		 }
	 }
	 return pM.join();
}


This just seems strange to me; I used to be able to put variables of
my own at the end of the .js file, but now I can't, because it still
thinks there is a string there, or something.

Anyway, what makest thou of this?  Am I just misunderstanding the
code?

--Jerry

#7692 From: "Abdul Rehman" <abdulrehman1977@...>
Date: Thu Apr 8, 2004 5:29 am
Subject: RE: [oL] Re: wana position the overdev according to the object id
abdulrehman1977
Send Email Send Email
 

Hello
Thanx 4 ur help
The problem is that,i m using the overDiv Layer as menu., i have a table when i placed 'overdiv' layer by giving hardcode values, after that if i change the width of the cell then by adding or removing any letter from cell then the width and height of the layer also changes so i have to change the x and y position of the overDiv layer again and again

regards

abdul rehman

*********************************************************************************

>From: "Robert E Boughner" <reboughner@...>
>Reply-To: overlib@yahoogroups.com
>To: overlib@yahoogroups.com
>Subject: [oL] Re: wana position the overdev according to the object id
>Date: Wed, 07 Apr 2004 13:56:32 -0000
>
>--- In overlib@yahoogroups.com, "abdulrehman1977"
><abdulrehman1977@h...> wrote:
> > hello
> > i wana positioned the 'overDev' Layer according to object's id passed
> > in the function i want to incorporate it in the overlib any body can
> > help me. the code to bottom align the overDev is under but 1 have to
> > make change in the library. i know the fixx and fiyy  but the
> > requirment is to dynamically change the position
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
> > <html>
> >
> > <head>
> > <title>Create a moving fading between HTML layers</title>
> >
> > <style type="text/css">
> > .div1 {
> > position:absolute;
> > top:92px;
> > left:627px;
> > width:300px;
> > height:300px;
> > z-index:0;
> > background-color: #FF0000;
> > }
> > .div2
> > {position:absolute;top:56px;left:431px;width:98px;height:100px;z-
> > index:2;background-color:#000000}
> > .theButton {position:absolute;left:20px;top:250px;z-index:1}
> > .scdButton {position:absolute;left:20px;top:300px;z-index:1}
> > </style>
> >
> > <script type="text/javascript">
> > var d1,d2,offsetRight;
> > function getElementId(obj) {return document.getElementById(obj)}
> >
> > function bottomalign(obj)
> >  {
> > d1 = getElementId(obj)
> >
> > offsetRight = d1.offsetLeft  + d1.offsetWidth -
> > overDev.offsetWidth //To get the Rigth Co-ordinates of
> > object
> > d1h = d1.offsetTop
> > d1l = offsetRight
> > d1t = d1.offsetTop + d1.offsetHeight
> > overDev.style.left = d1l + "px"
> > overDev.style.top = d1t + "px"
> > }
> >
> > </script>
> > </head>
> >
> > <body style="height:100%">
> >
> > <div id="overDev" class="div1"></div>
> > <div id="smallDiv" class="div2"></div>
> >
> > <button class="theButton" onclick="bottomalign
> > ('smallDiv')">Decrease</button>
> >
> > </body>
> >
> > </html>
>
>I'm not really sure what it is that you want to do but I would suggest
>that you look into the RELX/Y commands that were introduced in v4.00
>(http://www.bosrup.com/web/overlib/ Command Reference page).  These
>commands allow one to position a popup relative to the browser window
>and they accept negative values so that a negative argument to RELY
>will position the popup that distance above the bottom of the browser
>window.
>


The new MSN 8: smart spam protection and 2 months FREE*

#7693 From: "Robert E Boughner" <reboughner@...>
Date: Thu Apr 8, 2004 2:49 pm
Subject: Re: Is there a mistake in overLIB 4.00?
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "Jerry" <JerryRowe@h...> wrote:
> Core module, 4.00, mini version.  Here's the code:
>
>
> // Quotes Multi word font names; needed for CSS Standards adherence
> in font-family
> function quoteMultiNameFonts(theFont) {
>  var v, pM=theFont.split(',');
>  for (var i=0; i<pM.length; i++) {
> 	 v=pM[i];
> 	 v=v.replace(/^\s+/,'').replace(/\s+$/,'');
> /*THIS LINE*/ if(/\s/.test(v) && !/['"]/.test(v)) {
> 		 v="\'"+v+"\'";
> 		 pM[i]=v;
> 	 }
>  }
>  return pM.join();
> }
>
>
> This just seems strange to me; I used to be able to put variables of
> my own at the end of the .js file, but now I can't, because it still
> thinks there is a string there, or something.
>
> Anyway, what makest thou of this?  Am I just misunderstanding the
> code?
>
There is nothing wrong with that line. Those two checks are using
regular expresssions to check 1) if v has any white space (\s) and 2)
at the same time doesn't have any single or double quotes in it
(['"]).  Note that the brackets are the character class notation used
in Regular expressions.  If you are having troubles perhaps an URL to
a page that gives  you trouble would help us sort out what's going on.

#7694 From: "benerothe" <benerothe@...>
Date: Thu Apr 8, 2004 9:33 pm
Subject: Problem with STICK/MOUSEOFF on Gecko
benerothe
Send Email Send Email
 
Dear List

I have a Problem with using "overlib('text', STICKY, MOUSEOFF)"
on Gecko (Windows, Firefox/0.8) with Overlib 4.0.

I included an small example. The following steps will produce the
problem:

* Load the example with firefox
* narrow the firefox-window such that the link is not visible without
   scrolling
* scroll the content in the window such that the link becomes visible
* Click onto the link
- The Overlib-Pop-Up will appear properly
* Try to move the mouse into the Overlib-Pop-Up
- the Overlib-Pop-Up will disappear before the mouse goes into
   the Pop-Up.

In my Usecase this is quite bad, since I put Hyperlinks in the Popup
and the user cannot reach them.

My mistake? Bug in Overlib, firefox, or whatever?
Any suggestions for solution?

Heres the example:

<html>
<head>
</head>
<body>
<div
   id="overDiv"
   style="position:absolute; visibility:hidden; z-index:1000;">
</div>
<script
   src="http://localhost:8080/wwi/js/overlib.js"
   type="text/javascript"> </script>
<nobr>
TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAK\
E-LINE-LONG
<a
   href="javascript:void(0)"
   onclick="return overlib('text', STICKY, MOUSEOFF)">A LINK</a>
</nobr>
</body>
</html>

#7695 From: "Robert E Boughner" <reboughner@...>
Date: Thu Apr 8, 2004 2:37 pm
Subject: [oL] Re: wana position the overdev according to the object id
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "Abdul Rehman" <abdulrehman1977@h...>
wrote:
This is still not clear to me.  Do you have an URL to a page that is
showing your problem so that I can see what it is that you want to do?
  That would be most helpful.

#7696 From: "Robert E Boughner" <reboughner@...>
Date: Fri Apr 9, 2004 12:20 am
Subject: Re: Problem with STICK/MOUSEOFF on Gecko
reboughner0718
Send Email Send Email
 
--- In overlib@yahoogroups.com, "benerothe" <benerothe@y...> wrote:
> Dear List
>
> I have a Problem with using "overlib('text', STICKY, MOUSEOFF)"
> on Gecko (Windows, Firefox/0.8) with Overlib 4.0.
>
> I included an small example. The following steps will produce the
> problem:
>
> * Load the example with firefox
> * narrow the firefox-window such that the link is not visible without
>   scrolling
> * scroll the content in the window such that the link becomes visible
> * Click onto the link
> - The Overlib-Pop-Up will appear properly
> * Try to move the mouse into the Overlib-Pop-Up
> - the Overlib-Pop-Up will disappear before the mouse goes into
>   the Pop-Up.
>
> In my Usecase this is quite bad, since I put Hyperlinks in the Popup
> and the user cannot reach them.
>
> My mistake? Bug in Overlib, firefox, or whatever?
> Any suggestions for solution?
>
> Heres the example:
>
> <html>
> <head>
> </head>
> <body>
> <div
>   id="overDiv"
>   style="position:absolute; visibility:hidden; z-index:1000;">
> </div>
> <script
>   src="http://localhost:8080/wwi/js/overlib.js"
>   type="text/javascript"> </script>
> <nobr>
>
TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAKE-LINE-LONG-TEXT-TO-MAK\
E-LINE-LONG
> <a
>   href="javascript:void(0)"
>   onclick="return overlib('text', STICKY, MOUSEOFF)">A LINK</a>
> </nobr>
> </body>
> </html>

I'm not really sure what's going on but this problem happens in all of
the Mozilla based browsers that I have on my machine (Netscape 7.1,
Mozilla 1.6, Mozilla 1.7b, and Firefox 0.8) and on Opera 7.23. In
Firefox and Netscape 7.1 the popup goes away if you move your cursor
straight down on to the popup but if you move it to the left past the
popup and then back right so that goes into the popup, it doesn't
disappear until the cursor is just below the underline above, but
while it is still in the popup.  This appears to be associated with
the code that tends to keep the popup displayed in the window because
it would normally appear below and to the right of the cursor if it
appears in a normal location.  Have you tried adding the command LEFT
when you know that the popup will be in this position?  Of course this
problem doesn't occur in IE6.0. You may have to have a close link (and
that means a caption) and eliminate the MOUSEOFF command.

#7697 From: "Jerry Rowe" <JerryRowe@...>
Date: Fri Apr 9, 2004 4:24 am
Subject: Oy! overLIB is fine...DreamWeaver needs help!
adoptedbyhis...
Send Email Send Email
 

Oy, this is what happened:

I am using DreamWeaverMX (DWMX).  DWMX has a handy feature that updates all the links in a site when a file is moved.  This is a fantastic feature!

Except for .js files.

It *alters* .js files, making them corrupt, and unusable.  It did the same thing with overlib.js and KaosWeaver's amazingly handy little expert breadcrumbs extension.

Just a warning: Make a backup copy of any .js file you have before you move it in DWMX.  Then, move it, and let the link-updater do its thing.  Then manually replace the .js file.  That worked for me, and though it is low-tech...it gets the job done.

Thanks for helping me out with my problem!

--Jerry



Tired of spam? Get advanced junk mail protection with MSN 8.

#7698 From: "Jeremy Grasz" <jeremy@...>
Date: Fri Apr 9, 2004 5:14 am
Subject: RE: [oL] Oy! overLIB is fine...DreamWeaver needs help!
jmgrasz
Send Email Send Email
 
I had that exact same problem earlier this afternoon. It was a little irritating when it happened, and took me about a half hour to figure it out. So, moral of the story is backup before you rearrange.
--Jeremy
-----Original Message-----
From: Jerry Rowe [mailto:JerryRowe@...]
Sent: Thursday, April 08, 2004 9:25 PM
To: overlib@yahoogroups.com
Subject: [oL] Oy! overLIB is fine...DreamWeaver needs help!

Oy, this is what happened:

I am using DreamWeaverMX (DWMX).  DWMX has a handy feature that updates all the links in a site when a file is moved.  This is a fantastic feature!

Except for .js files.

It *alters* .js files, making them corrupt, and unusable.  It did the same thing with overlib.js and KaosWeaver's amazingly handy little expert breadcrumbs extension.

Just a warning: Make a backup copy of any .js file you have before you move it in DWMX.  Then, move it, and let the link-updater do its thing.  Then manually replace the .js file.  That worked for me, and though it is low-tech...it gets the job done.

Thanks for helping me out with my problem!

--Jerry



Tired of spam? Get advanced junk mail protection with MSN 8.

Homepage: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/
e: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/




#7699 From: "Abdul Rehman" <abdulrehman1977@...>
Date: Fri Apr 9, 2004 5:54 am
Subject: RE: [oL] Re: wana position the overdev according to the object id
abdulrehman1977
Send Email Send Email
 

hello

i m sending u the files there is a folder "rnd" in which i have placed a code that i actually want to do (in this file i have done it on button's click event)
now there is another folder "website" there is a file


file name  = menu2.htm

now i m faceing two problems

PROBLEM 1  : first time when the mouse is over the menu then orginally the width of the overDiv layer is zero so first time
the  layer do not display on right position i have tried it by fixing the width of the layer but i want to do it dynamically ,
i mean the library pick the width of the layer and then set the position of the overDiv layer

PROBLEM 2 : the 2nd problem is that i want to change the width of the overDiv layer on every drop down , e.g. on home the
width of the  layer is, let say 120px and on explore the width of the layer is, let say 50px and so on
the overDiv layer should get the width of the layer and adjust itself under the respective cell on the left side, the point
to get here is that i can adjust it in pixels but if i want to change the text of menus in the cell then i have to   adjust
the other menu ,(if the width of 1 cell changes then i have to change the x,y positions of others)

Regards
Abdul Rehman



>From: "Robert E Boughner" <reboughner@...>
>Reply-To: overlib@yahoogroups.com
>To: overlib@yahoogroups.com
>Subject: [oL] Re: wana position the overdev according to the object id
>Date: Thu, 08 Apr 2004 14:37:47 -0000
>
>--- In overlib@yahoogroups.com, "Abdul Rehman" <abdulrehman1977@h...>
>wrote:
>This is still not clear to me.  Do you have an URL to a page that is
>showing your problem so that I can see what it is that you want to do?
>  That would be most helpful.
>


Protect your PC - Click here for McAfee.com VirusScan Online

#7700 From: "yeahbabyjah07" <yeahbabyjah07@...>
Date: Fri Apr 9, 2004 6:26 am
Subject: Whats wrong with my code>>?
yeahbabyjah07
Send Email Send Email
 
I'll give it code for code. I can't seem to find out what is wrong
with it ): .


  .... Start of Code
   <script type="text/javascript" src="...\OverLib\overlib.js"><!--
overLIB  --></script>

<body>

<div id="overDiv" style="position:absolute; visibility:hidden; z-
index:1000;"></div>

<a href="javascript:void(0);" onmouseover="return overlib
('<b>Testing.</b>Background src= "C:\Documents and
Settings\Hammack\My Documents\My Pictures\baseball.gif");"
onmouseout="return nd();"><font size="1"
face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></font></a>

The End of the Code....

It's a testing code, but what is wrong with it?

#7701 From: "dave" <dave5@...>
Date: Fri Apr 9, 2004 6:39 am
Subject: RE: [oL] Whats wrong with my code>>?
arpoador1
Send Email Send Email
 
looks like you have double quotes nested inside double quotes and you have
an open single quote. no?
dave

-----Original Message-----
From: yeahbabyjah07 [mailto:yeahbabyjah07@...]
Sent: Thursday, April 08, 2004 11:26 PM
To: overlib@yahoogroups.com
Subject: [oL] Whats wrong with my code>>?


I'll give it code for code. I can't seem to find out what is wrong
with it ): .


  .... Start of Code
   <script type="text/javascript" src="...\OverLib\overlib.js"><!--
overLIB  --></script>

<body>

<div id="overDiv" style="position:absolute; visibility:hidden; z-
index:1000;"></div>

<a href="javascript:void(0);" onmouseover="return overlib
('<b>Testing.</b>Background src= "C:\Documents and
Settings\Hammack\My Documents\My Pictures\baseball.gif");"
onmouseout="return nd();"><font size="1"
face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></font></a>

The End of the Code....

It's a testing code, but what is wrong with it?




Homepage: http://www.bosrup.com/web/overlib/
  Archive: http://groups.yahoo.com/group/overlib/
e: http://www.bosrup.com/web/overlib/
  Archive: http://groups.yahoo.com/group/overlib/

Yahoo! Groups Links

#7702 From: Clay Leeds <cleeds@...>
Date: Fri Apr 9, 2004 2:25 pm
Subject: Re: [oL] Whats wrong with my code>>?
the_webmaestro
Send Email Send Email
 
There are other problems... As always, a link to the page where we can
all test would be helpful... see below...

On Apr 8, 2004, at 11:39 PM, dave wrote:
> looks like you have double quotes nested inside double quotes and you
> have
> an open single quote. no?
> dave
>
> -----Original Message-----
> From: yeahbabyjah07 [mailto:yeahbabyjah07@...]
> Sent: Thursday, April 08, 2004 11:26 PM
> To: overlib@yahoogroups.com
> Subject: [oL] Whats wrong with my code>>?
>
>
> I'll give it code for code. I can't seem to find out what is wrong
> with it ): .
>
>
>  .... Start of Code
> <script type="text/javascript" src="...\OverLib\overlib.js"><!--
> overLIB  --></script>
>
> <body>
>
> <p><div id="overDiv" style="position:absolute; visibility:hidden;
> z-index:1000;"></p><div>

As Dave inferred, swapping the " marks for either entity references
(e.g., ") or escaped single ' marks will help. It is also
important to have matching quote tags (note the extra ' at the end).

> <a href="javascript:void(0);" onmouseover="return
> overlib('<b>Testing.</b>Background src= \'C:\Documents and
> Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
> onmouseout="return nd();"><font size="1"
> face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><sub>News</sub></
> font></a>

CLAY BEGINS:
Another problem is that you are using \ marks instead of / marks. My
guess is that it'll work fine running under Windows, but other
operating systems may have difficulty.

Finally, if you're trying to use an image as the BACKGROUND, the proper
COMMAND and parameter usage is:

*****
overlib('Uses myPicture.jpg as the background', BACKGROUND,
'myPicture.jpg', FGCOLOR, '')
*****

Notice that the COMMAND is all caps, and that the parameter is in
quotes if it's text (numeric values should not be in quotes). If you
wanted your baseball.gif file to be the background image, it would look
like this:

*****
<a href="javascript:void(0);" onmouseover="return
overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
Settings/Hammack/My Documents/My Pictures/baseball.gif');"
onmouseout="return nd();"><font size="1"
face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><sub>News</sub></
font></a>
*****

Good luck!

Web Maestro Clay

#7703 From: "yeahbabyjah07" <yeahbabyjah07@...>
Date: Fri Apr 9, 2004 3:07 pm
Subject: Re: [oL] Whats wrong with my code>>?
yeahbabyjah07
Send Email Send Email
 
Clay,

When using your code, I get "This code contains invalid characters".

I'm very lost now.



--- In overlib@yahoogroups.com, Clay Leeds <cleeds@m...> wrote:
> There are other problems... As always, a link to the page where we
can
> all test would be helpful... see below...
>
> On Apr 8, 2004, at 11:39 PM, dave wrote:
> > looks like you have double quotes nested inside double quotes
and you
> > have
> > an open single quote. no?
> > dave
> >
> > -----Original Message-----
> > From: yeahbabyjah07 [mailto:yeahbabyjah07@y...]
> > Sent: Thursday, April 08, 2004 11:26 PM
> > To: overlib@yahoogroups.com
> > Subject: [oL] Whats wrong with my code>>?
> >
> >
> > I'll give it code for code. I can't seem to find out what is
wrong
> > with it ): .
> >
> >
> >  .... Start of Code
> > <script type="text/javascript" src="...\OverLib\overlib.js"><!--

> > overLIB  --></script>
> >
> > <body>
> >
> > <p><div id="overDiv" style="position:absolute;
visibility:hidden;
> > z-index:1000;"></p><div>
>
> As Dave inferred, swapping the " marks for either entity
references
> (e.g., ") or escaped single ' marks will help. It is also
> important to have matching quote tags (note the extra ' at the
end).
>
> > <a href="javascript:void(0);" onmouseover="return
> > overlib('<b>Testing.</b>Background src= \'C:\Documents and
> > Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
> > onmouseout="return nd();"><font size="1"
> > face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></
> > font></a>
>
> CLAY BEGINS:
> Another problem is that you are using \ marks instead of / marks.
My
> guess is that it'll work fine running under Windows, but other
> operating systems may have difficulty.
>
> Finally, if you're trying to use an image as the BACKGROUND, the
proper
> COMMAND and parameter usage is:
>
> *****
> overlib('Uses myPicture.jpg as the background', BACKGROUND,
> 'myPicture.jpg', FGCOLOR, '')
> *****
>
> Notice that the COMMAND is all caps, and that the parameter is in
> quotes if it's text (numeric values should not be in quotes). If
you
> wanted your baseball.gif file to be the background image, it would
look
> like this:
>
> *****
> <a href="javascript:void(0);" onmouseover="return
> overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
> Settings/Hammack/My Documents/My Pictures/baseball.gif');"
> onmouseout="return nd();"><font size="1"
> face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></
> font></a>
> *****
>
> Good luck!
>
> Web Maestro Clay

#7704 From: "yeahbabyjah07" <yeahbabyjah07@...>
Date: Fri Apr 9, 2004 3:19 pm
Subject: Re: [oL] Whats wrong with my code>>?
yeahbabyjah07
Send Email Send Email
 
Here is my test site for it

http://sclbaseball.freewebpage.org/index.htm



--- In overlib@yahoogroups.com, "yeahbabyjah07" <yeahbabyjah07@y...>
wrote:
> Clay,
>
> When using your code, I get "This code contains invalid
characters".
>
> I'm very lost now.
>
>
>
> --- In overlib@yahoogroups.com, Clay Leeds <cleeds@m...> wrote:
> > There are other problems... As always, a link to the page where
we
> can
> > all test would be helpful... see below...
> >
> > On Apr 8, 2004, at 11:39 PM, dave wrote:
> > > looks like you have double quotes nested inside double quotes
> and you
> > > have
> > > an open single quote. no?
> > > dave
> > >
> > > -----Original Message-----
> > > From: yeahbabyjah07 [mailto:yeahbabyjah07@y...]
> > > Sent: Thursday, April 08, 2004 11:26 PM
> > > To: overlib@yahoogroups.com
> > > Subject: [oL] Whats wrong with my code>>?
> > >
> > >
> > > I'll give it code for code. I can't seem to find out what is
> wrong
> > > with it ): .
> > >
> > >
> > >  .... Start of Code
> > > <script type="text/javascript" src="...\OverLib\overlib.js"><!-
-
>
> > > overLIB  --></script>
> > >
> > > <body>
> > >
> > > <p><div id="overDiv" style="position:absolute;
> visibility:hidden;
> > > z-index:1000;"></p><div>
> >
> > As Dave inferred, swapping the " marks for either entity
> references
> > (e.g., ") or escaped single ' marks will help. It is also
> > important to have matching quote tags (note the extra ' at the
> end).
> >
> > > <a href="javascript:void(0);" onmouseover="return
> > > overlib('<b>Testing.</b>Background src= \'C:\Documents and
> > > Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
> > > onmouseout="return nd();"><font size="1"
> > > face="Arial,Helvetica,Geneva,Swiss,SunSans-
> Regular"><sub>News</sub></
> > > font></a>
> >
> > CLAY BEGINS:
> > Another problem is that you are using \ marks instead of /
marks.
> My
> > guess is that it'll work fine running under Windows, but other
> > operating systems may have difficulty.
> >
> > Finally, if you're trying to use an image as the BACKGROUND, the
> proper
> > COMMAND and parameter usage is:
> >
> > *****
> > overlib('Uses myPicture.jpg as the background', BACKGROUND,
> > 'myPicture.jpg', FGCOLOR, '')
> > *****
> >
> > Notice that the COMMAND is all caps, and that the parameter is
in
> > quotes if it's text (numeric values should not be in quotes). If
> you
> > wanted your baseball.gif file to be the background image, it
would
> look
> > like this:
> >
> > *****
> > <a href="javascript:void(0);" onmouseover="return
> > overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
> > Settings/Hammack/My Documents/My Pictures/baseball.gif');"
> > onmouseout="return nd();"><font size="1"
> > face="Arial,Helvetica,Geneva,Swiss,SunSans-
> Regular"><sub>News</sub></
> > font></a>
> > *****
> >
> > Good luck!
> >
> > Web Maestro Clay

#7705 From: Clay Leeds <cleeds@...>
Date: Fri Apr 9, 2004 3:55 pm
Subject: Re: [oL] Whats wrong with my code>>?
the_webmaestro
Send Email Send Email
 
You're the first to indicate problems with my messages. I'll see if I
can determine something... I suspect there may be a problem with my
mail client (I'm running Mac OS X's Mail.app).

Read on...

On Apr 9, 2004, at 8:19 AM, yeahbabyjah07 wrote:
> Here is my test site for it
>
> http://sclbaseball.freewebpage.org/index.htm

That page has lots of extra, invalid HTML in it, including a couple of
<BODY>, <iframe>, etc. tags (plus two copies of the annoying banner at
the top). In addition, there's the ominous </xmp> (whatever that is)
with no opening <xmp> tag... In that same location, there are
</noscript> and </div> tags, also missing their opening tags.

As for the overlib issue, one important overlib component that's
*missing* is the overDiv div:

<div id="overDiv" style="position:absolute; visibility:hidden;
z-index:1000;"></div>

Without this, overlib won't work! Other than that, I think your overlib
popup should work well.

Hope this helps!

Web Maestro Clay

p.s. Thanks for the URL. Including that made troubleshooting *so* much
easier!

> --- In overlib@yahoogroups.com, "yeahbabyjah07" <yeahbabyjah07@y...>
> wrote:
>> Clay,
>>
>> When using your code, I get "This code contains invalid
> characters".
>>
>> I'm very lost now.
>>
>>
>>
>> --- In overlib@yahoogroups.com, Clay Leeds <cleeds@m...> wrote:
>>> There are other problems... As always, a link to the page where
> we
>> can
>>> all test would be helpful... see below...
>>>
>>> On Apr 8, 2004, at 11:39 PM, dave wrote:
>>>> looks like you have double quotes nested inside double quotes
>> and you
>>>> have
>>>> an open single quote. no?
>>>> dave
>>>>
>>>> -----Original Message-----
>>>> From: yeahbabyjah07 [mailto:yeahbabyjah07@y...]
>>>> Sent: Thursday, April 08, 2004 11:26 PM
>>>> To: overlib@yahoogroups.com
>>>> Subject: [oL] Whats wrong with my code>>?
>>>>
>>>>
>>>> I'll give it code for code. I can't seem to find out what is
>> wrong
>>>> with it ): .
>>>>
>>>>
>>>>  .... Start of Code
>>>> <RENAME_FILE_TO_USE_script type="text/javascript"
>>>> src="...\OverLib\overlib.js"><!-
> -
>>
>>>> overLIB  --></RENAME_FILE_TO_USE_script>
>>>>
>>>> <body>
>>>>
>>>> <p><div id="overDiv" style="position:absolute;
>> visibility:hidden;
>>>> z-index:1000;"></p><p><RENAME_FILE_TO_USE_div>
>>>
>>> As Dave inferred, swapping the " marks for either entity
>> references
>>> (e.g., ") or escaped single ' marks will help. It is also
>>> important to have matching quote tags (note the extra ' at the
>> end).
>>>
>>>> <a href="javascript:void(0);" onmouseover="return
>>>> overlib('<b>Testing.</b>Background src= \'C:\Documents and
>>>> Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
>>>> onmouseout="return nd();"><font size="1"
>>>> face="Arial,Helvetica,Geneva,Swiss,SunSans-
>> Regular"><sub>News</sub></
>>>> font></a>
>>>
>>> CLAY BEGINS:
>>> Another problem is that you are using \ marks instead of /
> marks.
>> My
>>> guess is that it'll work fine running under Windows, but other
>>> operating systems may have difficulty.
>>>
>>> Finally, if you're trying to use an image as the BACKGROUND, the
>> proper
>>> COMMAND and parameter usage is:
>>>
>>> *****
>>> overlib('Uses myPicture.jpg as the background', BACKGROUND,
>>> 'myPicture.jpg', FGCOLOR, '')
>>> *****
>>>
>>> Notice that the COMMAND is all caps, and that the parameter is
> in
>>> quotes if it's text (numeric values should not be in quotes). If
>> you
>>> wanted your baseball.gif file to be the background image, it
> would
>> look
>>> like this:
>>>
>>> *****
>>> <a href="javascript:void(0);" onmouseover="return
>>> overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
>>> Settings/Hammack/My Documents/My Pictures/baseball.gif');"
>>> onmouseout="return nd();"><font size="1"
>>> face="Arial,Helvetica,Geneva,Swiss,SunSans-
>> Regular"><sub>News</sub></
>>> font></a>
>>> *****
>>>
>>> Good luck!
>>>
>>> Web Maestro Clay

#7706 From: Dennis Sandow <dsandow@...>
Date: Fri Apr 9, 2004 4:05 pm
Subject: Re: [oL] Whats wrong with my code>>?
dsandow
Send Email Send Email
 

1.  As Clay pointed out, you need to insert the overdiv layer tag immediately after the <body....> tag
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
2.  You need to get the following statement all onto one line.  When you copied Clay's earlier suggestion, you left a line-feed after the word 'return' - in the middle of the double quoted string
onmouseover="return overlib('<b>Testing.</b>',BACKGROUND, 'http://sclbaseball.freewebpage.org/baseball.gif');"
3.  BACKGROUND is usually a poor choice.  The image clips and/or tiles depending on the amount of text in the popup.  You probably want to use FGBACKGROUND or BGBACKGROUND  To use the full image as a background, read the Images and Backgrounds Treatment tutorials.
4. All the extra crap that Clay observed is stuffed by freewebpage.org.  Somebody has to pay, and that is done by the commercials.  If you are serious about building a web page, pay for a real server account.  That said, the ads and all the extra tags Clay refers to do NOT affect the overlib display after #1 and #2 above are corrected.

Dennis

------------------------------------

Clay Leeds wrote:
You're the first to indicate problems with my messages. I'll see if I can determine something... I suspect there may be a problem with my mail client (I'm running Mac OS X's Mail.app).
Read on...
On Apr 9, 2004, at 8:19 AM, yeahbabyjah07 wrote:
Here is my test site for it
http://sclbaseball.freewebpage.org/index.htm

That page has lots of extra, invalid HTML in it, including a couple of <BODY>, <iframe>, etc. tags (plus two copies of the annoying banner at the top). In addition, there's the ominous </xmp> (whatever that is) with no opening <xmp> tag... In that same location, there are </noscript> and </div> tags, also missing their opening tags.
As for the overlib issue, one important overlib component that's *missing* is the overDiv div:
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
Without this, overlib won't work! Other than that, I think your overlib popup should work well.
Hope this helps!
Web Maestro Clay
p.s. Thanks for the URL. Including that made troubleshooting *so* much easier!
--- In overlib@yahoogroups.com, "yeahbabyjah07" <yeahbabyjah07@y...>
wrote:
Clay,
When using your code, I get "This code contains invalid
characters".
I'm very lost now.
--- In overlib@yahoogroups.com, Clay Leeds <cleeds@m...> wrote:
There are other problems... As always, a link to the page where
we
can
all test would be helpful... see below...
On Apr 8, 2004, at 11:39 PM, dave wrote:
looks like you have double quotes nested inside double quotes
and you
have
an open single quote. no?
dave
-----Original Message-----
From: yeahbabyjah07 [mailto:yeahbabyjah07@y...]
Sent: Thursday, April 08, 2004 11:26 PM
To: overlib@yahoogroups.com
Subject: [oL] Whats wrong with my code>>?
I'll give it code for code. I can't seem to find out what is
wrong
with it ): .
.... Start of Code
<RENAME_FILE_TO_USE_script type="text/javascript" src="...\OverLib\overlib.js"><!-
-
overLIB --></RENAME_FILE_TO_USE_script>
<body>
<p><div id="overDiv" style="position:absolute;
visibility:hidden;
z-index:1000;"></p><p><RENAME_FILE_TO_USE_div>
As Dave inferred, swapping the " marks for either entity
references
(e.g., &quot;) or escaped single ' marks will help. It is also
important to have matching quote tags (note the extra ' at the
end).
<a href="javascript:void(0);" onmouseover="return
overlib('<b>Testing.</b>Background src= \'C:\Documents and
Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
onmouseout="return nd();"><font size="1"
face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></
font></a>
CLAY BEGINS:
Another problem is that you are using \ marks instead of /
marks.
My
guess is that it'll work fine running under Windows, but other
operating systems may have difficulty.
Finally, if you're trying to use an image as the BACKGROUND, the
proper
COMMAND and parameter usage is:
*****
overlib('Uses myPicture.jpg as the background', BACKGROUND,
'myPicture.jpg', FGCOLOR, '')
*****
Notice that the COMMAND is all caps, and that the parameter is
in
quotes if it's text (numeric values should not be in quotes). If
you
wanted your baseball.gif file to be the background image, it
would
look
like this:
*****
<a href="javascript:void(0);" onmouseover="return
overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
Settings/Hammack/My Documents/My Pictures/baseball.gif');"
onmouseout="return nd();"><font size="1"
face="Arial,Helvetica,Geneva,Swiss,SunSans-
Regular"><sub>News</sub></
font></a>
*****
Good luck!
Web Maestro Clay

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/edFolB/TM
---------------------------------------------------------------------~->
Homepage: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/
e: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/overlib/
<*> To unsubscribe from this group, send an email to:
overlib-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/


#7707 From: "yeahbabyjah07" <yeahbabyjah07@...>
Date: Fri Apr 9, 2004 4:15 pm
Subject: Re: [oL] Whats wrong with my code>>?
yeahbabyjah07
Send Email Send Email
 
Thank You.

I'm in the middle of purchasing a domain and stuff. This was just a
test site.

-Josh


--- In overlib@yahoogroups.com, Dennis Sandow <dsandow@g...> wrote:
>
> 1.  As Clay pointed out, you need to insert the overdiv layer tag
> immediately after the <body....> tag
>
>     <div id="overDiv" style="position:absolute; visibility:hidden;
>     z-index:1000;"></div>
>
> 2.  You need to get the following statement all onto one line.
When you
> copied Clay's earlier suggestion, you left a line-feed after the
word
> 'return' - in the middle of the double quoted string
>
>     onmouseover="return overlib('<b>Testing.</b>',BACKGROUND,
>     'http://sclbaseball.freewebpage.org/baseball.gif');"
>
> 3.  BACKGROUND is usually a poor choice.  The image clips and/or
tiles
> depending on the amount of text in the popup.  You probably want
to use
> FGBACKGROUND or BGBACKGROUND  To use the full image as a
background,
> read the Images and Backgrounds Treatment tutorials.
>
>     * http://users.tellurian.net/sandow/overlib/images.htm  - Item
#9
>     * http://users.tellurian.net/sandow/overlib/backgrnd.htm   -
Items
>       #5 and #8, and "Does Not work Well" #2 .
>
> 4. All the extra crap that Clay observed is stuffed by
freewebpage.org.
>  Somebody has to pay, and that is done by the commercials.  If you
are
> serious about building a web page, pay for a real server account.
That
> said, the ads and all the extra tags Clay refers to do NOT affect
the
> overlib display after #1 and #2 above are corrected.
>
> Dennis
>
> ------------------------------------
>
> Clay Leeds wrote:
>
> >You're the first to indicate problems with my messages. I'll see
if I
> >can determine something... I suspect there may be a problem with
my
> >mail client (I'm running Mac OS X's Mail.app).
> >
> >Read on...
> >
> >On Apr 9, 2004, at 8:19 AM, yeahbabyjah07 wrote:
> >
> >
> >>Here is my test site for it
> >>
> >>http://sclbaseball.freewebpage.org/index.htm
> >>
> >>
> >
> >That page has lots of extra, invalid HTML in it, including a
couple of
> ><BODY>, <iframe>, etc. tags (plus two copies of the annoying
banner at
> >the top). In addition, there's the ominous </xmp> (whatever that
is)
> >with no opening <xmp> tag... In that same location, there are
> ></noscript> and </div> tags, also missing their opening tags.
> >
> >As for the overlib issue, one important overlib component that's
> >*missing* is the overDiv div:
> >
> ><div id="overDiv" style="position:absolute; visibility:hidden;
> >z-index:1000;"></div>
> >
> >Without this, overlib won't work! Other than that, I think your
overlib
> >popup should work well.
> >
> >Hope this helps!
> >
> >Web Maestro Clay
> >
> >p.s. Thanks for the URL. Including that made troubleshooting *so*
much
> >easier!
> >
> >
> >
> >>--- In overlib@yahoogroups.com, "yeahbabyjah07"
<yeahbabyjah07@y...>
> >>wrote:
> >>
> >>
> >>>Clay,
> >>>
> >>>When using your code, I get "This code contains invalid
> >>>
> >>>
> >>characters".
> >>
> >>
> >>>I'm very lost now.
> >>>
> >>>
> >>>
> >>>--- In overlib@yahoogroups.com, Clay Leeds <cleeds@m...> wrote:
> >>>
> >>>
> >>>>There are other problems... As always, a link to the page where
> >>>>
> >>>>
> >>we
> >>
> >>
> >>>can
> >>>
> >>>
> >>>>all test would be helpful... see below...
> >>>>
> >>>>On Apr 8, 2004, at 11:39 PM, dave wrote:
> >>>>
> >>>>
> >>>>>looks like you have double quotes nested inside double quotes
> >>>>>
> >>>>>
> >>>and you
> >>>
> >>>
> >>>>>have
> >>>>>an open single quote. no?
> >>>>>dave
> >>>>>
> >>>>>-----Original Message-----
> >>>>>From: yeahbabyjah07 [mailto:yeahbabyjah07@y...]
> >>>>>Sent: Thursday, April 08, 2004 11:26 PM
> >>>>>To: overlib@yahoogroups.com
> >>>>>Subject: [oL] Whats wrong with my code>>?
> >>>>>
> >>>>>
> >>>>>I'll give it code for code. I can't seem to find out what is
> >>>>>
> >>>>>
> >>>wrong
> >>>
> >>>
> >>>>>with it ): .
> >>>>>
> >>>>>
> >>>>> .... Start of Code
> >>>>><RENAME_FILE_TO_USE_script type="text/javascript"
> >>>>>src="...\OverLib\overlib.js"><!-
> >>>>>
> >>>>>
> >>-
> >>
> >>
> >>>>>overLIB  --></RENAME_FILE_TO_USE_script>
> >>>>>
> >>>>><body>
> >>>>>
> >>>>><p><div id="overDiv" style="position:absolute;
> >>>>>
> >>>>>
> >>>visibility:hidden;
> >>>
> >>>
> >>>>>z-index:1000;"></p><p><RENAME_FILE_TO_USE_div>
> >>>>>
> >>>>>
> >>>>As Dave inferred, swapping the " marks for either entity
> >>>>
> >>>>
> >>>references
> >>>
> >>>
> >>>>(e.g., ") or escaped single ' marks will help. It is also
> >>>>important to have matching quote tags (note the extra ' at the
> >>>>
> >>>>
> >>>end).
> >>>
> >>>
> >>>>><a href="javascript:void(0);" onmouseover="return
> >>>>>overlib('<b>Testing.</b>Background src= \'C:\Documents and
> >>>>>Settings\Hammack\My Documents\My Pictures\baseball.gif\'');"
> >>>>>onmouseout="return nd();"><font size="1"
> >>>>>face="Arial,Helvetica,Geneva,Swiss,SunSans-
> >>>>>
> >>>>>
> >>>Regular"><sub>News</sub></
> >>>
> >>>
> >>>>>font></a>
> >>>>>
> >>>>>
> >>>>CLAY BEGINS:
> >>>>Another problem is that you are using \ marks instead of /
> >>>>
> >>>>
> >>marks.
> >>
> >>
> >>>My
> >>>
> >>>
> >>>>guess is that it'll work fine running under Windows, but other
> >>>>operating systems may have difficulty.
> >>>>
> >>>>Finally, if you're trying to use an image as the BACKGROUND,
the
> >>>>
> >>>>
> >>>proper
> >>>
> >>>
> >>>>COMMAND and parameter usage is:
> >>>>
> >>>>*****
> >>>>overlib('Uses myPicture.jpg as the background', BACKGROUND,
> >>>>'myPicture.jpg', FGCOLOR, '')
> >>>>*****
> >>>>
> >>>>Notice that the COMMAND is all caps, and that the parameter is
> >>>>
> >>>>
> >>in
> >>
> >>
> >>>>quotes if it's text (numeric values should not be in quotes).
If
> >>>>
> >>>>
> >>>you
> >>>
> >>>
> >>>>wanted your baseball.gif file to be the background image, it
> >>>>
> >>>>
> >>would
> >>
> >>
> >>>look
> >>>
> >>>
> >>>>like this:
> >>>>
> >>>>*****
> >>>><a href="javascript:void(0);" onmouseover="return
> >>>>overlib('<b>Testing.</b>',BACKGROUND, 'C:/Documents and
> >>>>Settings/Hammack/My Documents/My Pictures/baseball.gif');"
> >>>>onmouseout="return nd();"><font size="1"
> >>>>face="Arial,Helvetica,Geneva,Swiss,SunSans-
> >>>>
> >>>>
> >>>Regular"><sub>News</sub></
> >>>
> >>>
> >>>>font></a>
> >>>>*****
> >>>>
> >>>>Good luck!
> >>>>
> >>>>Web Maestro Clay
> >>>>
> >>>>
> >
> >
> >
> >
> >Homepage: http://www.bosrup.com/web/overlib/
> > Archive: http://groups.yahoo.com/group/overlib/
> >e: http://www.bosrup.com/web/overlib/
> > Archive: http://groups.yahoo.com/group/overlib/
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >

#7708 From: "Willy" <willy7395@...>
Date: Fri Apr 9, 2004 4:47 pm
Subject: Re: [oL] Whats wrong with my code>>?
willy7395
Send Email Send Email
 
I found I had to add the HEIGHT,161,WIDTH,159 to the code to make it work for me.
*****snip*****
<body>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<a href="javascript:void(0);" onmouseover="return overlib('',BACKGROUND,'http://sclbaseball.freewebpage.org/baseball.gif',HEIGHT,159,WIDTH,161);" 
onmouseout="return nd();"><font size="1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><sub>News</sub></
font></a>
*****snip*****
W
----- Original Message -----
From: Clay Leeds
Sent: Friday, April 09, 2004 8:55 AM
Subject: Re: [oL] Whats wrong with my code>>?

You're the first to indicate problems with my messages. I'll see if I
can determine something... I suspect there may be a problem with my
mail client (I'm running Mac OS X's Mail.app).

Read on...

On Apr 9, 2004, at 8:19 AM, yeahbabyjah07 wrote:
> Here is my test site for it
>
> http://sclbaseball.freewebpage.org/index.htm


#7709 From: "forgaria01" <Forgaria@...>
Date: Sat Apr 10, 2004 3:33 pm
Subject: Images ?
forgaria01
Send Email Send Email
 
Hello !

I just can't view any images in the popup, here is my code :

<a href="javascript:void(0);" onMouseOver="return overlib('Les news !
Elles ne sont pas classées (pour montrer nos véléeité bordéliques et
pour plaire aux jeunes (ouais on est des rebelles(remarquez la
parenthese dans la parenthese dans la parenthese, une figure de style
très moderne))) mais on peut les commenter en cliquant sur...
Commentaires (ben oui, on peut pas être original partout non plus) !
Passons en revu les troupes chargés de remplir cette
rubrique :<br><br>Webmaster<br><br><img="images/forgaria.gif">Forgaria
', STICKY, CAPTION, 'NewsDealer', CLOSECLICK, CLOSETEXT, 'Fermer',
FGCOLOR, '#a7b6c8', BGCOLOR, '#8594a6', TEXTCOLOR, '#eef3fa',
CAPCOLOR, '#b20000', CLOSECOLOR, '#b20000', CELLPAD, 4, 4);"
onMouseOut="return nd();">

Thx !

#7710 From: "Willy" <willy7395@...>
Date: Sat Apr 10, 2004 4:05 pm
Subject: Re: [oL] Images ?
willy7395
Send Email Send Email
 
<a href="javascript:void(0);" onmouseover="return overlib('Les news ! Elles ne sont pas classées (pour montrer nos véléeité bordéliques et pour plaire aux jeunes (ouais on est des rebelles(remarquez la parenthese dans la parenthese dans la parenthese, une figure de style très moderne))) mais on peut les commenter en cliquant sur... Commentaires (ben oui, on peut pas être original partout non plus) !Passons en revu les troupes chargés de remplir cette rubrique :<br><br>Webmaster<br><br>,<img src=images/forgaria.gif>',WIDTH,295,HEIGHT,159, STICKY, CAPTION, 'NewsDealer', CLOSECLICK, CLOSETEXT, 'Fermer', FGCOLOR, '#a7b6c8', BGCOLOR, '#8594a6', TEXTCOLOR, '#eef3fa', CAPCOLOR, '#b20000', CLOSECOLOR, '#b20000');"
onmouseout="return nd();">Forgaria</a>
 
The above works for me.
W
 
----- Original Message -----
From: forgaria01
Sent: Saturday, April 10, 2004 8:33 AM
Subject: [oL] Images ?

Hello !

I just can't view any images in the popup, here is my code :

<a href="javascript:void(0);" onMouseOver="return overlib('Les news !
Elles ne sont pas classées (pour montrer nos véléeité bordéliques et
pour plaire aux jeunes (ouais on est des rebelles(remarquez la
parenthese dans la parenthese dans la parenthese, une figure de style
très moderne))) mais on peut les commenter en cliquant sur...
Commentaires (ben oui, on peut pas être original partout non plus) !
Passons en revu les troupes chargés de remplir cette
rubrique :<br><br>Webmaster<br><br><img="images/forgaria.gif">Forgaria
', STICKY, CAPTION, 'NewsDealer', CLOSECLICK, CLOSETEXT, 'Fermer',
FGCOLOR, '#a7b6c8', BGCOLOR, '#8594a6', TEXTCOLOR, '#eef3fa',
CAPCOLOR, '#b20000', CLOSECOLOR, '#b20000', CELLPAD, 4, 4);"
onMouseOut="return nd();">

Thx !



Homepage: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/
e: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/




#7711 From: "Hallvord Reiar Michaelsen Steen" <hallvors@...>
Date: Sat Apr 10, 2004 4:08 pm
Subject: overlib and Opera's "Identify as.." feature
hallvors
Send Email Send Email
 
Hi,
I work for Opera Software and a user has complained to us about the
"tooltips" on article links on www.idg.se not being correctly placed
if Opera's "Identify as.." feature is set to something else than
Internet Explorer. The site is using overlib and I checked whether
things work better on your home page (which I presume is using the
latest version). Actually, the version running on the overlib home
page breaks when identifying as Opera because the function to find
the browser version will not return the expected array if the visitor
is not using IE:

var versNum = parseFloat((navigator.userAgent.match(/MSIE
(\d\.\d+)\.*/i))[1]);

The version on idg.se works generally well but fails to add the
scroll offset to the o3_y variable if the browser is not detected as
IE5:

if (ie5) {o3_x=eval('event.x+o3_frame.'+docRoot+'.scrollLeft');
o3_y=eval('event.y+o3_frame.'+docRoot+'.scrollTop');}

I recommend that you simply detect Opera as IE consistently and avoid
the need for further branching of the code, since there isn't
anything in the IE version Opera can't handle, and test with
different browser identification settings to ensure the detection is
sound.

Thanks for reading :-) Feel free to ask me if you have any questions
about Opera-compatibility.

P.S. If I should contact IDG.se directly and ask them to make changes
to their copy just tell me so. It would perhaps be simpler for them
to upgrade to a new version if you implemented some fixes but I don't
know if or how much they have changed the script themselves..
--
Hallvord Reiar Michaelsen Steen
hallvors@... / www.hallvord.com

#7712 From: "Willy" <willy7395@...>
Date: Sat Apr 10, 2004 4:23 pm
Subject: Re: [oL] Images ?
willy7395
Send Email Send Email
 
<a href="javascript:void(0);" onmouseover="return overlib('Les news ! Elles ne sont pas classées (pour montrer nos véléeité bordéliques et pour plaire aux jeunes (ouais on est des rebelles(remarquez la parenthese dans la parenthese dans la parenthese, une figure de style très moderne))) mais on peut les commenter en cliquant sur... Commentaires (ben oui, on peut pas être original partout non plus) !Passons en revu les troupes chargés de remplir cette rubrique :<br><br>Webmaster<br><br>,<img src=images/forgaria.gif>', STICKY, CAPTION, 'NewsDealer', CLOSECLICK, CLOSETEXT, 'Fermer', FGCOLOR, '#a7b6c8', BGCOLOR, '#8594a6', TEXTCOLOR, '#eef3fa', CAPCOLOR, '#b20000', CLOSECOLOR, '#b20000',CELLPAD, 40,40);"
onmouseout="return nd();">Forgaria</a>
 
This maybe better.... put the cellpad back in and the height / width out.
W
----- Original Message -----
From: forgaria01
Sent: Saturday, April 10, 2004 8:33 AM
Subject: [oL] Images ?

Hello !

I just can't view any images in the popup, here is my code :

<a href="javascript:void(0);" onMouseOver="return overlib('Les news !
Elles ne sont pas classées (pour montrer nos véléeité bordéliques et
pour plaire aux jeunes (ouais on est des rebelles(remarquez la
parenthese dans la parenthese dans la parenthese, une figure de style
très moderne))) mais on peut les commenter en cliquant sur...
Commentaires (ben oui, on peut pas être original partout non plus) !
Passons en revu les troupes chargés de remplir cette
rubrique :<br><br>Webmaster<br><br><img="images/forgaria.gif">Forgaria
', STICKY, CAPTION, 'NewsDealer', CLOSECLICK, CLOSETEXT, 'Fermer',
FGCOLOR, '#a7b6c8', BGCOLOR, '#8594a6', TEXTCOLOR, '#eef3fa',
CAPCOLOR, '#b20000', CLOSECOLOR, '#b20000', CELLPAD, 4, 4);"
onMouseOut="return nd();">

Thx !



Homepage: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/
e: http://www.bosrup.com/web/overlib/
Archive: http://groups.yahoo.com/group/overlib/




Messages 7681 - 7712 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