Pop up text

T

The Mage

Hello,
I am trying to set up a bookstore. I have the book images
on each page by catagorie. I am trying to have text pop
up when someone moves thier mouse over the book image
that gives a discription of the book. I have seen this
done before. Any help would be greatly appreaciated.
Thank you
 
L

Lisa Wollin \(Microsoft\)

Hi,

You can provide image tooltips by using the alt attribute for the IMG
element. To add this, select the image in FrontPage and click Properties on
the Format menu. In the General tab, add the text to the Text option.

To do this in code, view the page in Code (or HTML) view and locate the
<img> elements. Add alt="textgoeshere" and replace the text between the
quotes with the description text.

--
Lisa Wollin
Programmer Writer
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included code samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
 
C

clintonG

Using ALT Tooltips (generated by the HTML ALT attribute) is not
a good idea as the time they can be displayed can not be controlled
(they have a tendency to disappear right when the user is reading
something important) and secondly, ALT Tooltips provide no formatting
so stuffing an ALT Tooltip with everything that needs to be said results
in the display of a difficult to read run-on sentence.

I've played tricks with spaces trying to format ALT Tooltips but the
results are not acceptable. Third, ALT Tooltips provide no interactivity.
Finally, reserve the use of ALT Tooltips to comply with accessibility
requirements as the screen readers rely on them.

The better way to achieve this objective requires using client-side DHTML
to create a DHTML Tooltip which means hiring somebody to develop
or integrate JavaScript and CSS with the Document Object Model.

There are prebuilt libraries such as the DHTML Tooltip Generator [1]
noting that the use of the word 'Tooltip' has become generic when the
Tooltip can be generated using different methodologies. Another library
is overLib [2] which has been around quite awhile.

[1] http://handsonline.net/toolbox/dtooltip.htm
[2] http://www.bosrup.com/web/overlib/

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
D

Dave

-----Original Message-----
Hello,
I am trying to set up a bookstore. I have the book images
on each page by catagorie. I am trying to have text pop
up when someone moves thier mouse over the book image
that gives a discription of the book. I have seen this
done before. Any help would be greatly appreaciated.
Thank you
.
FrontPage 2003 has a new feature called Layers. Layers
allows you to superimpose text or graphics in one layer
(Layer2) over an image in another layer (Layer1).
Normally, the superimposed Layer2 is hidden. Then, when
the mouse passes over the normally visable Layer1 the
action causes Layer2 to appear. When you, again, move the
mouse, the now visable Layer2 is turned "off" and it
reverts to its normally hidden state.
 
C

clintonG

I haven't used FrontPage layers. Do you think FrontPage layers provides
more functionality than the DHTML libraries I referenced?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 

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