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

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

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

Messages

  Messages Help
Advanced
Messages 12690 - 12729 of 12729   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#12690 From: "James B. Tidwell" <james.tidwell@...>
Date: Fri Jul 24, 2009 3:48 am
Subject: RE: [oL] Re: List items in popup menu
gabulldawg1
Offline Offline
Send Email Send Email
 

Not 100% sure if this is what you are seeking.  I use the popup menus and here is an example of how I make the text the same size.  Not sure how up to date my overlib is, but hope this helps.

 

What I doing here creating links to two different SharePoint sites, sorting them by Desc Date.

 

<a href="javascript:void(0);" onmouseout="nd(); return true;" onclick="return overlib('<a href=http://expresspmo.web.fedex.com/GTS/gts/c4a/arimonthlyrecap/Forms/AllItems.aspx?SortField=LinkFilename&SortDir=Desc target=_blank>Customer Automation Overages</a><br><a href=http://expresspmo.web.fedex.com/GTS/gts/c4a/Manifest_Accuracy_Reports/Forms/AllItems.aspx?SortField=LinkFilename&SortDir=Desc target=_blank>Manifest Accuracy Reports</a><br>',STICKY,CAPTION,'Drilldowns',ABOVE,LEFT,WIDTH,'165',CLOSECLICK); return true;" class="smtext">

                Overages and Manifest Accuracy Reports</a>

 

 

James Tidwell

C4-Operations

GENESIS/ARI Sr Command and Control Analyst

3650 Hacks Cross Road

Building E 3rd Floor, Room 3045

Memphis, TN 38125-8800

901-434-3286

james.tidwell@...

 

The man who does not read good books has no advantage
over the man who cannot read them.
--Mark Twain

 


From: overlib@yahoogroups.com [mailto:overlib@yahoogroups.com] On Behalf Of Robert E Boughner
Sent: Thursday, July 23, 2009 10:28 AM
To: overlib@yahoogroups.com
Subject: [oL] Re: List items in popup menu

 

 

--- In overlib@yahoogroups.com, "Donna" <donna_artis@...> wrote:
>
> Firstly, I'd like to say that this scripting is awesome.
>
> Secondly, my question:
>
> I would like to add a list item in the popup menu, but when I do this, the font style changes from the rest of the text. The size of the text is bigger and the font that is used is different.
>
> Can anyone provide me with the coding that is to be inserted in order for the list items to have the same font style/size as the rest of the text in the popup box.
>
> Regards,
>
> Donna
>

Do you have an URL to the page in question? That would be helpful to see what is going on. Second, check any style rules that are targeting UL,LI etc as they will also affect what is present in your popup box. If that is in fact what is happening the easiest way to fix it is to use a custom class for the TEXTFONTCLASS which covers the text in the popup.


#12692 From: "negatedvoid" <mattfinn@...>
Date: Mon Aug 3, 2009 2:56 am
Subject: Overlib waiting for content to load?
negatedvoid
Offline Offline
Send Email Send Email
 
I've got a page with a couple images that are slow to load (and a couple
different popups). None of the tooltips seem to work until after all the images
have loaded. Is there a way to make them work without waiting?

#12693 From: "Robert E Boughner" <rboughner1@...>
Date: Mon Aug 3, 2009 2:44 pm
Subject: Re: Overlib waiting for content to load?
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "negatedvoid" <mattfinn@...> wrote:
>
> I've got a page with a couple images that are slow to load (and a couple
different popups). None of the tooltips seem to work until after all the images
have loaded. Is there a way to make them work without waiting?
>

That was done by design.  To help the situation change the variable olLoaded=0
to olLoaded=1 which will eliminate that restriction.

#12694 From: "gmnospam" <glenn_man@...>
Date: Thu Aug 6, 2009 7:55 pm
Subject: Re: ie6 bug with overlib above dropdowb
gmnospam
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "nirfri" <nirfri@...> wrote:
> there is a known bug with ie6 and divs above dropdown
> http://www.google.com/search?hl=en&q=ie6+overlapping+select

There is an official plugin named Hide Form which handles this:
http://www.bosrup.com/web/overlib/?Plugin_-_Hideform

Just load the plugin after the main overlib file
and everything is handled automatically.
No other special code or commands are needed.

#12695 From: "ldsheridan" <ldsheridan@...>
Date: Wed Sep 2, 2009 3:30 pm
Subject: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
Not sure what I"m doing wrong but I can't get draggable working.  It's at
http://sfbsc.net/kb/ under the Welcome text is "Click here for help"

#12696 From: "ldsheridan" <ldsheridan@...>
Date: Thu Sep 3, 2009 12:01 am
Subject: Re: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> Not sure what I"m doing wrong but I can't get draggable working.  It's at
http://sfbsc.net/kb/ under the Welcome text is "Click here for help"


<tap> <tap> Hello?  Is this thing on?

#12697 From: "reboughner0718" <rboughner1@...>
Date: Thu Sep 3, 2009 12:17 am
Subject: Re: Draggable not dragging
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> --- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@> wrote:
> >
> > Not sure what I"m doing wrong but I can't get draggable working.  It's at
http://sfbsc.net/kb/ under the Welcome text is "Click here for help"
>
>
> <tap> <tap> Hello?  Is this thing on?
>


Yes, it is on.  Right off hand I don't see what is causing your problem. Just
where do you get your body text and caption from?

#12698 From: Dennis Sheridan <ldsheridan@...>
Date: Thu Sep 3, 2009 12:29 am
Subject: Re: [oL] Re: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
Ah, thank you. It wasn't until I sent my 2nd message that I saw your warning about not sending mail for an hour after joining. So my apologies.

I put the caption and body text in ol_text and ol_cap -
if (typeof ol_text=='undefined') var ol_text="<b>First, registered users have access to more features and content than non-registered users... [rest deleted]."
if (typeof ol_cap=='undefined') var ol_cap="<b>This window will stay open until you close it</b>";

I got the same behaviour when I replaced overlib4.21 with 4.23 and had not configured the script yet. It did not occur to me to test with the text elsewhere.


On Wed, Sep 2, 2009 at 5:17 PM, reboughner0718 <rboughner1@...> wrote:
 

--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> --- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@> wrote:
> >
> > Not sure what I"m doing wrong but I can't get draggable working. It's at http://sfbsc.net/kb/ under the Welcome text is "Click here for help"
>
>
> <tap> <tap> Hello? Is this thing on?
>

Yes, it is on. Right off hand I don't see what is causing your problem. Just where do you get your body text and caption from?



#12699 From: "ldsheridan" <ldsheridan@...>
Date: Thu Sep 3, 2009 1:56 am
Subject: [oL] Re: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
Ok, I have tried INARRAY and CAPARRAY as well.  Still doesn't drag.

