How do I get text to display when the cursor is over an image?

R

rjb4653

re: FrontPage 2003 Each page in my web has numbers to click for other pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the number.

Thanks,

John
 
M

Murray

Use the title attribute -

<img src="number1.gif" title="This is the number 'one'"....
 
C

clintonG

You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked item.
Furthermore, the paging generated by the push-button monkey code generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 
S

Steve Easton

Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

clintonG said:
You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked item.
Furthermore, the paging generated by the push-button monkey code generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




rjb4653 said:
re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
B

Bob Lehmann

Clinton's off his meds again.

Bob Lehmann

Steve Easton said:
Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

clintonG said:
You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked item.
Furthermore, the paging generated by the push-button monkey code generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




rjb4653 said:
re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
M

Murray

I'll try to translate. This'll be hard, because Babblefish does not have a
Clinton option.

1. If the numbers came from a wizard in FP, you are sol since you don't
have access to the innards of that (I think that's wrong but it's likely
good advice for the persons likely to use such things).
2. You can do the automatic paging/numbering yourself, but for further
information read the last part of the parenthetical remark in #1 above.
3. Assuming you *do* have access to the numbers, and assuming that it's not
some dopey static number, and assuming you want to answer the OP's question
in its most literal sense, then you would need some server-side solution to
dynamically write the destination of each link into the corresponding
number's alt attribute and title attribute so that onmouseover, it would
display the destination of that link for you (I don't think it's necessary
to do both alt and title attributes) (I also think there might be a
client-side solution here).

Given the complexity of all this, you might be better off to give it a bye
(in my opinion, it would depend on how these pages are generated).

As far as I can tell, that's nearly a literal translation of the
clinton-speak....

--
Murray
============

Steve Easton said:
Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

clintonG said:
You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked
item.
Furthermore, the paging generated by the push-button monkey code
generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would
have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




rjb4653 said:
re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
C

clintonG

What do you mean huh?

The OP apparently wants to display a URL using an onMouseOver event which is
an intrinsicevent when the alt attribute is used in image elements noting
Firefraud does not support the alt element in this regard. The event is also
intrinsic to IE which supports the alt attribute for images and the title
attribue for links.
As the OP doesn't say one way or the other who can know which context he is
referring to.

All that was clear to me that his intention is to use a 'tooltip' that is
displayed by an intrinsic event named onMouseOver. With regard to paging
there would generally be no means to know which page or URL the paging
activator would be referring to. Thus, a script would be required to
populate the attribute values with the URL that is relative to the context
of the paging activator.

That's how I read the intention of the OP's request.

<%= Clinton Gallagher

Steve Easton said:
Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

clintonG said:
You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked
item.
Furthermore, the paging generated by the push-button monkey code
generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would
have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




rjb4653 said:
re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
B

Bob Lehmann

Firefraud ??? You must be referring to IE7 - Microsoft's attempt to
duplicate the functionality found in modern browsers.

Also, the display of the alt attribute (not element), as a tooltip, is a
Microsoft perversion of the W3C recommendations. The alt (AKA alternate)
attribute was meant to display in place of an image in text based browsers,
or in the case where a user has disallowed image download.

Your implication that other browsers, that correctly use the alt attribute,
are inferior, is like saying Joe Carpenter is an inferior craftsman because
he won't use a hammer as a screwdriver, like his coworker Lenny does.

Bob Lehmann

clintonG said:
What do you mean huh?

The OP apparently wants to display a URL using an onMouseOver event which is
an intrinsicevent when the alt attribute is used in image elements noting
Firefraud does not support the alt element in this regard. The event is also
intrinsic to IE which supports the alt attribute for images and the title
attribue for links.
As the OP doesn't say one way or the other who can know which context he is
referring to.

All that was clear to me that his intention is to use a 'tooltip' that is
displayed by an intrinsic event named onMouseOver. With regard to paging
there would generally be no means to know which page or URL the paging
activator would be referring to. Thus, a script would be required to
populate the attribute values with the URL that is relative to the context
of the paging activator.

That's how I read the intention of the OP's request.

<%= Clinton Gallagher

Steve Easton said:
Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

You will need a server-side script such as can be done using ASP to write
the destination URL into the alt and title attributes of each linked
item.
Furthermore, the paging generated by the push-button monkey code
generators
like FrontPage is generally not accessible to a developer even if you did
decide to script this or have it done. The entire paging process would
have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
M

Murray

The alt attribute is not to be displayed the way that IE does it. It's IE
that is out of step with the rest of the world on this and other things.

--
Murray
============

clintonG said:
What do you mean huh?

The OP apparently wants to display a URL using an onMouseOver event which
is an intrinsicevent when the alt attribute is used in image elements
noting Firefraud does not support the alt element in this regard. The
event is also intrinsic to IE which supports the alt attribute for images
and the title attribue for links.
As the OP doesn't say one way or the other who can know which context he
is referring to.

All that was clear to me that his intention is to use a 'tooltip' that is
displayed by an intrinsic event named onMouseOver. With regard to paging
there would generally be no means to know which page or URL the paging
activator would be referring to. Thus, a script would be required to
populate the attribute values with the URL that is relative to the context
of the paging activator.

That's how I read the intention of the OP's request.

<%= Clinton Gallagher

Steve Easton said:
Huh??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer

message
You will need a server-side script such as can be done using ASP to
write
the destination URL into the alt and title attributes of each linked
item.
Furthermore, the paging generated by the push-button monkey code
generators
like FrontPage is generally not accessible to a developer even if you
did
decide to script this or have it done. The entire paging process would
have
to be developed the [right | optimal | best | most efficient ] way, take
your pick of which term you prefer.

See how easy it is to forget all about those good ideas? :)

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




re: FrontPage 2003 Each page in my web has numbers to click for other
pages.
I would like a description to display when the cursor passes over each
number so that user knows where they would be going by clicking on the
number.

Thanks,

John
 
B

Bob Lehmann

Excellent choice to snip content that exposes you for the true idiot that
are, Clinton.

Bob Lehmann
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top