Welcome to LeFantome Tricky JavaScripts. On this page I hope to have some javascripts you can cut and paste in your webpage to bring it to life and add some plazzaz to your website. I only use scripts that I am using myself on this website so I know they work and can work on your WebTV site.
The First
script
for your HP is a greeting when
the brouser come to your page. It offers a
greeting
"Good Morning", Good Afternoon, Good Evening or
other
scripts depending on the time of day. It runs by
the
clock in your WebTV chip. You place the script
between the (head) and (/head) on your
webpage. GREETINGS
SCRIPT Example page
The background changes colors in this script in
pastel colors every 5 seconds that will go with any
dark fonts. The javascript goes between the
(head)(/head) tags and the command goes in your
body tag to begin.
Second script is a 6 line scrolling script for the
status bar. It runs from left to right and loops
continually. You place the script in your body
tag.Change the script to suit your site. SIX LINE
SCROLLER Example page
Cool Scrolling Button
Here is the script!
Backgrounds flashing wildly is my next script! You
are asked to turn on the background and it will
begin flashing a series of colors quickly. Pressing
off will reload the page. The script goes right
after (head) in the html.
FLASHING BACKGROUND
Example page
The Apology email generator consists of a series of
alert messages to whomever lands over a link in
your page! It then preceeds to send them to your
mailbox to mail YOU an apology for landing there!
LOTS of FUN and you get to greet your guests on
your site. I recommend you put the script down in
the bottom of your page or they will never get to
read your page! script goes in the body. APOLOGY
EMAIL Example page
Javascript can be informative too! Our next script
tells the viewer how many sites that they have been
to in the history of the time they have been
online. Place the script after the head of the
page.HISTORY SCRIPT
For those webbers who wanna see whom comes to their
site here is a great script to find out! You
provide a button with an tantalizing message that
the viewer will click onto and it immediately sends
you an email from the viewers box! To use the
script place the first part of the scripting
between the heads tag; the second on the body tag
and in the body of the page place the form button
to mail. You can change the words the buttons says,
and be sure to change the address to your address
you want it to mail to. It is called
A simple little script that lets the viewer know
when your page was last modified is the
MODIFICATION! It goes in the body of your email.
A status bar flashing wildly is our next script. You
need to add your own short message to flash. Begin
by putting the javascript between the head tags and
then follow in the body tag the command to make it
work!
The next script does nothing if your page loads
correctly,
but if the Javascript is not enable will produce an
alert
to the viewer to reload
Mouse Over Text in Status Bar
This will put the text of your choice in the status
window,
lower left of your screen, whenever someone highlights
the
chosen link:
The code below will automatically take you to where you link it to without clicking on it.
Your cursor should be where it says (Link Here), now move it over onto where it says (Put cursor here!) and you will be brought right back to this page. Go ahead! Try it!
Link here
Put Cursor Here!
Here's the mouseover code:
<<>a href="" onmouseover="parent.location='http://the full url here'"<>>Text or Image Here<<>/a<>>
MORE TO COME IN THE COMING WEEKS!