473,704 Members | 2,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making tooltips stay longer...

Hi,

Is there a way to make windows tooltips stay up longer than the default
5 seconds using CSS in a web page? I'd prefer to have it stay visible
as long as the mouse is over the "whatever." The reason: I've been
creating web pages and using various javascripts for the tooltip
popups, and they are fine and very "tweakable. " But, I'd prefer to just
use the "title" and/or the "alt" attribute and somehow alter it so that
viewers to my pages can read the entire tooltip before it disappears.
Thanks!

PlainDave
DDAS Web Design <--(wishful thinking!)

Nov 24 '05 #1
21 13618
"PlainDave" <dd*****@gmail. com> wrote:
Is there a way to make windows tooltips
No such thing, a visual browser may display title content in a pop up
box, but it may also (be configured to) do nothing with it. Nowt to do
with a particular OS.
stay up longer than the default
5 seconds using CSS in a web page?
Again no such thing, there is no "default". Any pop up box display
duration will vary across browsers and fortunately there's nothing web
code can do to change that duration.
I'd prefer to have it stay visible
as long as the mouse is over the "whatever." The reason: I've been
creating web pages and using various javascripts for the tooltip
popups, and they are fine and very "tweakable. " But, I'd prefer to just
use the "title" and/or the "alt" attribute and somehow alter it so that
viewers to my pages can read the entire tooltip before it disappears.


You could use a CSS method to display text on hover, but to display alt
or title attribute content would require a browser that supports
generated content, needless to say that this doesn't include IE. If IE
compatibility is required all you could do is insert the text as page
content in the document, hide it by default and then revealing it on
mouse over. Needless to say that you should consider if coding such text
as page content is appropriate, your document should work with CSS
disabled.

I'd suggest that there is a reason why "tooltip" pop ups disappear after
a certain time, they obscure/cover part of the display. If a user needs
more time to read the content you should ask yourself if you are using
the title attribute and its content appropriately.

Appropriately used, if a user wants more time to read he/she will be
able to move the focus off and back on again to make it reappear.

--
Spartanicus
Nov 24 '05 #2
Thu, 24 Nov 2005 10:54:14 GMT from Spartanicus
<in*****@invali d.invalid>:
Again no such thing, there is no "default". Any pop up box display
duration will vary across browsers and fortunately there's nothing web
code can do to change that duration.


It would be nice, however, if the user could vary that by browser
settings. If there's a way to do it in Mozilla, I couldn't find it n
"about:conf ig".

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Nov 24 '05 #3
How does one use a CSS method to display text on hover? That would be
perfect for my needs, or at least it would be nice to know. Thanks!

PlainDave

Spartanicus wrote:
You could use a CSS method to display text on hover, but to display alt

-----snip-----

Nov 24 '05 #4
PlainDave wrote on 24 nov 2005 in
Spartanicus wrote:
You could use a CSS method to display text on hover, but to display alt

[please do not toppost on usenet]
How does one use a CSS method to display text on hover? That would be
perfect for my needs, or at least it would be nice to know. Thanks!


<style ...>
a.showHovering {visibility:hid den;}
a.showHovering: hover {visibility:vis ible;}

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

<a href='#' class='showHove ring'>Hello!</a>

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Nov 24 '05 #5
> [please do not toppost on usenet]

Sorry about that. I've been using USENET for about 10 1/2 years, and I
had to look up "toppost" to see what you were talking about. I really
should read more! :-)
<style ...>
a.showHovering {visibility:hid den;}
a.showHovering: hover {visibility:vis ible;}
I put the above in the head tag, and I put the line below in the body
of my test page. For some reason, I can't get anything to show up on
the page.
<a href='#' class='showHove ring'>Hello!</a>


Am I supposed to see "Hello!"? Any help would be highly appreciated.

PlainDave

Nov 25 '05 #6
PlainDave wrote on 25 nov 2005 in
comp.infosystem s.www.authoring.stylesheets:
Am I supposed to see "Hello!"? Any help would be highly appreciated.


This will work, IE&FF tested,
first try it in a seperate HTML:

============ HoverTest.html ==============

<style type="text/css">
a.showHovering {color:navy;bac kground-color:navy;
font-size:20pt;paddi ng:20px;}
a.showHovering: hover {color:yellow;}
</style>

<body>

<a href='#' class='showHove ring'>Hello!</a>

=============== ============
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Nov 25 '05 #7
In message <Xn************ ********@194.10 9.133.242>, Evertjan.
<ex************ **@interxnl.net > writes
PlainDave wrote on 25 nov 2005 in
comp.infosyste ms.www.authoring.stylesheets:
Am I supposed to see "Hello!"? Any help would be highly appreciated.


This will work, IE&FF tested,
first try it in a seperate HTML:

============ HoverTest.html ==============

<style type="text/css">
a.showHoveri ng {color:navy;bac kground-color:navy;
font-size:20pt;paddi ng:20px;}
a.showHovering :hover {color:yellow;}
</style>

<body>

<a href='#' class='showHove ring'>Hello!</a>

============== =============