#12700 From: Dennis Sheridan <ldsheridan@...>
Date: Thu Sep 3, 2009 1:30 am
Subject: Re: [oL] Re: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
Ok, I have tried INARRAY and CAPARRAY as well.  Still doesn't drag.



On Wed, Sep 2, 2009 at 5:17 PM, reboughner0718 <rboughner1@...> wrote:
 

--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> --- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@> wrote:
> >
> > Not sure what I"m doing wrong but I can't get draggable working. It's at http://sfbsc.net/kb/ under the Welcome text is "Click here for help"
>
>
> <tap> <tap> Hello? Is this thing on?
>

Yes, it is on. Right off hand I don't see what is causing your problem. Just where do you get your body text and caption from?



#12701 From: "reboughner0718" <rboughner1@...>
Date: Thu Sep 3, 2009 3:50 pm
Subject: Re: Draggable not dragging
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> Ok, I have tried INARRAY and CAPARRAY as well.  Still doesn't drag.
>


When I look at your page in Firefox 3.0.13, I can drag it when I press the ALT
key while holding down the left mouse button.  If you want you can include the
DRAGCAP command and then be able to drag the popup by just holding down the left
mouse button while clicking in the caption area of the popup.

#12702 From: "ldsheridan" <ldsheridan@...>
Date: Thu Sep 3, 2009 8:17 pm
Subject: Re: Draggable not dragging
ldsheridan
Offline Offline
Send Email Send Email
 
Fixed it!

I tried DRAGCAP, and I could not move anything, <alt> key or not.

I tried the <alt> key left click on the popup with just DRAGGABLE, and yes, that
did work.  However, that really isn't an option so I had to find another
solution.

So what I did was place 3 menus on the page.  One loads just DRAGGABLE, one
loads just DRAGCAP, and the last has both.  DRAGGABLE works only when you press
the <alt> key and drag. The other two won't work no mater what you do.

I found this quite frustrating and went back to your plugin page yet again to
see if I could find anything I may have missed.  That's when I read the full
text under ALTCUT. So I altered my call to this -

onclick="return overlib(STICKY, INARRAY, 0, CAPARRAY, 0, ALTCUT, DRAGGABLE,
CENTER, TEXTFONTCLASS, 'putLeft');" onmouseout="nd();">

And boom went the dynamite. Works perfectly.

I'm leaving the three menus up for today in case you want to take a look. But I
need to take them down tomorrow.

Thanks very much for your time and effort.  I really like your script and will
be making a donation soon.


--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
> --- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@> wrote:
> >
> > Ok, I have tried INARRAY and CAPARRAY as well.  Still doesn't drag.
> >
>
>
> When I look at your page in Firefox 3.0.13, I can drag it when I press the ALT
key while holding down the left mouse button.  If you want you can include the
DRAGCAP command and then be able to drag the popup by just holding down the left
mouse button while clicking in the caption area of the popup.
>

#12703 From: "reboughner0718" <rboughner1@...>
Date: Thu Sep 3, 2009 11:49 pm
Subject: Re: Draggable not dragging
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "ldsheridan" <ldsheridan@...> wrote:
>
> Fixed it!
>
> I tried DRAGCAP, and I could not move anything, <alt> key or not.
>
> I tried the <alt> key left click on the popup with just DRAGGABLE, and yes,
that did work.  However, that really isn't an option so I had to find another
solution.
>
> So what I did was place 3 menus on the page.  One loads just DRAGGABLE, one
loads just DRAGCAP, and the last has both.  DRAGGABLE works only when you press
the <alt> key and drag. The other two won't work no mater what you do.
>
> I found this quite frustrating and went back to your plugin page yet again to
see if I could find anything I may have missed.  That's when I read the full
text under ALTCUT. So I altered my call to this -
>
> onclick="return overlib(STICKY, INARRAY, 0, CAPARRAY, 0, ALTCUT, DRAGGABLE,
CENTER, TEXTFONTCLASS, 'putLeft');" onmouseout="nd();">
>
> And boom went the dynamite. Works perfectly.
>
> I'm leaving the three menus up for today in case you want to take a look. But
I need to take them down tomorrow.
>
> Thanks very much for your time and effort.  I really like your script and will
be making a donation soon.
>

Of the three links on your page the second one does not work for me.  Note this
restriction under DRAGCAP -- "Note, for this command to work, the Anchor plugin
must also be loaded."  That's because it needs to have access to the
pageLocation function which is defined in that plugin.  I noticed that there
were quite a few javascript errors about 'pageLocation' not being defined when I
went to your page.  The ALTCUT just switches between the pressing the ALT (CTRL)
and the left mouse button while dragging.  By including the Anchor Plugin, you
can get dragging to begin just by left clicking in the caption area.  It would
seem to me that would be the more natural for most people.

#12708 From: "robert e" <eltnbl@...>
Date: Wed Sep 30, 2009 7:29 pm
Subject: using embedded characters in overlib
elton283
Offline Offline
Send Email Send Email
 
Hi,

I am having a problem that I cannot figure out.

I use a xml file to feed a datalist in an asp page. A typical xml element looks
like this:

<strength
	 strength_no = "3"
	 strength_name = "Intelligence"
	 strength_description = "Successful senior managers are quite bright with
integrative minds and the ability to comfortably juggle many concurrent tasks.">
</strength>

The ItemTemplate of the DataList looks like this:

<ItemTemplate>
	 <asp:Label Text='<%# Eval("role_name_cto") %>' runat="server"
id="role_nameLabel" ToolTip='Please put your cursor on #42;more&#42;'/>

         <a href="javascript:void(0);"
	 onmouseover='return overlib("<%#    
Eval("role_description_cto")%>",ADAPTIVE_WIDTH,300,500,VAUTO);'
         onmouseout="return nd();">
<asp:Label cssclass ="tool" Text="&#42;more&#42;" runat="server" />
	 </a>
</ItemTemplate>

