Moving layers 2 : Drifter



This is a plugin which should support you making a drifter using layer and JavaScript. You can see what the drifter is on this page. This plugin (cpdrif3.jar) is a package of two tools; that is single drifter and multiple drifter.

Expected working environment: All Communicator, all platform.

Before install, if you have previous versions (cpdrif1 and/or cpdrif2), removing them from your plugins folder is recommended.

What's new from previous:

  1. Multiple (n-layer) drifter support.
  2. Minor change of the JavaScript of single drifter. (trying to prevent JavaScript error on IE/OE and Moz 5)
How to install:
Download cpdrif3.zip from here. (10.2KB) Save this file to any directory you can remember. Close NC. Virus check if you like. You'll get cpdrif3.jar after unzip. Move or copy it to your NC's .../program/plugins folder. Restart NC.

How to use: After install, you will get Tools | Moving Layers | Multiple Drifter, and Single Drifter.

1. Multiple drifter
Please note that texts are not supported on multiple drifter plugin, because of some technical reason. You can use some dummy images, and replace them to texts after applying plugin. You should be able to select multiple images to be drifters all at once.
After selecting (highlight) the desired images, select this tool. It should bring up an input dialog window. Select on/off the anchor, and speed. Press OK. Layer tags and JavaScript will be automatically added. Check the results in your drafts folder after saving.

Tips 1: Set the images on the bottom of the message. Drifter moves vertically between page top and JavaScript (3rd) tag. So if you set it on the bottom, drifter should move from top to bottom.
Tips 2: To add another image to be drifted after applying the tool, copy <layer><image></layer> trio (two tags and one image), and paste it anywhere above the JavaScript tag. Replace the image. You don't need to edit the layer tag or JavaScript.
Tips 3: If you want to redo from the scratch, using my remove plugin (cpsnip1.jar) might be handy.
Tips 4: If you feel it difficult to select (highlight) multiple images at once, try dragging cursor from right to left. That is:

screen shot
Tips 5: If you place too many images in one line, and make them as drifter, an error might occur when sending the message. Limiting the numbers of the images on one line as 3 or 4 will be safer.

"Anchor" option:
By default, the plugin will add these tags to keep the horizontal move.
<div align=right>.</div>
A right aligned charactor (period) is needed to drifting the whole message width, especially when your text line is shorter than page width.
Color setting is not supported, so if you want to hide the period, set color manually.

2. Single drifter
Not changed so much. Although multiple drifter can be used in creating single drifter, I included it cause it supports texts, and can be used in combo with multiple drifter. If you feel this tool is useless, please let me know.
 

Disclaimer:
Original JavaScript was on the net. There was no copyright notice on the original JavaScript, so I don't know who made it. I modified the script to work on Netscape Messenger (even on Mac version, cause the original didn't work on Mac) and named it as "drifter". But main routine is not midified at all.
 

Back to Moving layers 1 : Marquee.



Back to Index