Archived posting to the Leica Users Group, 2001/12/10

[Author Prev] [Author Next] [Thread Prev] [Thread Next] [Author Index] [Topic Index] [Home] [Search]

Subject: Re: [Leica] A question to Don Dory that others might like to hear.
From: George Hartzell <hartzell@kestrel.alerce.com>
Date: Mon, 10 Dec 2001 10:56:06 -0800
References: <008101c17049$78e854a0$bd3afea9@oemcomputer> <000e01c18102$c97091c0$b20481ac@h7d9o5>

Sonny Carter writes:
 > Don, I was wondering, When you place the cursor over one of the
 > thumbs on your Photonet stuff, a description appears.   Is this a
 > function of Photonet, or is it something you do in another way?


That's done using the "alt" attribute of the <img ...> tag.

If you check out a page that uses it, e.g.

  http://philip.greenspun.com/dogs/alex.html

and put your mouse over one of the pictures (e.g. the cute furry
puppy), you might see a pop-up tooltip-ish box that displays the
contents of the alt tag.  Not all browsers do this (I just checked,
netscape on linux does, opera 6TP2 on linux does not).  The alt tag is
really meant to be display when the images can't/aren't (e.g. you're
using a text browser like lynx or you're surfing w/ images turned
off).  The tooltips thing is an "extension".

If you look at the page source, it includes this snippet:

  <img HEIGHT=134 WIDTH=196 src="http://photo.net/photo/pcd2335/alex-1.1.jpg" ALT="Alex, just under 3 months old">

And sure enough, the text from the ALT attribute is what's popping up.

g.

- --
To unsubscribe, see http://mejac.palo-alto.ca.us/leica-users/unsub.html

In reply to: Message from "Don Dory" <dorysrus@mindspring.com> ([Leica] another sorta a week: teasing MR with a 105 APO nikkor)
Message from "Sonny Carter" <sonc@sonc.com> ([Leica] A question to Don Dory that others might like to hear.)