It only works correctly in Opera (8.51) for me... MSIE and FF ignore the
background colour and the Font-size...
--
Chris Hughes
"Reality is that which, when you cease to believe, continues to exist."
http://www.epicure.demon.co.uk
Nov 25 '05 #8
On Fri, 25 Nov 2005 10:04:57 +0100, Evertjan.
<ex************ **@interxnl.net > wrote:
PlainDave wrote on 25 nov 2005 in
comp.infosystem s.www.authoring.stylesheets:
Am I supposed to see "Hello!"? Any help would be highly appreciated.


This will work, IE&FF tested,
first try it in a seperate HTML:

============ HoverTest.html ==============

<style type="text/css">
a.showHovering {color:navy;bac kground-color:navy;
font-size:20pt;paddi ng:20px;}
a.showHovering: hover {color:yellow;}
</style>

<body>

<a href='#' class='showHove ring'>Hello!</a>

=============== ============


This is not coming near any tooltip I would recommend. A tooltip that
would work (though not in IE, so for IE there is the ol' title attribute)
is more like:

<URL:http://home.wanadoo.nl/b.de.zoete/_test/tooltips_with_m arkup_and_css.h tml>

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Nov 25 '05 #9
The Major wrote on 25 nov 2005 in
comp.infosystem s.www.authoring.stylesheets:
In message <Xn************ ********@194.10 9.133.242>, Evertjan.
<ex************ **@interxnl.net > writes
PlainDave wrote on 25 nov 2005 in
comp.infosyst ems.www.authoring.stylesheets:
Am I supposed to see "Hello!"? Any help would be highly appreciated.


This will work, IE&FF tested,
first try it in a seperate HTML:

=========== = HoverTest.html ==============

<style type="text/css">
a.showHoverin g {color:navy;bac kground-color:navy;
font-size:20pt;paddi ng:20px;}
a.showHoverin g:hover {color:yellow;}
</style>

<body>

<a href='#' class='showHove ring'>Hello!</a>

============= ==============

It only works correctly in Opera (8.51) for me... MSIE and FF ignore the
background colour and the Font-size...


I cannot believe that. Sorry.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Nov 25 '05 #10

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

Similar topics

4
3634
by: Guy | last post by:
I'd like so that when a user moves there mouse over an image (or clicks the image, either way it doesn't matter), I'd like some text to appear. I was going to use the img tag with the alt parameter but the text is a few sentences long and the yellowish box doesn't stay up long enough to read the whole thing? Is there a way to keep the yellowish box there until the use moves his mouse away, or to keep the box there for maybe 10 seconds or...
1
2704
by: David Ei | last post by:
I'm working on a C# Windows Forms application that is leaking memory. I've been using the SciTech NetMem Profiler 2 (A really great tool, BTW) to track down leaks. I've found one related to ToolTips that I've been unable to fix. We have a base form, from which we add and remove panels. When created, the panels create tooltips which they associate with themselves. When removed, the panels and their tooltips are Disposed. The disposed...
5
3391
by: Rhino | last post by:
I am trying to determine the behaviour of stored procedures in DB2 V8.2.x in Windows/Unix/Linux and how I can control that behaviour. Some documentation in the manuals is confusing the issue somewhat. First, am I right in understanding that the normal behaviour of a stored procedure, fenced or unfenced, is to only go into memory when it is invoked and to be swapped out of memory when it is not needed any more? Second, am I right in...
1
1839
by: Wayne Aprato | last post by:
Tooltips in Access have not worked on my machine for a long time despite several reinstalls of the operating system and applications at fairly regular intervals. I have finally pinned down the culprit. I have just performed a reformat and reinstallation of all apps and utilites one at a time and checked that tooltips in Access was working after each new application was installed. Acrobat 5 was the culprit. With it installed tooltips...
1
5855
by: bullshark | last post by:
VS2003 1) If you don't have one, add a tooltip control to your design canvas. 2) open the properties for the control that gets the tool tip 3) type in all your text in the 'tooltip on tooltip1' property. The line feeds come later. The property editor has no way to enter a \n. It doesn't parse and it doesn't accept control characters escaped or not. 4) Switch from the design view to the form code. e.g. 'MainFrm.cs' instead of...
11
1677
by: Steve Cutting | last post by:
Hi all, Using the toolbox I added a tooltip provider to my form, and set the text for each of my buttons using the properties window. When I first show the form using .showdialog the tooltips work. However if I close and re-open the form the tooltips are no longer displayed. Am I missing something obvious or is this a bug ??
3
10977
by: Dave Booker | last post by:
It looks like I can't set AutoPopDelay to be longer than 5 seconds -- which is barely enough time to read some of my tooltips. The documentation suggests that if I don't like that I should use ToolTip.Show, but there is no example and I can't get it to work. I created two functions to link to my control's MouseEnter and MouseLeave events, and I can see them being called at the appropriate times, but the tooltip does not appear anywhere...
1
3022
by: HockeyFan | last post by:
Is there a way to control the time that a tooltip stays displayed? I'd like to keep them up at least long enough for the user to read the whole thing.
11
2009
by: Rich Grise | last post by:
I've got a photo gallery on my client's website, and it has been suggested that, rather than show the whole thing full-size on one page (about 9 full- page images), I should put a thumbnails page and link to the big ones. This makes sense to me, but I see a snag - these pix have fairly comprehensive captions, and I don't want the thumnails page to be dominated by captions. So, I figured tooltips would be cool. So, I go googling, and...
0
8766
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8684
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9025
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8975
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6604
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5930
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3134
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2478
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2078
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.