
Trailing Mouse Cursor
"I love Wicked Moon's site and when agitated by the vississitudes
of life sit in the dark and watch the flowered cursor soothe my savage
soul. Robyn"
It doesn't have that effect on everyone, but love it or hate it, it's
the question we get asked most: How do you set up that trailing mouse
cursor? The mouse cursor is otherwise known as, "the butterflies",
or "those things that follow your mouse around".
Note: You can't use these as your Windows backdrop, they're
for websites only. Script works with version 4 browsers and above.
Installation instructions:
Step 1: To use the
graphics I designed, download each of the following 6 images. Save them
into the same folder as your HTML pages. If you've set up a script before
and want to use your own images, look for where it says img src
in the script and make changes there.
Step 2:
Copy the HTML code from the box below and paste into the <BODY>
section of your webpage. (You may want to paste it towards the bottom
of the page. If it's at the top search engines may run into it as they
spider the first few sentences of your page).
Step 3: Preview in your browser
and hopefully you will see the images following your cursor around.
Flower graphics © Jason Brown
/ Website
Trailing mouse cursor script © Philip
Winston / Website
Other cool webpage effects
Status bar on Mouse Over (All
browsers)
Don't click, but hover your mouse over this
link (if you do click mind, you'll find some fantastic magazine
art). Notice the message that appears in the status bar below: "Click
here for something amazing!"
Usually the URL of the link would appear. But you can
change that to describe what's at the other end of the link, or to just
disguise the link.
This is a simple technique to add to your pages. Edit
the <A HREF> tag of your links so they include the following javascript
code.
| <A HREF="mag.html"
OnMouseOut="window.status=' '; return true" OnMouseOver="window.status='Click
here for something amazing!' ; return
true">click here</A>
|
The red text is the message you should
change. We use this javascript for all our thumbnail links.
Status bar message (All
browsers)
We describe above how to include a message on a mouse
rollover. However, you'll notice on this page a message in the status
bar no matter where you position your cursor. In this case it reads,
"Wicked Moon Cards @ wickedmoon.net". You can put any message
here, such as "CTRL-D to bookmark".
Again, it's really easy to set up. Modify your <BODY>
tag to include the following code:
| <BODY onLoad="window.defaultStatus='Wicked
Moon Cards @ wickedmoon.net'">
|
Modify the red text to suit
your site.
Active Link change on Mouse Over
(Internet Explorer only)
If you're using Explorer (which most people are), you
will notice the colour of our hyperlinks change as you move over them.
This is a nice little effect to bring a bit of life to your pages. Non-Explorer
users see nothing and there are no compatibility problems.
Paste the following code between your <HEAD> tags.
The value highlighted in red defines the
colour.
| <style><!--a:hover{color:FFCC99;
}--></style> |
|