| A mouse-over event occurs
when a mouse cursor is positioned over a particular GIF - creating
an event. In this case, a black & white GIF is exchanged for a
red & white GIF. Thus creating the illusion of scanning. Two separate blocks of code need to go into your HTML document.
The installation is simple and totally configurable - sort of. |
|
| ....... | (this file) Installation Intstructions for Scan Button. | |||||||||||||||||||
| Sample HTML DNE Scan Button. You can grab this file along with the pictures below and get it up and going right now. Copy the graphics in a directory named: bar in the same directory of the DNE Scan Button HTML file. | ||||||||||||||||||||
| Text file version of "example.htm" which shows the placement of the javascript tags and code for the body of the document. | ||||||||||||||||||||
|
Graphic images which are used for the big scan button |
|
|||||||||||||||||||
| ....... | Sample HTML Smaller Scan Button. The images for this button are in a subdirectory called smalbar. | |||||||||||||||||||
| Text file version of "example2.htm" which shows the placement of the javascript tags and code for the body of the document. Having example2.txt is really not needed except for viewing the code through the browser. | ||||||||||||||||||||
|
Graphic images which are used for the smaller scan button |
|
|||||||||||||||||||
| Price: Free. Although it would be nice to see your implementation of this. You COULD drop me a note and tell me (here). |
| Any problems you might have are probably due to browser compatibility issues. But if you get really stuck (you won't) e-mail the author. I might end-up pointing you to some other resource: vis. search with "mouse+over+javascript+how". |
| There are some obvious
improvements could be made to make the button load and execute
faster. Distilling the entire picture down to two or three GIF's
come to mind first off. Offering other sizes of buttons would be an easy addition also as The code would not have to be changed - only the bar-graph slices. If I find there is any interest in this addition I'll get right on it and post those additions. |
| I
believe sometime around the middle of 1996 Dan, Donna, Nevar &
myself were playing around with mouse-over stuff and the idea
for this came up. It was only a year later when I gave it a try
(being more comfortable with Photoshop and Java). At the time
I remember scratching out the high-level algorithm for the structure
along with pretty arrows and a flow chart. Credit goes to Dan,
Donna, and Nevar of High Cotton Media Solutions (here)
- I really don't know how much credit we should give them ...
but, some is given. Some of the code was taken from a mouse-over demo; the structure at least. Some variable names were not changed in order to credit the raw coders. Thanks. The implementation is an interesting use (barcode) of mouse-over events. The "proof of theory" is {at least} creditable to myself - including the above mentioned credits. So if you make money off of this idea, consider contacting me for additions. (ps it won't cost you anything to try …cuz` it's FREE.) OK, "nuf" said: giving credit where credit is due. |
| E-Mail: | jaco@donotenter.com |
| WWW: | www.donotenter.com |