I find that if I embed a character such as & in a text field in the xml document
(like this: &#38;) overlib will display the character ok. However, if I put in
something else like cr and lf, overlib refuses to display the text field.

I figured this was the only way to format the text field so the user doesn't see
just a bunch of run-on sentences.

I looked for references to this problem in the files and didn't come up with any
matches.

If anyone knows how to make this work, I'd appreciate it.

Bob (first post)

#12709 From: "robert e" <eltnbl@...>
Date: Wed Sep 30, 2009 7:50 pm
Subject: Re: using embedded characters in overlib
elton283
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "robert e" <eltnbl@...> wrote:
>
> Hi,
>
> I am having a problem that I cannot figure out.
>
> I use a xml file to feed a datalist in an asp page. A typical xml element
looks like this:
>
> <strength
>  strength_no = "3"
>  strength_name = "Intelligence"
>  strength_description = "Successful senior managers are quite bright with
integrative minds and the ability to comfortably juggle many concurrent tasks.">
> </strength>
>
> The ItemTemplate of the DataList looks like this:
>
> <ItemTemplate>
>  <asp:Label Text='<%# Eval("role_name_cto") %>' runat="server"
id="role_nameLabel" ToolTip='Please put your cursor on #42;more&#42;'/>
>
>         <a href="javascript:void(0);"
>  onmouseover='return overlib("<%#    
Eval("role_description_cto")%>",ADAPTIVE_WIDTH,300,500,VAUTO);'
>         onmouseout="return nd();">
> <asp:Label cssclass ="tool" Text="&#42;more&#42;" runat="server" />
>  </a>
> </ItemTemplate>
>
> I find that if I embed a character such as & in a text field in the xml
document (like this: &#38;) overlib will display the character ok. However, if I
put in something else like cr and lf, overlib refuses to display the text field.
>
> I figured this was the only way to format the text field so the user doesn't
see just a bunch of run-on sentences.
>
> I looked for references to this problem in the files and didn't come up with
any matches.
>
> If anyone knows how to make this work, I'd appreciate it.
>
> Bob (first post)
>
Of course I'd goof up my first post. The ItemTemplate that refers to the xml
element I listed would look like this:

<ItemTemplate>
 	 <asp:Label Text='<%# Eval("strength_name") %>' runat="server"
id="strength_nameLabel" ToolTip='Please put your cursor on #42;more&#42;'/>

          <a href="javascript:void(0);"
 	 onmouseover='return overlib("<%#    
Eval("strength_description")%>",ADAPTIVE_WIDTH,300,500,VAUTO);'
          onmouseout="return nd();">
  <asp:Label cssclass ="tool" Text="&#42;more&#42;" runat="server" />
 	 </a>
  </ItemTemplate>

Bob

#12710 From: "theburkeyuk" <d.burkey@...>
Date: Thu Oct 1, 2009 2:17 pm
Subject: Workaround for firefox bug involving pre/post incrementing and eval
theburkeyuk
Offline Offline
Send Email Send Email
 
Hello!

Thanks for all your work on Overlib. I came across a bug involving firefox
incrementing a variable by 2 on a ++i command nested inside an eval argument
list:

https://bugzilla.mozilla.org/show_bug.cgi?id=519737

If you find the order of your commands effects how it works or that certain
commands aren't working, then these are symptoms of the above bug.

I've implemented a workaround which you can apply to your local overlib.js if
you want:

Index: overlib.js
===================================================================
--- overlib.js (revision 341020)
+++ overlib.js (working copy)
@@ -14,7 +14,11 @@
  //\  license agreement at the link above. Please give credit on sites that

  //\  use overLIB and submit changes of the script so other people can use

  //\  them as well.

-//   $Revision: 1.119 $                $Date: 2005/07/02 23:41:44 $

+//\

+//\  This file has been modified from the main distribution so

+//\  that ++var becomes (++var) to work around
https://bugzilla.mozilla.org/show_bug.cgi?id=519737

+//\

+//\  $Revision: 1.119 $                $Date: 2005/07/02 23:41:44 $

  //\/////

  //\mini



@@ -683,64 +687,64 @@
 		 } else {

 			 // Note: NS4 doesn't like switch cases with vars.

 			 if (ar[i] >= pmCount || ar[i]==DONOTHING) { continue; }

- 	 if (ar[i]==INARRAY) { fnMark = 0;
eval(pf+'text=ol_texts['+ar[++i]+'].toString()'); continue; }

- 	 if (ar[i]==CAPARRAY) { eval(pf+'cap=ol_caps['+ar[++i]+'].toString()');
continue; }

+ 	 if (ar[i]==INARRAY) { fnMark = 0;
eval(pf+'text=ol_texts['+ar[(++i)]+'].toString()'); continue; }

+ 	 if (ar[i]==CAPARRAY) { eval(pf+'cap=ol_caps['+ar[(++i)]+'].toString()');
continue; }

 			 if (ar[i]==STICKY) { if (pf!='ol_') eval(pf+'sticky=1'); continue; }

- 	 if (ar[i]==BACKGROUND) { eval(pf+'background="'+ar[++i]+'"'); continue; }

+ 	 if (ar[i]==BACKGROUND) { eval(pf+'background="'+ar[(++i)]+'"'); continue; }

 			 if (ar[i]==NOCLOSE) { if (pf!='ol_') opt_NOCLOSE(); continue; }

- 	 if (ar[i]==CAPTION) { eval(pf+"cap='"+escSglQuote(ar[++i])+"'"); continue; }

+ 	 if (ar[i]==CAPTION) { eval(pf+"cap='"+escSglQuote(ar[(++i)])+"'"); continue;
}

 			 if (ar[i]==CENTER || ar[i]==LEFT || ar[i]==RIGHT) { eval(pf+'hpos='+ar[i]);
if(pf!='ol_') olHautoFlag=1; continue; }

- 	 if (ar[i]==OFFSETX) { eval(pf+'offsetx='+ar[++i]); continue; }

- 	 if (ar[i]==OFFSETY) { eval(pf+'offsety='+ar[++i]); continue; }

- 	 if (ar[i]==FGCOLOR) { eval(pf+'fgcolor="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==BGCOLOR) { eval(pf+'bgcolor="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==TEXTCOLOR) { eval(pf+'textcolor="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==CAPCOLOR) { eval(pf+'capcolor="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==CLOSECOLOR) { eval(pf+'closecolor="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==WIDTH) { eval(pf+'width='+ar[++i]); continue; }

- 	 if (ar[i]==BORDER) { eval(pf+'border='+ar[++i]); continue; }

+ 	 if (ar[i]==OFFSETX) { eval(pf+'offsetx='+ar[(++i)]); continue; }

+ 	 if (ar[i]==OFFSETY) { eval(pf+'offsety='+ar[(++i)]); continue; }

+ 	 if (ar[i]==FGCOLOR) { eval(pf+'fgcolor="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==BGCOLOR) { eval(pf+'bgcolor="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==TEXTCOLOR) { eval(pf+'textcolor="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==CAPCOLOR) { eval(pf+'capcolor="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==CLOSECOLOR) { eval(pf+'closecolor="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==WIDTH) { eval(pf+'width='+ar[(++i)]); continue; }

+ 	 if (ar[i]==BORDER) { eval(pf+'border='+ar[(++i)]); continue; }

 			 if (ar[i]==CELLPAD) { i=opt_MULTIPLEARGS(++i,ar,(pf+'cellpad')); continue; }

- 	 if (ar[i]==STATUS) { eval(pf+"status='"+escSglQuote(ar[++i])+"'"); continue;
}

+ 	 if (ar[i]==STATUS) { eval(pf+"status='"+escSglQuote(ar[(++i)])+"'");
continue; }

 			 if (ar[i]==AUTOSTATUS) { eval(pf +'autostatus=('+pf+'autostatus == 1) ? 0 :
1'); continue; }

 			 if (ar[i]==AUTOSTATUSCAP) { eval(pf +'autostatus=('+pf+'autostatus == 2) ? 0
: 2'); continue; }

- 	 if (ar[i]==HEIGHT) { eval(pf+'height='+pf+'aboveheight='+ar[++i]); continue;
} // Same param again.

- 	 if (ar[i]==CLOSETEXT) { eval(pf+"close='"+escSglQuote(ar[++i])+"'");
continue; }

- 	 if (ar[i]==SNAPX) { eval(pf+'snapx='+ar[++i]); continue; }

- 	 if (ar[i]==SNAPY) { eval(pf+'snapy='+ar[++i]); continue; }

- 	 if (ar[i]==FIXX) { eval(pf+'fixx='+ar[++i]); continue; }

- 	 if (ar[i]==FIXY) { eval(pf+'fixy='+ar[++i]); continue; }

- 	 if (ar[i]==RELX) { eval(pf+'relx='+ar[++i]); continue; }

- 	 if (ar[i]==RELY) { eval(pf+'rely='+ar[++i]); continue; }

- 	 if (ar[i]==FGBACKGROUND) { eval(pf+'fgbackground="'+ar[++i]+'"'); continue;
}

- 	 if (ar[i]==BGBACKGROUND) { eval(pf+'bgbackground="'+ar[++i]+'"'); continue;
}

- 	 if (ar[i]==PADX) { eval(pf+'padxl='+ar[++i]); eval(pf+'padxr='+ar[++i]);
continue; }

- 	 if (ar[i]==PADY) { eval(pf+'padyt='+ar[++i]); eval(pf+'padyb='+ar[++i]);
continue; }

+ 	 if (ar[i]==HEIGHT) { eval(pf+'height='+pf+'aboveheight='+ar[(++i)]);
continue; } // Same param again.

+ 	 if (ar[i]==CLOSETEXT) { eval(pf+"close='"+escSglQuote(ar[(++i)])+"'");
continue; }

+ 	 if (ar[i]==SNAPX) { eval(pf+'snapx='+ar[(++i)]); continue; }

+ 	 if (ar[i]==SNAPY) { eval(pf+'snapy='+ar[(++i)]); continue; }

+ 	 if (ar[i]==FIXX) { eval(pf+'fixx='+ar[(++i)]); continue; }

+ 	 if (ar[i]==FIXY) { eval(pf+'fixy='+ar[(++i)]); continue; }

+ 	 if (ar[i]==RELX) { eval(pf+'relx='+ar[(++i)]); continue; }

+ 	 if (ar[i]==RELY) { eval(pf+'rely='+ar[(++i)]); continue; }

+ 	 if (ar[i]==FGBACKGROUND) { eval(pf+'fgbackground="'+ar[(++i)]+'"');
continue; }

+ 	 if (ar[i]==BGBACKGROUND) { eval(pf+'bgbackground="'+ar[(++i)]+'"');
continue; }

+ 	 if (ar[i]==PADX) { eval(pf+'padxl='+ar[(++i)]); eval(pf+'padxr='+ar[(++i)]);
continue; }

+ 	 if (ar[i]==PADY) { eval(pf+'padyt='+ar[(++i)]); eval(pf+'padyb='+ar[(++i)]);
continue; }

 			 if (ar[i]==FULLHTML) { if (pf!='ol_') eval(pf+'fullhtml=1'); continue; }

 			 if (ar[i]==BELOW || ar[i]==ABOVE) { eval(pf+'vpos='+ar[i]); if (pf!='ol_')
olVautoFlag=1; continue; }

- 	 if (ar[i]==CAPICON) { eval(pf+'capicon="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==TEXTFONT) { eval(pf+"textfont='"+escSglQuote(ar[++i])+"'");
continue; }

- 	 if (ar[i]==CAPTIONFONT) { eval(pf+"captionfont='"+escSglQuote(ar[++i])+"'");
continue; }

- 	 if (ar[i]==CLOSEFONT) { eval(pf+"closefont='"+escSglQuote(ar[++i])+"'");
continue; }

- 	 if (ar[i]==TEXTSIZE) { eval(pf+'textsize="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==CAPTIONSIZE) { eval(pf+'captionsize="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==CLOSESIZE) { eval(pf+'closesize="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==TIMEOUT) { eval(pf+'timeout='+ar[++i]); continue; }

- 	 if (ar[i]==FUNCTION) { if (pf=='ol_') { if (typeof ar[i+1]!='number') {
v=ar[++i]; ol_function=(typeof v=='function' ? v : null); }} else {fnMark = 0; v
= null; if (typeof ar[i+1]!='number') v = ar[++i];  opt_FUNCTION(v); } continue;
}

- 	 if (ar[i]==DELAY) { eval(pf+'delay='+ar[++i]); continue; }

+ 	 if (ar[i]==CAPICON) { eval(pf+'capicon="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==TEXTFONT) { eval(pf+"textfont='"+escSglQuote(ar[(++i)])+"'");
continue; }

+ 	 if (ar[i]==CAPTIONFONT) {
eval(pf+"captionfont='"+escSglQuote(ar[(++i)])+"'"); continue; }

+ 	 if (ar[i]==CLOSEFONT) { eval(pf+"closefont='"+escSglQuote(ar[(++i)])+"'");
continue; }

+ 	 if (ar[i]==TEXTSIZE) { eval(pf+'textsize="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==CAPTIONSIZE) { eval(pf+'captionsize="'+ar[(++i)]+'"'); continue;
}

+ 	 if (ar[i]==CLOSESIZE) { eval(pf+'closesize="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==TIMEOUT) { eval(pf+'timeout='+ar[(++i)]); continue; }

+ 	 if (ar[i]==FUNCTION) { if (pf=='ol_') { if (typeof ar[i+1]!='number') {
v=ar[(++i)]; ol_function=(typeof v=='function' ? v : null); }} else {fnMark = 0;
v = null; if (typeof ar[i+1]!='number') v = ar[(++i)];  opt_FUNCTION(v); }
continue; }

+ 	 if (ar[i]==DELAY) { eval(pf+'delay='+ar[(++i)]); continue; }

 			 if (ar[i]==HAUTO) { eval(pf+'hauto=('+pf+'hauto == 0) ? 1 : 0'); continue; }

 			 if (ar[i]==VAUTO) { eval(pf+'vauto=('+pf+'vauto == 0) ? 1 : 0'); continue; }

 			 if (ar[i]==CLOSECLICK) { eval(pf +'closeclick=('+pf+'closeclick == 0) ? 1 :
0'); continue; }

 			 if (ar[i]==WRAP) { eval(pf +'wrap=('+pf+'wrap == 0) ? 1 : 0'); continue; }

 			 if (ar[i]==FOLLOWMOUSE) { eval(pf +'followmouse=('+pf+'followmouse == 1) ? 0
: 1'); continue; }

- 	 if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff==0) ? 1 : 0');
v=ar[i+1]; if (pf != 'ol_' && eval(pf+'mouseoff') && typeof v == 'number' && (v
< pmStart || v > pmUpper)) olHideDelay=ar[++i]; continue; }

- 	 if (ar[i]==CLOSETITLE) { eval(pf+"closetitle='"+escSglQuote(ar[++i])+"'");
continue; }

+ 	 if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff==0) ? 1 : 0');
v=ar[i+1]; if (pf != 'ol_' && eval(pf+'mouseoff') && typeof v == 'number' && (v
< pmStart || v > pmUpper)) olHideDelay=ar[(++i)]; continue; }

+ 	 if (ar[i]==CLOSETITLE) { eval(pf+"closetitle='"+escSglQuote(ar[(++i)])+"'");
continue; }

 			 if (ar[i]==CSSOFF||ar[i]==CSSCLASS) { eval(pf+'css='+ar[i]); continue; }

 			 if (ar[i]==COMPATMODE) { eval(pf+'compatmode=('+pf+'compatmode==0) ? 1 :
0'); continue; }

- 	 if (ar[i]==FGCLASS) { eval(pf+'fgclass="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==BGCLASS) { eval(pf+'bgclass="'+ar[++i]+'"'); continue; }

- 	 if (ar[i]==TEXTFONTCLASS) { eval(pf+'textfontclass="'+ar[++i]+'"');
continue; }

- 	 if (ar[i]==CAPTIONFONTCLASS) { eval(pf+'captionfontclass="'+ar[++i]+'"');
continue; }

- 	 if (ar[i]==CLOSEFONTCLASS) { eval(pf+'closefontclass="'+ar[++i]+'"');
continue; }

+ 	 if (ar[i]==FGCLASS) { eval(pf+'fgclass="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==BGCLASS) { eval(pf+'bgclass="'+ar[(++i)]+'"'); continue; }

+ 	 if (ar[i]==TEXTFONTCLASS) { eval(pf+'textfontclass="'+ar[(++i)]+'"');
continue; }

+ 	 if (ar[i]==CAPTIONFONTCLASS) { eval(pf+'captionfontclass="'+ar[(++i)]+'"');
continue; }

+ 	 if (ar[i]==CLOSEFONTCLASS) { eval(pf+'closefontclass="'+ar[(++i)]+'"');
continue; }

 			 i = parseCmdLine(pf, i, ar);

 		 }

 	 }

@@ -1307,7 +1311,7 @@
 	 pms = pms.concat(pM);



 	 for (var i = 0; i< pM.length; i++) {

-  eval(pM[i].toUpperCase()+'='+pmCount++);

+  eval(pM[i].toUpperCase()+'='+(pmCount++));

 	 }

  }

#12712 From: "suchnso" <suchnso@...>
Date: Wed Oct 7, 2009 8:21 pm
Subject: Using overlib on a PHP page instead of HTML
suchnso
Offline Offline
Send Email Send Email
 
Despite searching through not only the group archives, but also Google, I still
cannot find the exact information that's necessary, so hopefully someone can
help me.

I've been using overlib successfully on an HTML page for about four years now
for both text and images and have never had a problem.  But in updating the
website we are moving from HTML to PHP pages for various reasons involving new
features, etc...

The way in which I've been using it is as follows (in the anchor hypertext
reference):

"javascript:void(0);" onmouseover="return overlib('Popup Text Goes Here',
SHADOW, LEFT, ABOVE, WIDTH, '250', HEIGHT, '75', FGCOLOR, '#F3E9E9', BGCOLOR,
'#CC9999', TEXTCOLOR, '#000000', CAPCOLOR, '#f3e0e0', CAPTIONFONT, 'Verdana',
CAPTIONSIZE, '8pt', TEXTFONT, 'Verdana', TEXTSIZE, '10pt', BORDER, '5', CAPTION,
'Title Text Goes Here;" onmouseout="return nd();">linked text</a>


I know very little PHP.  One does not really need to know much to create PHP
pages.  How do I implement overlib in the same way as shown above on a page with
a PHP extension?

Thanks in advance for all your help!  :.)

#12713 From: "reboughner0718" <rboughner1@...>
Date: Wed Oct 7, 2009 11:24 pm
Subject: Re: Using overlib on a PHP page instead of HTML
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "suchnso" <suchnso@...> wrote:
>
> Despite searching through not only the group archives, but also Google, I
still cannot find the exact information that's necessary, so hopefully someone
can help me.
>
> I've been using overlib successfully on an HTML page for about four years now
for both text and images and have never had a problem.  But in updating the
website we are moving from HTML to PHP pages for various reasons involving new
features, etc...
>
> The way in which I've been using it is as follows (in the anchor hypertext
reference):
>
> "javascript:void(0);" onmouseover="return overlib('Popup Text Goes Here',
SHADOW, LEFT, ABOVE, WIDTH, '250', HEIGHT, '75', FGCOLOR, '#F3E9E9', BGCOLOR,
'#CC9999', TEXTCOLOR, '#000000', CAPCOLOR, '#f3e0e0', CAPTIONFONT, 'Verdana',
CAPTIONSIZE, '8pt', TEXTFONT, 'Verdana', TEXTSIZE, '10pt', BORDER, '5', CAPTION,
'Title Text Goes Here;" onmouseout="return nd();">linked text</a>
>
>
> I know very little PHP.  One does not really need to know much to create PHP
pages.  How do I implement overlib in the same way as shown above on a page with
a PHP extension?
>
> Thanks in advance for all your help!  :.)
>

Check out the following two pages:

http://overlib.boughner.us/PHP/overlib_PHP.php
http://overlib.boughner.us/PHP/overlib_wlink_PHP.htm

which may help answer your questions:

#12714 From: "reboughner0718" <rboughner1@...>
Date: Wed Oct 7, 2009 11:34 pm
Subject: Re: Using overlib on a PHP page instead of HTML
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, "suchnso" <suchnso@> wrote:
> >
> > Despite searching through not only the group archives, but also Google, I
still cannot find the exact information that's necessary, so hopefully someone
can help me.
> >
> > I've been using overlib successfully on an HTML page for about four years
now for both text and images and have never had a problem.  But in updating the
website we are moving from HTML to PHP pages for various reasons involving new
features, etc...
> >
> > The way in which I've been using it is as follows (in the anchor hypertext
reference):
> >
> > "javascript:void(0);" onmouseover="return overlib('Popup Text Goes Here',
SHADOW, LEFT, ABOVE, WIDTH, '250', HEIGHT, '75', FGCOLOR, '#F3E9E9', BGCOLOR,
'#CC9999', TEXTCOLOR, '#000000', CAPCOLOR, '#f3e0e0', CAPTIONFONT, 'Verdana',
CAPTIONSIZE, '8pt', TEXTFONT, 'Verdana', TEXTSIZE, '10pt', BORDER, '5', CAPTION,
'Title Text Goes Here;" onmouseout="return nd();">linked text</a>
> >
> >
> > I know very little PHP.  One does not really need to know much to create PHP
pages.  How do I implement overlib in the same way as shown above on a page with
a PHP extension?
> >
> > Thanks in advance for all your help!  :.)
> >
>
> Check out the following two pages:
>
> http://overlib.boughner.us/PHP/overlib_PHP.php
> http://overlib.boughner.us/PHP/overlib_wlink_PHP.htm
>
> which may help answer your questions:
>
You may also want to look at the pages:

http://overlib.boughner.us/PHP/test_page.php
http://overlib.boughner.us/PHP/getting_array.html

#12715 From: "sito2002" <yatiqueteimporta@...>
Date: Fri Oct 9, 2009 12:35 pm
Subject: overLIB is not working
sito2002
Offline Offline
Send Email Send Email
 
Hello.
I just started to use overLIB, but I couldn't make it work even copy-pasting the
examples on the site

This is my test file
http://www.arenadejuegos.com/actualiz_sito/control/testventanaflotante.html

And this is the code in the file
What am I doing wrong??

Thank you.


<!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">
<head>
<script type="text/javascript"
src="http://www.arenadejuegos.com/actualiz_sito/control/overlib.js"></script>
</head>

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

<a href="javascript:void(0);" onmouseover="return overlib('This is an ordinary
   popup.');" onmouseout="return nd();">here</a><br />
     <a href="javascript:void(0);" onmouseover="javascript: return overlib('This
is what
   we call a sticky, since I stick around (it goes away if you move the mouse
   OVER and then OFF the overLIB popup--or mouseover another overLIB).',
   STICKY, MOUSEOFF);" onmouseout="return nd();">here</a><br />
    <a href="javascript:void(0);" onclick="return overlib('This is a sticky
    with a caption. And it is centered under the mouse!', STICKY, CAPTION,
    'Sticky!', CENTER);" onmouseout="nd();">Click here!</a>


   TEXTO

</body>
</html>

#12716 From: "reboughner0718" <rboughner1@...>
Date: Fri Oct 9, 2009 2:57 pm
Subject: Re: overLIB is not working
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "sito2002" <yatiqueteimporta@...> wrote:
>
> Hello.
> I just started to use overLIB, but I couldn't make it work even copy-pasting
the examples on the site
>
> This is my test file
http://www.arenadejuegos.com/actualiz_sito/control/testventanaflotante.html
>
> And this is the code in the file
> What am I doing wrong??
>
> Thank you.
>

Its not working because you're getting javascript errors.  The string argument
to overLIB must be on one line and not broken between lines. For the first
mouseover, I get the following error:

Error: unterminated string literal
Source File:
http://www.arenadejuegos.com/actualiz_sito/control/testventanaflotante.html
Line: 1, Column: 27
Source Code:
javascript: return overlib('This is what

and similarly for the other two examples.

>
> <!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">
> <head>
> <script type="text/javascript"
src="http://www.arenadejuegos.com/actualiz_sito/control/overlib.js"></script>
> </head>
>
> <body>
> <div id="overDiv" style="position:absolute; visibility:hidden;
z-index:1000;"></div>
>
> <a href="javascript:void(0);" onmouseover="return overlib('This is an ordinary
>   popup.');" onmouseout="return nd();">here</a><br />
>     <a href="javascript:void(0);" onmouseover="javascript: return
overlib('This is what
>   we call a sticky, since I stick around (it goes away if you move the mouse
>   OVER and then OFF the overLIB popup--or mouseover another overLIB).',
>   STICKY, MOUSEOFF);" onmouseout="return nd();">here</a><br />
>    <a href="javascript:void(0);" onclick="return overlib('This is a sticky
>    with a caption. And it is centered under the mouse!', STICKY, CAPTION,
>    'Sticky!', CENTER);" onmouseout="nd();">Click here!</a>
>
>
>   TEXTO
>
> </body>
> </html>
>

#12720 From: "chalkie500" <n.white@...>
Date: Sun Nov 15, 2009 3:16 pm
Subject: Displaying entries from a database.
chalkie500
Offline Offline
Send Email Send Email
 
I've set on a php page a menu taken from a database. The titles list
correctly,however when you go to rollover the 2nd 3rd 4th in the list it
displays the 'Details' of the previous entries as well as it's own entry and not
the sole corresponding details for that entry. The code is below.

Any suggestions on what I can do to correct is so that the correct information
displays.


<?php
$query = "SELECT Details,Title from orders";
$result=mysql_query($query);
while ($row = mysql_fetch_array($result)) {
$details .= $row['Details'];
$table .= '<li>';
$table .= '<a class ="MaintextRed" href="javascript:void(0);"
onmouseover="return overlib(\''.addslashes($details).'\');" onmouseout="return
nd();">';
$table .= $row['Title'];
$table .= '</a></li>';
}
echo $table;
?>

Sorry to cause confusion but I deleted my initial post with the same title as
the initial analysis of the problem was incorrect.

#12721 From: "reboughner0718" <rboughner1@...>
Date: Mon Nov 16, 2009 3:48 pm
Subject: Re: Displaying entries from a database.
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "chalkie500" <n.white@...> wrote:
>
> I've set on a php page a menu taken from a database. The titles list
correctly,however when you go to rollover the 2nd 3rd 4th in the list it
displays the 'Details' of the previous entries as well as it's own entry and not
the sole corresponding details for that entry. The code is below.
>
> Any suggestions on what I can do to correct is so that the correct information
displays.
>
>
> <?php
> $query = "SELECT Details,Title from orders";
> $result=mysql_query($query);
> while ($row = mysql_fetch_array($result)) {
> $details .= $row['Details'];
> $table .= '<li>';
> $table .= '<a class ="MaintextRed" href="javascript:void(0);"
> onmouseover="return overlib(\''.addslashes($details).'\');" onmouseout="return
> nd();">';
> $table .= $row['Title'];
> $table .= '</a></li>';
> }
> echo $table;
> ?>
>
> Sorry to cause confusion but I deleted my initial post with the same title as
the initial analysis of the problem was incorrect.
>

Are you sure you want to use: "$details .= $row['Details'];" ? It adds any
further $row['Details'] to what is there already which will be the case after
the first mouseover.  Shouldn't you be using just:

"$details = $row['Details'];"?

#12722 From: "chalkie500" <n.white@...>
Date: Tue Nov 17, 2009 12:22 am
Subject: Re: Displaying entries from a database.
chalkie500
Offline Offline
Send Email Send Email
 
Thought it would be something simple. All works now. Thank you.

#12724 From: "reboughner0718" <rboughner1@...>
Date: Tue Nov 17, 2009 1:19 am
Subject: Re: Displaying entries from a database.
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "chalkie500" <n.white@...> wrote:
>
>
>
> Thought it would be something simple. All works now. Thank you.
>

Glad you got it sorted out.

#12725 From: Stijn Niclaes <stijn.niclaes@...>
Date: Thu Nov 19, 2009 7:39 am
Subject: html table in overlib popup
stijn.niclaes
Offline Offline
Send Email Send Email
 
Hi all,

I have an overlib popup where I put an html table in. The problem is that for some reason I get a border on the right side an no border on the left.

I attached a screenshot and here is my src:

 <td onmousedown="return overlib('<table><tbody><tr><th>Keytag</th><th>Flags</th><th>Protocol</th><th>Algorithm</th>
  <th>Public key</th></tr><tr><td>55082</td><td>ZSK</td> <td>3</td><td>RSA-SHA1</td>
<td><pre>AQOvbjvIYX6JzppHwpusS6VlEDMLUbFnP+QZhTel&lt;br&gt;7gZfKnMXc1DdklL/E9gETrG6xtBjZJDLp4K+jXt8
&lt;br&gt;QXaNus53P3+460IPmyfFI9GBsyC3xu3Xhmsm+FXQ&lt;br&gt;HEj6iadLHvNdf/MULVLHfVTiEEsRSROkkLF240Av
&lt;br&gt;AavYV8PNRczmoQ==&lt;br</pre></td></tr></tbody></table>', STICKY, CLOSECLICK, CAPTION, 'DNSKEY:');"
>
<span style="text-decoration: underline;">55082</span>
</td>

It is on one line in the src, I put in a couple of newlines here for readability.



Ommitting the <table></table> and <tbody></tbody> gives me exactly the same result.

I like the border, I'd like to keep it but it should be on both sides.

Also, how can I make sure the 'Close' link is aligned to the right instead of sort of in the middle?

Thx

1 of 1 Photo(s)


#12726 From: "reboughner0718" <rboughner1@...>
Date: Mon Nov 23, 2009 4:27 pm
Subject: Re: html table in overlib popup
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, Stijn Niclaes <stijn.niclaes@...> wrote:
>
> Hi all,
>
> I have an overlib popup where I put an html table in. The problem is that
> for some reason I get a border on the right side an no border on the left.
>
> I attached a screenshot and here is my src:
>
>   <td onmousedown="return
>
overlib('<table><tbody><tr><th>Keytag</th><th>Flags</th><th>Protocol</th><th>Alg\
orithm</th>
>        <th>Public key</th></tr><tr><td>55082</td><td>ZSK</td>
> <td>3</td><td>RSA-SHA1</td>
>       
<td><pre>AQOvbjvIYX6JzppHwpusS6VlEDMLUbFnP+QZhTel&lt;br&gt;7gZfKnMXc1DdklL/E9gET\
rG6xtBjZJDLp4K+jXt8
>        
&lt;br&gt;QXaNus53P3+460IPmyfFI9GBsyC3xu3Xhmsm+FXQ&lt;br&gt;HEj6iadLHvNdf/MULVLH\
fVTiEEsRSROkkLF240Av
>         &lt;br&gt;AavYV8PNRczmoQ==&lt;br</pre></td></tr></tbody></table>',
> STICKY, CLOSECLICK, CAPTION, 'DNSKEY:');">
>     <span style="text-decoration: underline;">55082</span>
>   </td>
>
> It is on one line in the src, I put in a couple of newlines here for
> readability.
>
>
>
> Ommitting the <table></table> and <tbody></tbody> gives me exactly the same
> result.
>
> I like the border, I'd like to keep it but it should be on both sides.
>
> Also, how can I make sure the 'Close' link is aligned to the right instead
> of sort of in the middle?
>
> Thx
>

Do you have a global style sheet that may affect TABLEs, rows and/or cells as
these will also affect your popup since it is made up of at least two nested
tables?

As for aligning the close link use a custom class for the closefontclass which
includes text-align: right;  You may also need to include size and font too to
get it consistent with the other text.

#12727 From: "reboughner0718" <rboughner1@...>
Date: Mon Nov 23, 2009 4:35 pm
Subject: Re: html table in overlib popup
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, Stijn Niclaes <stijn.niclaes@> wrote:
> >
> > Hi all,
> >
> > I have an overlib popup where I put an html table in. The problem is that
> > for some reason I get a border on the right side an no border on the left.
> >
> > I attached a screenshot and here is my src:
> >
> >   <td onmousedown="return
> >
overlib('<table><tbody><tr><th>Keytag</th><th>Flags</th><th>Protocol</th><th>Alg\
orithm</th>
> >        <th>Public key</th></tr><tr><td>55082</td><td>ZSK</td>
> > <td>3</td><td>RSA-SHA1</td>
> >       
<td><pre>AQOvbjvIYX6JzppHwpusS6VlEDMLUbFnP+QZhTel&lt;br&gt;7gZfKnMXc1DdklL/E9gET\
rG6xtBjZJDLp4K+jXt8
> >        
&lt;br&gt;QXaNus53P3+460IPmyfFI9GBsyC3xu3Xhmsm+FXQ&lt;br&gt;HEj6iadLHvNdf/MULVLH\
fVTiEEsRSROkkLF240Av
> >         &lt;br&gt;AavYV8PNRczmoQ==&lt;br</pre></td></tr></tbody></table>',
> > STICKY, CLOSECLICK, CAPTION, 'DNSKEY:');">
> >     <span style="text-decoration: underline;">55082</span>
> >   </td>
> >
> > It is on one line in the src, I put in a couple of newlines here for
> > readability.
> >
> >
> >
> > Ommitting the <table></table> and <tbody></tbody> gives me exactly the same
> > result.
> >
> > I like the border, I'd like to keep it but it should be on both sides.
> >
> > Also, how can I make sure the 'Close' link is aligned to the right instead
> > of sort of in the middle?
> >
> > Thx
> >
>
> Do you have a global style sheet that may affect TABLEs, rows and/or cells as
these will also affect your popup since it is made up of at least two nested
tables?
>
> As for aligning the close link use a custom class for the closefontclass which
includes text-align: right;  You may also need to include size and font too to
get it consistent with the other text.
>

If you can't get it figured out then please post a link to the page in question
so that we can see what you are trying to do exactly.

#12728 From: "stijn.niclaes" <stijn.niclaes@...>
Date: Tue Nov 24, 2009 8:40 am
Subject: Re: html table in overlib popup
stijn.niclaes
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@> wrote:
> >
> >
> >
> > --- In overlib@yahoogroups.com, Stijn Niclaes <stijn.niclaes@> wrote:
> > >
> > > Hi all,
> > >
> > > I have an overlib popup where I put an html table in. The problem is that
> > > for some reason I get a border on the right side an no border on the left.
> > >
> > > I attached a screenshot and here is my src:
> > >
> > >   <td onmousedown="return
> > >
overlib('<table><tbody><tr><th>Keytag</th><th>Flags</th><th>Protocol</th><th>Alg\
orithm</th>
> > >        <th>Public key</th></tr><tr><td>55082</td><td>ZSK</td>
> > > <td>3</td><td>RSA-SHA1</td>
> > >       
<td><pre>AQOvbjvIYX6JzppHwpusS6VlEDMLUbFnP+QZhTel&lt;br&gt;7gZfKnMXc1DdklL/E9gET\
rG6xtBjZJDLp4K+jXt8
> > >        
&lt;br&gt;QXaNus53P3+460IPmyfFI9GBsyC3xu3Xhmsm+FXQ&lt;br&gt;HEj6iadLHvNdf/MULVLH\
fVTiEEsRSROkkLF240Av
> > >         &lt;br&gt;AavYV8PNRczmoQ==&lt;br</pre></td></tr></tbody></table>',
> > > STICKY, CLOSECLICK, CAPTION, 'DNSKEY:');">
> > >     <span style="text-decoration: underline;">55082</span>
> > >   </td>
> > >
> > > It is on one line in the src, I put in a couple of newlines here for
> > > readability.
> > >
> > >
> > >
> > > Ommitting the <table></table> and <tbody></tbody> gives me exactly the
same
> > > result.
> > >
> > > I like the border, I'd like to keep it but it should be on both sides.
> > >
> > > Also, how can I make sure the 'Close' link is aligned to the right instead
> > > of sort of in the middle?
> > >
> > > Thx
> > >
> >
> > Do you have a global style sheet that may affect TABLEs, rows and/or cells
as these will also affect your popup since it is made up of at least two nested
tables?
> >
> > As for aligning the close link use a custom class for the closefontclass
which includes text-align: right;  You may also need to include size and font
too to get it consistent with the other text.
> >
>
> If you can't get it figured out then please post a link to the page in
question so that we can see what you are trying to do exactly.
>

I indeed had a global stylesheet that affected my table.

I fixed it by adding a custom class that overrides the paddings that were set by
the global stylesheet. Same for the text-alignment of the Close link.

#12729 From: "reboughner0718" <rboughner1@...>
Date: Tue Nov 24, 2009 3:53 pm
Subject: Re: html table in overlib popup
reboughner0718
Offline Offline
Send Email Send Email
 
--- In overlib@yahoogroups.com, "stijn.niclaes" <stijn.niclaes@...> wrote:
>
>
>
> --- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@> wrote:
> >
> >
> >
> > --- In overlib@yahoogroups.com, "reboughner0718" <rboughner1@> wrote:
> > >
> > >
> > >
> > > --- In overlib@yahoogroups.com, Stijn Niclaes <stijn.niclaes@> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I have an overlib popup where I put an html table in. The problem is
that
> > > > for some reason I get a border on the right side an no border on the
left.
> > > >
> > > > I attached a screenshot and here is my src:
> > > >
> > > >   <td onmousedown="return
> > > >
overlib('<table><tbody><tr><th>Keytag</th><th>Flags</th><th>Protocol</th><th>Alg\
orithm</th>
> > > >        <th>Public key</th></tr><tr><td>55082</td><td>ZSK</td>
> > > > <td>3</td><td>RSA-SHA1</td>
> > > >       
<td><pre>AQOvbjvIYX6JzppHwpusS6VlEDMLUbFnP+QZhTel&lt;br&gt;7gZfKnMXc1DdklL/E9gET\
rG6xtBjZJDLp4K+jXt8
> > > >        
&lt;br&gt;QXaNus53P3+460IPmyfFI9GBsyC3xu3Xhmsm+FXQ&lt;br&gt;HEj6iadLHvNdf/MULVLH\
fVTiEEsRSROkkLF240Av
> > > >        
&lt;br&gt;AavYV8PNRczmoQ==&lt;br</pre></td></tr></tbody></table>',
> > > > STICKY, CLOSECLICK, CAPTION, 'DNSKEY:');">
> > > >     <span style="text-decoration: underline;">55082</span>
> > > >   </td>
> > > >
> > > > It is on one line in the src, I put in a couple of newlines here for
> > > > readability.
> > > >
> > > >
> > > >
> > > > Ommitting the <table></table> and <tbody></tbody> gives me exactly the
same
> > > > result.
> > > >
> > > > I like the border, I'd like to keep it but it should be on both sides.
> > > >
> > > > Also, how can I make sure the 'Close' link is aligned to the right
instead
> > > > of sort of in the middle?
> > > >
> > > > Thx
> > > >
> > >
> > > Do you have a global style sheet that may affect TABLEs, rows and/or cells
as these will also affect your popup since it is made up of at least two nested
tables?
> > >
> > > As for aligning the close link use a custom class for the closefontclass
which includes text-align: right;  You may also need to include size and font
too to get it consistent with the other text.
> > >
> >
> > If you can't get it figured out then please post a link to the page in
question so that we can see what you are trying to do exactly.
> >
>
> I indeed had a global stylesheet that affected my table.
>
> I fixed it by adding a custom class that overrides the paddings that were set
by the global stylesheet. Same for the text-alignment of the Close link.
>


Glad you got it sorted out.

Messages 12690 - 12729 of 12729   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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