Archived posting to the Leica Users Group, 2001/12/10
[Author Prev] [Author Next] [Thread Prev] [Thread Next] [Author Index] [Topic Index] [Home] [Search]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