When I saw MSDN website, I saw a page that has a green word in it. When I
place my cursor over it, it show a tooltip explain about the word. I've seen
some of this before (like intelli text advertisement). I want to implement it
in my site. Can someone give me a reference where I can find a sample program
?

Thanks in advance

Michael Rawi

Re: Tooltips ? by mayayana

mayayana
Tue Feb 22 07:44:11 CST 2005

You probably saw the TITLE attribute. It's
a "core attribute" like CLASS and ID that
can apparently be used with any HTML tag:

<A HREF="......." TITLE="Go there now."> Click here</A>

<P TITLE="3rd paragraph">
_____________________________

mayayXXana1a@mindYYspring.com
For return email remove XX and YY.
_____________________________
Michael Rawi <MichaelRawi@discussions.microsoft.com> wrote in message
news:0D679502-8CA5-4B50-96B3-C87E54951505@microsoft.com...
> When I saw MSDN website, I saw a page that has a green word in it. When I
> place my cursor over it, it show a tooltip explain about the word. I've
seen
> some of this before (like intelli text advertisement). I want to implement
it
> in my site. Can someone give me a reference where I can find a sample
program
> ?
>
> Thanks in advance
>
> Michael Rawi



Re: Tooltips ? by Tarmo

Tarmo
Wed Feb 23 00:09:21 CST 2005

The simpliest way is:
<font color="green" title="Your text">Your text</font>. That will give a
tooltip you know from Windows.

Tarmo Tanilsoo
????????????????????????????????????????????????????????????????????????>
When I saw MSDN website, I saw a page that has a green word in it. When I
> place my cursor over it, it show a tooltip explain about the word. I've
seen
> some of this before (like intelli text advertisement). I want to implement
it
> in my site. Can someone give me a reference where I can find a sample
program
> ?
>
> Thanks in advance
>
> Michael Rawi



Re: Tooltips ? by MichaelRawi

MichaelRawi
Thu Feb 24 20:27:03 CST 2005

No. I've known that title properties. What I mean is the green word that have
some tooltip. Just see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/faq_wss.asp

That site should have some green word on it like Microsoft® ActiveX® Data
Objects (ADO). When your mouse point it, the tooltips will appear.

The IntelliTXT from vibrant media make this also. Just see
http://tribal.us.intellitxt.com/whatisIntelliTXT.asp?ipid=919&cc=us

Those tooltips might use scripts. I want to know how they works. Can someone
give me the reference or tutorial on how to make this ?

Thanks in advance

Michael Rawi

"Tarmo Tanilsoo" wrote:

> The simpliest way is:
> <font color="green" title="Your text">Your text</font>. That will give a
> tooltip you know from Windows.
>
> Tarmo Tanilsoo
> ????????????????????????????????????????????????????????????????????????>
> When I saw MSDN website, I saw a page that has a green word in it. When I
> > place my cursor over it, it show a tooltip explain about the word. I've
> seen
> > some of this before (like intelli text advertisement). I want to implement
> it
> > in my site. Can someone give me a reference where I can find a sample
> program
> > ?
> >
> > Thanks in advance
> >
> > Michael Rawi
>
>
>

Re: Tooltips ? by mayayana

mayayana
Fri Feb 25 00:08:31 CST 2005

Here's the code from intellitxt.com.
(It was much easier than figuring out Microsoft's
page. MS had no less than 10 CSS links for a page
with virtually no style, and I didn't find any script links
in that mess.)

--------------------
function showIntelliTxtDemo (titleText, adText, domainURL, clickTag)
{
// create DIV
iTt.style.left = 100;
iTt.style.top = 100;
iTt.style.width = 350;
iTt.style.visibility = '';
iTt.innerHTML = "<table
style='color:black;cursor:pointer;cursor:hand;font-family:verdana;font-size:
8pt;' onMouseOut=startTimeout(150); onMouseOver=resetTimeout();
onClick=window.open('"+clickTag+"'); cellpadding='0' cellspacing='3'><tr><td
align='center' style='color:gray;font-size:7pt'>SPONSORED
LINK</td></tr><tr><td><nobr><b
style='color:darkBlue;'>"+titleText+"</b></nobr></td></tr><tr><td>"+adText+"
</td></tr><tr><td style='color:darkBlue;'>"+domainURL+"</td></tr></table>";
var oBo = cBB (iTTT);
var oBp = cBB (iTt);
iTt.style.left = oBo.r+5;
iTt.style.top = oBo.t-10-(oBp.b-oBp.t);
}-----------------

