how to produce a tooltip ( like one we have in VB ) ?

how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 07:31:30 von dgs

How to produce a tooltip ?
Like one we have in VB as elements attribute.
Is there any function for it ?

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 10:55:03 von Bucky Kaufman

"dgs" wrote in message
news:4961c559-f577-4670-81a2-7789e9620205@a39g2000pre.google groups.com...

> How to produce a tooltip ?
> Like one we have in VB as elements attribute.
> Is there any function for it ?

In HTML, simply use a "title" attribute to just about any tag.
It'll operate in the browser just like a Windows tooltip.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 12:47:51 von NerdRevenge

dgs wrote:
> How to produce a tooltip ?
> Like one we have in VB as elements attribute.
> Is there any function for it ?

The truly simple way is to use the title attribute.
You can use javascript to generate fancy tooltips, but
title="xxxx" is just much easier and will display as a tooltip in
most browsers.

bill

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 15:17:32 von Jerry Stuckle

bill wrote:
> dgs wrote:
>> How to produce a tooltip ?
>> Like one we have in VB as elements attribute.
>> Is there any function for it ?
>
> The truly simple way is to use the title attribute.
> You can use javascript to generate fancy tooltips, but title="xxxx" is
> just much easier and will display as a tooltip in most browsers.
>
> bill
>

Which works only in IE...

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 15:24:08 von Jerry Stuckle

dgs wrote:
> How to produce a tooltip ?
> Like one we have in VB as elements attribute.
> Is there any function for it ?
>

You can't with PHP. PHP is server side, tool tips are client side.

You can do it in html for IE, or using CSS for others. Try alt.html
and/or comp.infosystems.www.authoring.stylesheets.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 16:56:33 von Sandy.Pittendrigh

Interesting, I didn't know about title="xxx" working in IE,
which I use occasionally, for testing only.

......so, to make tooltips that work in all browsers, you could
use the css2 hidden span trick for Firefox, Safari, Opera, Konqueror
and IE7. For IEsicks you would add the title="xxx" attribute.
Then you'd have an ugly hack that would work in all browsers.
Did I get that right?

(None of that is php per-se, but if you dynamically generate
your pages, you still have to write all of the above
into your php at some point)

|OT| how to produce a tooltip ( like one we have in VB ) ?)

am 17.11.2007 17:07:12 von John Dunlop

Jerry Stuckle:

[re title attribute rendered as tooltip]

> Which works only in IE...

Only IE counts, Shirley??

--
Jock

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 19:09:59 von Jerry Stuckle

salmobytes wrote:
> Interesting, I didn't know about title="xxx" working in IE,
> which I use occasionally, for testing only.
>
> .....so, to make tooltips that work in all browsers, you could
> use the css2 hidden span trick for Firefox, Safari, Opera, Konqueror
> and IE7. For IEsicks you would add the title="xxx" attribute.
> Then you'd have an ugly hack that would work in all browsers.
> Did I get that right?
>
> (None of that is php per-se, but if you dynamically generate
> your pages, you still have to write all of the above
> into your php at some point)
>
>

You can ask in an appropriate newsgroup;... None of this is php related.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 21:50:29 von NerdRevenge

Jerry Stuckle wrote:
> bill wrote:
>> dgs wrote:
>>> How to produce a tooltip ?
>>> Like one we have in VB as elements attribute.
>>> Is there any function for it ?
>>
>> The truly simple way is to use the title attribute.
>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>> just much easier and will display as a tooltip in most browsers.
>>
>> bill
>>
>
> Which works only in IE...
>
not true, works just fine in Firfox.

bill

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 21:52:10 von NerdRevenge

Jerry Stuckle wrote:
> bill wrote:
>> dgs wrote:
>>> How to produce a tooltip ?
>>> Like one we have in VB as elements attribute.
>>> Is there any function for it ?
>>
>> The truly simple way is to use the title attribute.
>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>> just much easier and will display as a tooltip in most browsers.
>>
>> bill
>>
>
> Which works only in IE...
>

I only have Internet Exploder and Firefox 2.x.
Can anyone test this in Opera and other browsers ?

bill

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 22:12:56 von Dave Pyles

On 11/17/2007 3:52 PM, bill wrote:
> Jerry Stuckle wrote:
>> bill wrote:
>>> dgs wrote:
>>>> How to produce a tooltip ?
>>>> Like one we have in VB as elements attribute.
>>>> Is there any function for it ?
>>>
>>> The truly simple way is to use the title attribute.
>>> You can use javascript to generate fancy tooltips, but title="xxxx"
>>> is just much easier and will display as a tooltip in most browsers.
>>>
>>> bill
>>>
>>
>> Which works only in IE...
>>
>
> I only have Internet Exploder and Firefox 2.x.
> Can anyone test this in Opera and other browsers ?
>
> bill
It doesn't work on Opera.
Dave Pyles

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 23:45:53 von 23s

"bill" wrote in message
news:JPqdnScA5sOIyaLanZ2dnUVZ_g2dnZ2d@cablespeedmi.com...
> Jerry Stuckle wrote:
>> bill wrote:
>>> dgs wrote:
>>>> How to produce a tooltip ?
>>>> Like one we have in VB as elements attribute.
>>>> Is there any function for it ?
>>>
>>> The truly simple way is to use the title attribute.
>>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>>> just much easier and will display as a tooltip in most browsers.
>>>
>>> bill
>>>
>>
>> Which works only in IE...
>>
> not true, works just fine in Firfox.
>
> bill

Works ok in Opera too, but not in that slow, lumbering piece of junk called
'Safari' (on Windows anyway).

Re: how to produce a tooltip ( like one we have in VB ) ?

am 17.11.2007 23:46:48 von 23s

"David Pyles" wrote in message
news:fhnlhu$1o7r$1@pyrite.mv.net...
> On 11/17/2007 3:52 PM, bill wrote:
>> Jerry Stuckle wrote:
>>> bill wrote:
>>>> dgs wrote:
>>>>> How to produce a tooltip ?
>>>>> Like one we have in VB as elements attribute.
>>>>> Is there any function for it ?
>>>>
>>>> The truly simple way is to use the title attribute.
>>>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>>>> just much easier and will display as a tooltip in most browsers.
>>>>
>>>> bill
>>>>
>>>
>>> Which works only in IE...
>>>
>>
>> I only have Internet Exploder and Firefox 2.x.
>> Can anyone test this in Opera and other browsers ?
>>
>> bill
> It doesn't work on Opera.
> Dave Pyles

Yes it does. I have Opera 9.24 and it works for me.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 00:04:21 von Bucky Kaufman

"Jerry Stuckle" wrote in message
news:GZednRGMM96bZaPanZ2dnUVZ_rzinZ2d@comcast.com...
> bill wrote:

>> The truly simple way is to use the title attribute.
>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>> just much easier and will display as a tooltip in most browsers.
>>
>> bill
>
> Which works only in IE...

I use Mozilla - and it works in Mozilla.
http://www.kaufman.net

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 00:05:05 von Dave Pyles

On 11/17/2007 5:46 PM, asdf wrote:
> "David Pyles" wrote in message
> news:fhnlhu$1o7r$1@pyrite.mv.net...
>> On 11/17/2007 3:52 PM, bill wrote:
>>> Jerry Stuckle wrote:
>>>> bill wrote:
>>>>> dgs wrote:
>>>>>> How to produce a tooltip ?
>>>>>> Like one we have in VB as elements attribute.
>>>>>> Is there any function for it ?
>>>>> The truly simple way is to use the title attribute.
>>>>> You can use javascript to generate fancy tooltips, but title="xxxx" is
>>>>> just much easier and will display as a tooltip in most browsers.
>>>>>
>>>>> bill
>>>>>
>>>> Which works only in IE...
>>>>
>>> I only have Internet Exploder and Firefox 2.x.
>>> Can anyone test this in Opera and other browsers ?
>>>
>>> bill
>> It doesn't work on Opera.
>> Dave Pyles
>
> Yes it does. I have Opera 9.24 and it works for me.
>
>
You're right, it does work n Opera. I added a title tag to an image in
a file on my computer, but I had a typo in it. I typed "-" instead of
"=". Sorry about that.

Dave Pyles

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 00:56:44 von Bucky Kaufman

"David Pyles" wrote in message
news:fhns3u$1q54$1@pyrite.mv.net...
> On 11/17/2007 5:46 PM, asdf wrote:
>> "David Pyles" wrote in message
>>> On 11/17/2007 3:52 PM, bill wrote:
>>>> Jerry Stuckle wrote:

>>>>> Which works only in IE...
>>>>>
>>>> I only have Internet Exploder and Firefox 2.x.
>>>> Can anyone test this in Opera and other browsers ?
>>>>
>>>> bill
>>> It doesn't work on Opera.
>>> Dave Pyles
>>
>> Yes it does. I have Opera 9.24 and it works for me.

Has anybody found an instance in which the TITLE attribute did NOT produce
an MS-style ToolTip?
I'm coming to think that this may be one of the FEW html features that
actually works exactly the same on every setup.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 01:15:50 von 23s

"Sanders Kaufman" wrote in message
news:0dL%i.22230$lD6.4176@newssvr27.news.prodigy.net...
> "David Pyles" wrote in message
> news:fhns3u$1q54$1@pyrite.mv.net...
>> On 11/17/2007 5:46 PM, asdf wrote:
>>> "David Pyles" wrote in message
>>>> On 11/17/2007 3:52 PM, bill wrote:
>>>>> Jerry Stuckle wrote:
>
>>>>>> Which works only in IE...
>>>>>>
>>>>> I only have Internet Exploder and Firefox 2.x.
>>>>> Can anyone test this in Opera and other browsers ?
>>>>>
>>>>> bill
>>>> It doesn't work on Opera.
>>>> Dave Pyles
>>>
>>> Yes it does. I have Opera 9.24 and it works for me.
>
> Has anybody found an instance in which the TITLE attribute did NOT produce
> an MS-style ToolTip?
> I'm coming to think that this may be one of the FEW html features that
> actually works exactly the same on every setup.
>


It doesn't work on the Safari 3.0.3 Beta for Windows.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 02:15:06 von Bucky Kaufman

"asdf" wrote in message
news:473f8448$0$29781$5a62ac22@per-qv1-newsreader-01.iinet.n et.au...
> "Sanders Kaufman" wrote in message

>> Has anybody found an instance in which the TITLE attribute did NOT
>> produce an MS-style ToolTip?
>> I'm coming to think that this may be one of the FEW html features that
>> actually works exactly the same on every setup.
>
> It doesn't work on the Safari 3.0.3 Beta for Windows.

I'm thinking more along the lines of software that's actually been released.
:)
I don't care about obsolete releases, either.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 02:31:22 von Steve

"Sanders Kaufman" wrote in message
news:0dL%i.22230$lD6.4176@newssvr27.news.prodigy.net...
> "David Pyles" wrote in message
> news:fhns3u$1q54$1@pyrite.mv.net...
>> On 11/17/2007 5:46 PM, asdf wrote:
>>> "David Pyles" wrote in message
>>>> On 11/17/2007 3:52 PM, bill wrote:
>>>>> Jerry Stuckle wrote:
>
>>>>>> Which works only in IE...
>>>>>>
>>>>> I only have Internet Exploder and Firefox 2.x.
>>>>> Can anyone test this in Opera and other browsers ?
>>>>>
>>>>> bill
>>>> It doesn't work on Opera.
>>>> Dave Pyles
>>>
>>> Yes it does. I have Opera 9.24 and it works for me.
>
> Has anybody found an instance in which the TITLE attribute did NOT produce
> an MS-style ToolTip?

why yes. firefox, for instance, won't treat \r\n as it should. it shows
unprintable chars in their place and fails to start a new line of text.

> I'm coming to think that this may be one of the FEW html features that
> actually works exactly the same on every setup.

you'd be wrong. however, title is required by most html elements according
from what i recall to the latest w3c standard...so, not surprising that most
browsers show at least some interaction with the tag.

Re: how to produce a tooltip ( like one we have in VB ) ?

am 18.11.2007 02:33:14 von Steve

"Jerry Stuckle" wrote in message
news:HrCdnbsi2_sfs6LanZ2dnUVZ_jCdnZ2d@comcast.com...
> salmobytes wrote:
>> Interesting, I didn't know about title="xxx" working in IE,
>> which I use occasionally, for testing only.
>>
>> .....so, to make tooltips that work in all browsers, you could
>> use the css2 hidden span trick for Firefox, Safari, Opera, Konqueror
>> and IE7. For IEsicks you would add the title="xxx" attribute.
>> Then you'd have an ugly hack that would work in all browsers.
>> Did I get that right?
>>
>> (None of that is php per-se, but if you dynamically generate
>> your pages, you still have to write all of the above
>> into your php at some point)
>>
>>
>
> You can ask in an appropriate newsgroup;... None of this is php related.

