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.
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)
Thanks
Dave 5 2683
On Jul 14, 10:20 am, Dave <dgmo...@erols.comwrote:
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.
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)
I don't know anything about OverLib, but using a table cell to
highlight text is not a good idea. Why not use a DIV or SPAN element
and style it using CSS?
And of course, you should post your code so others can see your
possible syntax problem...
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)
On Jul 14, 10:34 am, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
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)
That works - I don't know why I didn't see it myself to start with.
Getting old, I guess...
Many thanks!
Dave wrote:
On Jul 14, 10:34 am, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
>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)
That works - I don't know why I didn't see it myself to start with.
Getting old, I guess...
Many thanks!
Since you seem to like overLIB, make sure to check out overlimws: http://www.macridesweb.com/oltest/
I absolutely love "BUBBLE."
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
-Lost wrote on 14 jul 2007 in comp.lang.javascript :
Since you seem to like overLIB, make sure to check out overlimws:
http://www.macridesweb.com/oltest/
I absolutely love "BUBBLE."
Interesting! Must try it out.
>onmouseover = "return overlib('Next is <span class=hi>highlighted</span>',WIDTH,270);"
On those pages they warn that Norton firewall does not like
having html elements in onmouseover parameter strings,
and prefers it this way:
==================
<script type='text/javascript'>
myTemp = 'Next is <span class=hi>highlighted</span>'
</script>
<div onmouseover =
"return overlib(myTemp ,WIDTH,270);"
==================
I cannot test that, as I use McAfee on my pc[s].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Morgan |
last post by:
Hello
I have a little function to highlight text if it exists.
Function Highlight(vFind, vSearch)
Dim RegEx
Set RegEx = New RegExp
RegEx.Pattern = vFind
RegEx.IgnoreCase = True
Highlight =...
|
by: Christophe Guillon |
last post by:
Hello
I would like to have a hypertext link which, when I click on it, leads
to a web page where a certain word is highlighted. Depending on the
link, the same target page would be displayed but...
|
by: john woo |
last post by:
Hi
I'm not good at JS, but want to get more about it.
I want to use a JSP (the java code just used to get date, the rest are
html and javascript),
to display a table. the requirement is the...
|
by: Atara |
last post by:
I am trying to convert the following code to VB .Net, I still have some
gaps (the lines that are marked with (*))
and also I need an ending condition for the while loop.
any help would be...
|
by: Bosconian |
last post by:
I'm currently using overLib 4.21 which works well for the most part, but it
doesn't fully support CSS and doesn't always behave properly with Safari
(for the Mac.) It's also overly bloated for my...
|
by: wesley_snipes1 |
last post by:
Hello. Anyone feel free to help me as it would be greatly appreciated.
I am attempting to dynamically create tooltips using the likes of
CoolTips, OverLib or anything else out there that will do. I...
|
by: Number 11950 - GPEMC! Replace number with 11950 |
last post by:
When you highlight a selection of text represented in an object on a form,
somewhere in the Framework or alternatively in the Windows API there exists
an array of variables that either contain as a...
|
by: Celeste |
last post by:
Hello,
I'm trying to parse the referring url for google search terms so that when this page loads it will scroll to and highlight the search term(s). Should i be using document.referrer?
...
|
by: Merlin1857 |
last post by:
A thing I have been asked for on a number of occasions is the ability to highlight text after its been searched for in a record return page. The following does this perfectly.
Use this function...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |