PDA

View Full Version : draggable write layer (images too)


dynweb
09-28-2002, 05:13 PM
I get a lot of requests for modifications of the image with description tooltip (at http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm )

Here's one I recently wrote that writes onclick to a draggable layer. You can write just about anything to it. It has a close box. You can have a border and a background color, or not. You can change the width and position from the link. Since there are 3 different ways of controlling the position (3 versions) and since it uses an external js file or two, I post a link. It's at http://www.dyn-web.com/dhtml/write-drag.html

What you think? :o

Spookster
09-28-2002, 07:30 PM
That seems to work very similar to the one written by Thomas Brattli from http://www.dhtmlcentral.com/ .

The script itself:

http://www.dhtmlcentral.com/script/script.asp?id=16

dynweb
09-28-2002, 07:57 PM
How so? I guess the layer looks somewhat similar, but the way they work and their purpose is different.

Maybe you didn't look at the examples. My code was written to hopefully address some of the abuses and mis-uses of the image/text tooltip. (Some others can be seen from http://www.dyn-web.com/dhtml/img-m-ovr.html ). It's for writing to a layer onclick and controlling the position, etc. from the link.