i see your point now jerry...a jerry stuckle in an html or browser ng might
not say only gives tooltip type functionality in ie. :)<br /> <br /> just giving you a hard time, jer. have a good weekend.</p> </article> <article> <h2>Re: how to produce a tooltip ( like one we have in VB ) ?</h2><span>am 18.11.2007 12:30:42 von 23s</span> <p>"Sanders Kaufman" <bucky@kaufman.net> wrote in message <br /> news:umM%i.22244$lD6.307@newssvr27.news.prodigy.net...<br /> > "asdf" <asdf@asdf.com> wrote in message <br /> > news:473f8448$0$29781$5a62ac22@per-qv1-newsreader-01.iinet.n et.au...<br /> >> "Sanders Kaufman" <bucky@kaufman.net> wrote in message<br /> ><br /> >>> Has anybody found an instance in which the TITLE attribute did NOT <br /> >>> produce an MS-style ToolTip?<br /> >>> I'm coming to think that this may be one of the FEW html features that <br /> >>> actually works exactly the same on every setup.<br /> >><br /> >> It doesn't work on the Safari 3.0.3 Beta for Windows.<br /> ><br /> > I'm thinking more along the lines of software that's actually been <br /> > released. :)<br /> > I don't care about obsolete releases, either.<br /> ><br /> <br /> Maybe so, but the beta is the best we've got of Safari on a non-Mac platform <br /> so far ;)</p> </article> <article> <h2>Re: how to produce a tooltip ( like one we have in VB ) ?</h2><span>am 18.11.2007 12:32:48 von John Dunlop</span> <p>Steve:<br /> <br /> > [Sanders Kaufman:]<br /> ><br /> > > Has anybody found an instance in which the TITLE attribute did NOT produce<br /> > > an MS-style ToolTip?<br /> <br /> If you mean out-of-the-box visual browsers, Lynx.<br /> <br /> > why yes. firefox, for instance, won't treat \r\n as it should. it shows<br /> > unprintable chars in their place and fails to start a new line of text.<br /> <br /> Interpreting \r\n here as starting a new line would also be an error<br /> because \r and \n are equivalent to space and sequences of spaces<br /> should be collapsed into a single one. Indeed, _not_ collapsing<br /> sequences of spaces is an error as well.<br /> <br /> XHTML (How To Meet Ladies, X-Rated) is, ahem, different.<br /> <br /> > > I'm coming to think that this may be one of the FEW html features that<br /> > > actually works exactly the same on every setup.<br /> <br /> Uniformity in _rendering_ was never an ideal.<br /> <br /> > however, title is required by most html elements<br /> <br /> No.<br /> <br /> > according from what i recall to the latest w3c standard...<br /> <br /> "W3C standard" is mildly misleading, given that the W3C is, in spite<br /> of the image they project, a consortium, not a standards body. The<br /> W3C publish technical reports called Recommendations, not to be<br /> confused with bona fide standards such as those published by ISO or,<br /> as close as we get to Internet standards, IETF.<br /> <br /> > so, not surprising that most browsers show at least some interaction<br /> > with the tag.<br /> <br /> http://www.flightlab.com/~joe/sgml/faq-not.txt (see part 5)<br /> <br /> --<br /> Jock</p> </article> <article> <h2>Re: how to produce a tooltip ( like one we have in VB ) ?</h2><span>am 18.11.2007 13:29:45 von Toby A Inkster</span> <p>Sanders Kaufman wrote:<br /> <br /> > Has anybody found an instance in which the TITLE attribute did NOT produce <br /> > an MS-style ToolTip?<br /> <br /> Lynx.<br /> <br /> -- <br /> Toby A Inkster BSc (Hons) ARCS<br /> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]<br /> [OS: Linux 2.6.12-12mdksmp, up 11 days, 19:26.]<br /> [Now Playing: ./eric_clapton/complete_clapton/1_03_-_white_room.ogg.]<br /> <br /> Belgium<br /> http://tobyinkster.co.uk/blog/2007/11/17/belgium/</p> </article> <article> <h2>Re: how to produce a tooltip ( like one we have in VB ) ?</h2><span>am 18.11.2007 22:09:54 von Michael Fesser</span> <p>..oO(Steve)<br /> <br /> >why yes. firefox, for instance, won't treat \r\n as it should. it shows <br /> >unprintable chars in their place and fails to start a new line of text.<br /> <br /> This is more or less correct behaviour (BTW: which browser shows line<br /> breaks in a tool tip?) But the real problem in FF is the length limit of<br /> the tool tip.<br /> <br /> >> I'm coming to think that this may be one of the FEW html features that <br /> >> actually works exactly the same on every setup.<br /> ><br /> >you'd be wrong. however, title is required by most html elements according <br /> >from what i recall to the latest w3c standard<br /> <br /> s/required/allowed/<br /> <br /> Micha</p> </article> <article> <h2>Re: how to produce a tooltip ( like one we have in VB ) ?</h2><span>am 18.11.2007 22:13:16 von Michael Fesser</span> <p>..oO(salmobytes)<br /> <br /> >Interesting, I didn't know about title="xxx" working in IE,<br /> >which I use occasionally, for testing only.<br /> ><br /> >.....so, to make tooltips that work in all browsers, you could<br /> >use the css2 hidden span trick for Firefox, Safari, Opera, Konqueror<br /> >and IE7.<br /> <br /> No need for CSS hacks here. The 'title' attribute works in all those<br /> browsers. Safari/Win doesn't count.<br /> <br /> >(None of that is php per-se, but if you dynamically generate<br /> >your pages, you still have to write all of the above<br /> >into your php at some point)<br /> <br /> So I can also ask Eclipse questions here? Because that's what I use to<br /> write my PHP code ...<br /> <br /> Micha</p> </article> <footer> <a href="/">Index</a> | <a href="/impressum.php">Impressum</a> | <a href="/datenschutz.php">Datenschutz</a> | <a href="https://www.xodox.de/">XODOX</a> </footer> </main> </body> </html>