It seems to be just a simple DIV with a table in it,
set to visible only on mouseOver. It's doable because
CSS allows for exact positioning and visibility control.
It requires that javascript be enabled, though, which
means that about 10% of your visitors won't see it,
while everyone will see the TITLE version.

--
_____________________________

mayayXXana1a@mindYYspring.com
For return email remove XX and YY.
_____________________________
Michael Rawi <MichaelRawi@discussions.microsoft.com> wrote in message
news:F8A1932C-9245-4CBD-84FA-A9706435DD55@microsoft.com...
> No. I've known that title properties. What I mean is the green word that
have
> some tooltip. Just see
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/faq
_wss.asp
>
> That site should have some green word on it like Microsoft® ActiveX® Data
> Objects (ADO). When your mouse point it, the tooltips will appear.
>
> The IntelliTXT from vibrant media make this also. Just see
> http://tribal.us.intellitxt.com/whatisIntelliTXT.asp?ipid=919&cc=us
>
> Those tooltips might use scripts. I want to know how they works. Can
someone
> give me the reference or tutorial on how to make this ?
>
> Thanks in advance
>
> Michael Rawi
>
> "Tarmo Tanilsoo" wrote:
>
> > The simpliest way is:
> > <font color="green" title="Your text">Your text</font>. That will give a
> > tooltip you know from Windows.
> >
> > Tarmo Tanilsoo
> >
????????????????????????????????????????????????????????????????????????>
> > When I saw MSDN website, I saw a page that has a green word in it. When
I
> > > place my cursor over it, it show a tooltip explain about the word.
I've
> > seen
> > > some of this before (like intelli text advertisement). I want to
implement
> > it
> > > in my site. Can someone give me a reference where I can find a sample
> > program
> > > ?
> > >
> > > Thanks in advance
> > >
> > > Michael Rawi
> >
> >
> >



Re: Tooltips ? by Roland

Roland
Fri Feb 25 02:14:47 CST 2005

"Michael Rawi" wrote in message
news:F8A1932C-9245-4CBD-84FA-A9706435DD55@microsoft.com...
: No. I've known that title properties. What I mean is the green word that
have
: some tooltip. Just see
:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/faq_wss.asp
:
: That site should have some green word on it like Microsoft® ActiveX® Data
: Objects (ADO). When your mouse point it, the tooltips will appear.
:
: The IntelliTXT from vibrant media make this also. Just see
: http://tribal.us.intellitxt.com/whatisIntelliTXT.asp?ipid=919&cc=us
:
: Those tooltips might use scripts. I want to know how they works. Can
someone
: give me the reference or tutorial on how to make this ?

I built mine:
http://kiddanger.com/lab/divpop1.html
from information here:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/createpopup.asp

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: Tooltips ? by mayayana

mayayana
Fri Feb 25 08:58:37 CST 2005

I imagine you may know this already, but your
page doesn't work outside of later versions of
IE with script enabled. (I don't find CreatePopup
in the IE 5 DOM and my IE v. 5.00 shows an error
that the created popup "is not an object". And the
gradient requires ActiveX enabled....So it apparently
only works in IE6 with script and ActiveX enabled. (?!)
That wouldn't be of much use outside of a controlled
intranet. (Or maybe within a 3 mile radius of Redmond. :) )

In Firefox, with or without script enabled, there is only:

"The popup is cool! Popups are always cool!"

on a white background with no extra functionality.
(If viewed with no style the other lines appear.)

> I built mine:
> http://kiddanger.com/lab/divpop1.html
> from information here:
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/methods/createpopup.asp
>
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>



Re: Tooltips ? by Roland

Roland
Sat Feb 26 02:08:43 CST 2005

"mayayana" wrote in message
news:x2HTd.6717$Ba3.3031@newsread2.news.atl.earthlink.net...
: I imagine you may know this already, but your
: page doesn't work outside of later versions of
: IE with script enabled. (I don't find CreatePopup
: in the IE 5 DOM and my IE v. 5.00 shows an error
: that the created popup "is not an object". And the
: gradient requires ActiveX enabled....So it apparently
: only works in IE6 with script and ActiveX enabled. (?!)
: That wouldn't be of much use outside of a controlled
: intranet. (Or maybe within a 3 mile radius of Redmond. :) )

Considering it's not a production app, and just an example, it's probably
not a worry. Also, I don't support IE 5. My site is for development and
not for corporate users who either refuse to upgrade or are caught up in too
much red tape or lack of resources to keep up with the rest of the world.
There are certain reasons why updates don't happen for some but IE6 has been
out how long? If it were an e-commerce site, I would worry and wouldn't use
anything non-standard to increase my market ablitity.

