Re: OverLib - highlight text?



Dave wrote on 14 jul 2007 in comp.lang.javascript:

Is there a way to selectively highlight text in an OverLib popup? I'd
like to be able to make some text stand out from the rest of the text
that is displayed.

<style type='text/css'>
..hi {background-color:yellow;}
</style>

.................

onmouseover =
"return overlib('Next is <span class=hi>highlighted</span>',WIDTH,270);"

I tried using a one-cell table with background set to yellow, but that
caused the popup not to work at all (this might be a syntax problem -
I haven't been able to find any syntax examples for putting a table
inside an OverLib call)

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.



Relevant Pages

  • Re: function refresher
    ... Dave wrote on 11 jun 2004 in microsoft.public.scripting.vbscript: ... > function test1() ... (Please change the x'es to dots in my emailaddress) ...
    (microsoft.public.scripting.vbscript)
  • Re: ASP Date
    ... dave wrote on 20 aug 2004 in microsoft.public.inetserver.asp.general: ... >>I face the problem on datediff function ... (Please change the x'es to dots in my emailaddress) ...
    (microsoft.public.inetserver.asp.general)
  • Re: OverLib - highlight text?
    ... Dave wrote: ... caused the popup not to work at all (this might be a syntax problem - ... I am kidding. ...
    (comp.lang.javascript)

Loading