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!) 21 13594
"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
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-----
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)
> [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
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)
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
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 |
`-------------------------------------------------- --<--@ ------------'
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 > writesPlainDave 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) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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...
|
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...
| |
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 ??
|
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,...
|
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.
|
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
| |
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |