Alt-web

 

More on this site

Alt-Web Home Page

Chalk Board Intro

NEW Formmailer-Tutorial

NEW Tooltips on Image Maps Tutorial

NEW Cushy CMS with NOF

Custom CSS Links

CSS Styled Background Images

Image Borders on Mouse Over

Iframes

Print Page Buttons

Close Window Buttons

Scrollable Divisions

CSS Flyout Menus

Vertical & Horizontal Centering

Centered on Two-toned Background Image

Liquid Layouts

Images and Text

Layout Regions

Printer Friendly Pages

Web Color Assist Tool

Hex Color Chart

Favicons

Fast Contact Forms

Table Menu

 

banner

Creating Tooltips This is a Tooltip. Scripts and code used here were obtained from Walter Zorn's Website. on Image Maps in NOF 10

Description:

An image map is a picture with more than one hyperlink or hotspot on it. Using Tooltips, we can bring more information to a static image without taking site visitors away from the page.

Example:

Mouse over the fireworks image below. NOTE: If JavaScripts are disabled in browser, content will appear on the page, so this method is good for search engine optimization.

.
Fireworks in a night skyFireworks presentations are fascinating to watch.
Lorem ipsum dolor sit amet, eodem eleifend ad consuetudium humanitatis formas. Adipiscing est nulla in nihil nibh id. Claram processus hendrerit eorum ii investigationes delenit ut mazim. Amet iusto cum ex veniam me, anteposuerit commodo et at. Facit sollemnes saepius non lectores litterarum. Insitam eu quod te volutpat tincidunt eua nobis lius per. Iriure molestie dynamicus, erat decima. Videntur consequat legunt te odio assum iusto me est. Non, per elit, nunc suscipit fiant enim at. Euismod consuetudium videntur ad hendrerit eodem adipiscing laoreet cum claritas, etiam.
Everyone enjoys a fireworks display!
Lorem ipsum dolor sit amet, eodem eleifend ad consuetudium humanitatis formas. Adipiscing est nulla in nihil nibh id. Claram processus hendrerit eorum ii investigationes delenit ut mazim. Amet iusto cum ex veniam me, anteposuerit commodo et at. Facit sollemnes saepius non lectores litterarum. Insitam eu quod te volutpat tincidunt eua nobis lius per. Iriure molestie dynamicus, erat decima. Videntur consequat legunt te odio assum iusto me est. Non, per elit, nunc suscipit fiant enim at. Euismod consuetudium videntur ad hendrerit eodem adipiscing laoreet cum claritas, etiam.
Paul Rozzi started Rozzi Famous Fireworks way back in 1895. The Rozzi Family has been shooting-off fireworks ever since.

Method:

Download the wz_Tooltip JavaScript library from Walter Zorn's website. Before you start this tutorial, read the tutorials on his site to familiarize yourself with the various tooltip styles and variables.  Unzip the tooltip javascript library folder and upload the wz_tooltip.js file to a folder on your server. For this I recommend using a 3rd party  FTP  program or even IE.

Links to some FTP programs:

Tutorial:

PART I - LINKING TO THE EXTERNAL JAVASCRIPT FILE

1. Click in your Page Layout Area or MasterBorder and hit the HTML button on the Properties Box to invoke a code insertion window.

2. Select the Beginning of Body Tag tab. Paste the following code into the window. In this example, Scripts would be a folder in your server's root directory (where your index page is). And wz_tooltip.js is the javascript file needed for this project.

 <script type="text/javascript" src="../Scripts/wz_tooltip.js"></script>

Tooltips1a

PART II - MAKING AN IMAGE MAP

1. Place an image on your page.

2. Use the Hotspot Tool to draw some regions on the image. Here we used the Circle and Polygon tools.

Tooltips2

PART III - ADDING CODE TO HOTSPOTS

1. Click on one of the hotspots and hit the HTML button on the Hotspot Properties Box. This will invoike a new HTML insertion window.

Tooltips3

Paste this code in the INSIDE Tag tab. Hit OK.

onMouseOver="TagToTip('Span1', WIDTH, '-400', BGCOLOR, '#CDEAFC', SHADOW, true, SHADOWCOLOR, '#333333', FOLLOWMOUSE, true)" onMouseOut="UnTip()"

Tooltips4

2. Paste this code in the AFTER Tag tab and hit OK.

<span id="Span1"><img src="Assets/Images/optional-picture.gif" style="padding:10px" align="left"><strong>Your bold text goes here</strong>The rest of your tooltip content goes here.</span><!--end tooltip content -->

Tooltips5

3. Repeat Steps 1-2 above for each Hotspot Region on your Image Map. NOTE: Each Tooltip needs a unique Span ID number. Hotspot #1 would be tooltip Span1, Hotspot #2 would use Span2 and so on. 

Tooltips6

4. Save your work and publish page to server. 

That's all there is to it. We hope you enjoyed this tutorial.


 

Reach the World with Alt-Web

If you use the free content on this site and you cannot make a small donation, we would appreciate it if you would place a link on your site to ours.

Help feed the kitty

 

Visit our Free Reciprocal Link Exchange Page. Thank you.

© 1995 - 2009 Alt-Web Design and Publishing
Nancy O'Shea