Checking my log, IE 5 users are single digits, mostly Mac. That site is
used mainly for development. Also, CreatePopup is not a standard so no
other browser than IE will support it, AFAIK.

: In Firefox, with or without script enabled, there is only:
: "The popup is cool! Popups are always cool!"
:
: on a white background with no extra functionality.
: (If viewed with no style the other lines appear.)

I don't think Firefox supports any proprietary MSFT functions, commands,
etc. I have a lot of issues with Firefox not being as standard as they
claim but not in this case. I also take issue as some of their basic
functions appear to fail possibly do to too much time spent on add-ons.
Tabs are nice but error messages are more important to me.

Firefox returning true from a javascript function when there is an error is
just plain coffee-house crap. One would think it would error, which it
doesn't. It is as if it gets to an error and says, "Ok, forget it. Hide it
from the user and just post the damn form." What a novel idea.

IE will error on this test page and tell me the variable is undefined and
then of course stop processing anymore of the script and post the form,
which I also have an issue with but at least I get an error message.
Firefox just posts the page as if "no worries mate."

http://kiddanger.com/lab/firefoxisadink.html

Troubleshooting javascript with this browser is worse than troubleshooting
Perl, well, almost.

If you look at the popup in IE6, it's pretty cool. Too bad the standard's
committee is full of open source and anti-everything MSFT. MSFT does have
some very good ideas that would make our lives easier although IE not
supporting some basic standards, like CSS2, is not one of them. I also do
not agree with allowing someone not to conform, which appears they're still
going to do in IE7 for doctypes.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: Tooltips ? by Roland

Roland
Sat Feb 26 02:42:22 CST 2005

"mayayana" wrote in message
news:x2HTd.6717$Ba3.3031@newsread2.news.atl.earthlink.net...
: I imagine you may know this already, but your
: page doesn't work outside of later versions of
: IE with script enabled. (I don't find CreatePopup
: in the IE 5 DOM and my IE v. 5.00 shows an error
: that the created popup "is not an object". And the
: gradient requires ActiveX enabled....So it apparently
: only works in IE6 with script and ActiveX enabled. (?!)
: That wouldn't be of much use outside of a controlled
: intranet. (Or maybe within a 3 mile radius of Redmond. :) )

Had I changed it to vbscript, then perhaps you're right but since it's in
javascript, it will be supported by IE6 more than 3 miles from Redmond.

: In Firefox, with or without script enabled, there is only:

You're in a client-side vbscript NG.

http://techrepublic.com.com/5100-6270_11-5299400.html#
Firefox does not load Active X controls, it does not support VBScript, ...
Why would you even consider testing anything in Firefox from this NG?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: Tooltips ? by mayayana

mayayana
Sat Feb 26 09:23:24 CST 2005


> Had I changed it to vbscript, then perhaps you're right but since it's in
> javascript, it will be supported by IE6 more than 3 miles from Redmond.
>

Well, of course I was exagerating there, but what I was
getting at is that people not only need to be using IE6 -
they also need to be enabling script and ActiveX. (Even an
IE devotee like yourself would have to admit that that's
a somewhat risky way to be travelling around the Internet.)

The TITLE method works for everyone. The invisible-to-visible
DIV with a high zindex method works if script is enabled (about 90%
of visitors). Even 90% success is a very poor way to do webpages
unless the functionality is superfluous to the purpose of the page.
The IE popup method works only in IE6 with script enabled.

> : In Firefox, with or without script enabled, there is only:
>
> You're in a client-side vbscript NG.
>
> http://techrepublic.com.com/5100-6270_11-5299400.html#
> Firefox does not load Active X controls, it does not support VBScript, ...
> Why would you even consider testing anything in Firefox from this NG?
>

The original poster was saying that he wanted to
use the popup effect "in my site". That's admittedly
a bit off-topic, but that was the post. And your link
was to a publicly-posted website. I figured that
your response could waste a lot of time for a lot
of people if they don't know much about web design:
Someone sees your sample. They download your page
and use the code. They test it out in their browser,
which happens to be IE6. They're tickled by the result
and use that code all over their website, completely
unaware that many people won't see it. Later they
have to go back and fix the whole thing. I thought it
was important for such people to realize that your
method was only relevant for a specialized, semi-
private usage, and you didn't mention that issue
yourself in the post.

You mentioned that you see very little of IE5 at
your website. But what about Firefox/Mozilla? The
general usage of IE among inexperienced
mainstream is now at about 90%. If you combine
that with known script figures then script/IE is
working with about 80-85% of visitors. Among more
experienced users, Mozilla browsers are far more
common. At my own website the vast majority of
visitors are coming for VBS-related things. Many
of those are small-company network administrators
running Windows systems, judging from my email.
Yet last time I checked, about 2 months ago, I was
getting about 65% IE users, with most of the rest
being some version of Mozilla. (Opera at less than 1%.)

Clearly you and I disagree, with you not liking
Firefox and me regarding IE as commercialized crap
that gets worse with every release. (When friends call
me up to ask how they can stop windows popping up
all over their screen uncontrollably, I don't need to ask
what browser they're using. It can only be IE!)
But I don't think all of that matters when doing a website.
If you want most people to see your pages as you intend
them, then you have to relate to different browsers.



Re: Tooltips ? by Roland

Roland
Sun Feb 27 04:33:25 CST 2005


"mayayana" <mayaXXyana1a@mindYYspring.com> wrote in message
news:Mv0Ud.112$wy3.14@newsread3.news.atl.earthlink.net...
:
: > Had I changed it to vbscript, then perhaps you're right but since it's
in
: > javascript, it will be supported by IE6 more than 3 miles from Redmond.
: >
:
: Well, of course I was exagerating there, but what I was
: getting at is that people not only need to be using IE6 -
: they also need to be enabling script and ActiveX. (Even an
: IE devotee like yourself would have to admit that that's
: a somewhat risky way to be travelling around the Internet.)
:
: The TITLE method works for everyone. The invisible-to-visible
: DIV with a high zindex method works if script is enabled (about 90%
: of visitors). Even 90% success is a very poor way to do webpages
: unless the functionality is superfluous to the purpose of the page.
: The IE popup method works only in IE6 with script enabled.

True.

: > : In Firefox, with or without script enabled, there is only:
: >
: > You're in a client-side vbscript NG.
: >
: > http://techrepublic.com.com/5100-6270_11-5299400.html#
: > Firefox does not load Active X controls, it does not support VBScript,
...
: > Why would you even consider testing anything in Firefox from this NG?
: >
:
: The original poster was saying that he wanted to
: use the popup effect "in my site". That's admittedly
: a bit off-topic, but that was the post. And your link
: was to a publicly-posted website. I figured that
: your response could waste a lot of time for a lot
: of people if they don't know much about web design:
: Someone sees your sample. They download your page
: and use the code. They test it out in their browser,
: which happens to be IE6. They're tickled by the result
: and use that code all over their website, completely
: unaware that many people won't see it. Later they
: have to go back and fix the whole thing. I thought it
: was important for such people to realize that your
: method was only relevant for a specialized, semi-
: private usage, and you didn't mention that issue
: yourself in the post.

Well I should have written it in VBScript so I can see where that might
cause some confusion. Good point.

: You mentioned that you see very little of IE5 at
: your website. But what about Firefox/Mozilla? The
: general usage of IE among inexperienced
: mainstream is now at about 90%.

How do you know if someone coming to your site using a particular browser is
experienced/unexperienced? I could use that type of data to do marketing.
(O:=

: If you combine
: that with known script figures then script/IE is
: working with about 80-85% of visitors. Among more
: experienced users, Mozilla browsers are far more
: common.

Where are you getting these numbers? What qualifies as more experienced or
do you automatically assume open source users more experienced simply by the
virtue of their using open source?

: At my own website the vast majority of
: visitors are coming for VBS-related things. Many
: of those are small-company network administrators
: running Windows systems, judging from my email.
: Yet last time I checked, about 2 months ago, I was
: getting about 65% IE users, with most of the rest
: being some version of Mozilla. (Opera at less than 1%.)

Currently I would have to check but not too long ago, not much Firefox on
that particular site. However, on one of my e-commerce sites, I am getting
roughly 12% Firefox.

: Clearly you and I disagree, with you not liking
: Firefox and me regarding IE as commercialized crap
: that gets worse with every release. (When friends call
: me up to ask how they can stop windows popping up
: all over their screen uncontrollably, I don't need to ask
: what browser they're using. It can only be IE!)

1. My dislike for Firefox has nothing to do with IE as I'm not real happy
with IE currently either. A browser exiting from a function just because it
got an error and not returning it makes it a nightmare to troubleshoot.

: But I don't think all of that matters when doing a website.
: If you want most people to see your pages as you intend
: them, then you have to relate to different browsers.

Yes, I would agree that you should write for your target. Perhaps my
numbers are somewhat skewed but most of my development is on the server side
so either browser accepts it. While IE is dragging hind t*t in the CSS
arena, I find Firefox having issues when they say they're compliant. I
don't consider breakage compliant. Don't even get me started on Opera,
Mozilla or Netscape. I wish they'd all get their act together and make it
easier on our end, which would provide a lot better experience to the user.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: Tooltips ? by mayayana

mayayana
Sun Feb 27 13:15:05 CST 2005

> How do you know if someone coming to your site using a particular browser
is
> experienced/unexperienced? I could use that type of data to do marketing.
> (O:=
>
> What qualifies as more experienced or
> do you automatically assume open source users more experienced simply by
the
> virtue of their using open source?

There are two deductions there on my part. One is that my site
visitors are more experienced than the mainstream in general.
The second is that that must account for the huge discrepancy
between my logs and the popular published studies.

At my site, far more of the visitors are using Mozilla
variants than in the most-widely-talked-about WebSideStory
study. (Sorry, I don't have a link for that) WSS found about 90%
in the US using IE and somewhat lower worldwide. (I think the
worldwide figure was something like 88%, but I'm not certain.)
At my site IE usage was about 65% for the same period.

This is a description I had saved of the WebSideStory
study:

"The study measured market share by embedding sensors
on major Web sites such as those of the Walt Disney Internet
Group, Best Buy, Sony and Liz Claiborne. Previous studies from
WebSideStory tested all operating systems, but the company
said its Windows-only numbers are more accurate because new
configurations in Apple Computer's Safari browser inadvertently
skewed results. WebSideStory retrieves data from 30 million
Internet users a day passing through its monitored sites."


It appears that the WSS study was trying its best to get a
general cross section from a commercial point of view; the sort
of study that views people online in their role as "consumers".
(They've also apparently pre-filtered people who block 3rd-party
web bugs and may be filtering people who disable script,
depending on how their "embedded sensors" work.)

My site, on the other hand, is not attractive to the mainstream
and is not particularly consumer-friendly. The vast majority of
my visitors come from Google and have typed in something
like "vbscript sample" or "customize folder xp", etc. I offer no
sports scores, no shopping, no Britney Spears pictures, no
music files and no gems of daytime TV wisdom from the likes
of Madonna, Oprah, or Dr. Phil. I don't even have a trendy blog
for my poor visitors to dribble their prattle onto. :)

My typical visitor is trying to figure out a computer-related
problem or annoyance, working with script, or experimenting
with their computer. So I'm deducing that the discrepancy
between the WebSideStory figures and what I'm seeing
in my logs is the difference between mainstream users -
who rarely change software deliberately - and experienced
users with at least minimal "computer aptitude".

> : If you combine
> : that with known script figures then script/IE is
> : working with about 80-85% of visitors. Among more
> : experienced users, Mozilla browsers are far more
> : common.
>
> Where are you getting these numbers?

I don't have a link for that but I saw some figures online
recently. It was a collection of study results for web
masters. According to their figures, about 90% of browsers
online are script-enabled. Interestingly, their figures
went back several years and the 10%+- script-disabled
rate is a constant. I would have guessed that more people
were disabling script now than in the past, but that
wasn't what their figures showed. I don't know
what that means. Maybe that 10% is a combination of
cautious nerds and people using corporate-controlled
browsers from their place of work?

In any case, my guess of 80-85% is based on that
figure: If 90% of people are using IE and 90% enable
script, then the number of people who see script effects
specific to IE will be 80%+ at the least and a bit under
90% at the most. I would tend to guess on the lower side,
using the same reasoning as above: People who change
their browser are also more likely to be people who adjust
their browser settings, so the non-script people are more
likely to also be the non-IE people.

>
> 1. My dislike for Firefox has nothing to do with IE as I'm not real happy
> with IE currently either. A browser exiting from a function just because
it
> got an error and not returning it makes it a nightmare to troubleshoot.
>
> While IE is dragging hind t*t in the CSS
> arena, I find Firefox having issues when they say they're compliant. I
> don't consider breakage compliant. Don't even get me started on
Opera.....

I avoid using script so I'm not familiar with that problem.
I *am* concerned about graphical compatibility. In that
regard I've found Mozilla browsers to be adequate, though
I guess I don't have a high standard: I expect
problems and there seem to be less problems than there
were between IE and Netscape 4.

With IE my real complaint is only with security. I actually love
IE for its flexibility. I try to be conservative with CSS. (Just
in case I get visitors with old browsers or style disabled, I
want my pages to be at least functional.) So I don't mind
IE being behind on CSS, and it's by far the most adaptable
browser, in terms of trying to make sense out of bad code,
while the Opera people seem to be more interested in
web standards than they are in having the Internet serve
it's purpose. I've got an axe to grind with them because
their fanatical, inflexible approach forced me to rewrite all
my pages at one point, due to their function of dropping all
format tags when another tag is encountered. (i.e. FONT
and B won't carry through beyond things like HR.)