An old scriptlet from the 90's converted to modern day JavaScript
Find a file
2026-02-23 22:00:46 -05:00
ANILEWIE.SCT Original Scriptlet Code from Feb 1, 1999 2026-02-23 20:45:58 -05:00
container.htm Original Scriptlet Code from Feb 1, 1999 2026-02-23 20:45:58 -05:00
demo.gif Add an animated GIF of what this does 2026-02-23 21:51:34 -05:00
E.GIF Original Scriptlet Code from Feb 1, 1999 2026-02-23 20:45:58 -05:00
F.GIF Original Scriptlet Code from Feb 1, 1999 2026-02-23 20:45:58 -05:00
index.html timer does not expose setTimeout function 2026-02-23 21:33:04 -05:00
README.md add demo image 2026-02-23 22:00:46 -05:00
T.GIF Original Scriptlet Code from Feb 1, 1999 2026-02-23 20:45:58 -05:00

anilewie-scriptlet

An old scriptlet from the 90's converted to modern day JavaScript

It plays with layering to animage a picture of me with eyes moving around, and the mouth opening and closing using the z-index and picking a random coordinate from a pre-defined list to move the eyes.

Eyes Face Mouth Demo
Eyes Face Mouth Demo

Originally I wrote this little experiment on February 1, 1999 when I was getting comfortable with Scriptlets. The scriptlet is ANILEWIE.SCT and is just an HTML file with vbScript. Scriptlets were powerful in that although they were in an isolated sandbox that prevented communication with the parent container, you could expose properties and events so that there were ways to communicate safely, similar to how embedded Active X controls behaved.

In the late 90's, vbScript was popular with Government contracts since it was guarenteed that everyone was using Microsoft Internet Explorer, and many programmers were comming from a Visual Basic or BASIC background. Even the default scripting language for Classic ASP was vbScript, and Visual Basic for Applications (VBA) was prevelant for automating complex office tasks with Microsoft Outlook, Excel, and Access.

Jump ahead 26 years and I'm browsing a few of the old files I still have in my archives. I had fond memeries of my experiments, and decided to bring this little script back to life. This did not make use of any communications such as events and properties talking between the container and the scriptlet iself, so it can run within an IFrame or Frame as a simple HTML file. VBScript may be gone, but oddly enough, Microsoft now rules over TypeScript, which is a layer above JavaScript.

Now you too can enjoy the awesomenes of stairing into my eyes from decades past!