473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

OverLib - highlight text?

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

Jul 14 '07 #1
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...

Jul 14 '07 #2
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)
Jul 14 '07 #3
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!

Jul 14 '07 #4
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.
Jul 14 '07 #5
-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)
Jul 14 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
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 =...
3
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...
1
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...
5
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...
3
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...
2
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...
2
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...
2
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? ...
0
Merlin1857
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...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.