I heavn't seen this done yet myself, but if you give me the URL of a site that you saw what you are wanting on I'm sure I can figure out how they did it, then tinker around with it until I can make it work for your site.<br>
<br>
<br>
-Robherc<br>
<br>
robherc@netzero.net
Here's all I could find on their site that seems to relate to the mouse trails; please let me know if it works:<br>
<br>
<br>
<html><br>
<head><br>
<style><!--<br>
#trailsprite1 { position: absolute; z-index: 100; top: 1px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
#trailsprite2 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
#trailsprite3 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
#trailsprite4 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
#trailsprite5 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
#trailsprite6 { position: absolute; z-index: 10; top: 0px; left: 0px; width: 10px; height: 10px; visibility: visible }<br>
</style><br>
</head><br>
<body><br>
<DIV id="trailSprite1"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite1img"></DIV><DIV id="trailSprite2"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite2img"></DIV><DIV id="trailSprite3"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite3img"></DIV><DIV id="trailSprite4"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite4img"></DIV><DIV id="trailSprite5"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite5img"></DIV><DIV id="trailSprite6"><IMG src="trailgif5.gif" height="10" width="10" border="0" name="trailSprite6img"></DIV><br>
</body><br>
</html><br>
<br>
I hope you are able to use this (Oh, and the "<div>" tags and the data between them was all RIGHT under the "<body>" tag, it might not work if they are located further down in the code; I'm just not sure)<br>
<br>
<br>
-Robherc<br>
Oops, don't bother; I tried it out on a page on my own system & it didn't work at all. I'll try downloading the entire source for the Philops page so I can search it more throughly for whatever JavaScript is involved in this; I have a feeling that it is probably a pretty complicated one, but only time will tell.<br>
Sorry I couldn't deliver a working solution on the first try; but sometimes thatt's how it goes with JS.<br>
<br>
-Robherc
Well, I'm not sure if this will help or not, but it seems as though it may have some similar functions to tracing the mouse movement. I found a script at The JavaScript Source at
in which a pair of eyes follow your mouse around the screen. The code (and installation) is as follows:<br>
<br>
<!-- FOUR STEPS TO INSTALL EYES!:<br>
<br>
1. Paste the coding into the HEAD of your HTML document<br>
2. Add the onLoad event handler to the BODY tag<br>
3. Put the last coding into the BODY of your HTML document <br>
4. Save the two images to your web site directory --><br>
<br>
<!-- STEP ONE: Copy this code into the HEAD of your HTML document --><br>
<br>
<HEAD><br>
<br>
<SCRIPT LANGUAGE=JavaScript1.2><br>
<br>
<!-- Original:
<br>
Grebo-<br>
Accchhh!!!! You found a BIG ONE that time Grebo! I'll try to sort through this script to find out exactly which parts are involved in tracing the mouse motion; maybe comparing it to the JavaScript on the philips page will help.<br>
<br>
<br>
Sknyppy-<br>
I'll try to sort through these JavaScripts to find the important parts for you as soon as possible, but I'm afraid this one might tae a little while.<br>
<br>
<br>
<br>
-Robherc
Sorry I haven't been in for soooo long; I'm really busy with a COUPLE of jobs right now, so my JS adventures have temporarily come to an end; I'm REALLY sorry I wasn't able to be of any more help.<br>
<br>
<br>
-Robherc<br>
robherc@netzero.net
I know how to trace the mouse, it depends on if you use IE or Netscape, you'll have to use different JS operations for each. I wrote a function to trace where the mouse is then create a image at that point when the mouse is clicked (approprately named dartToss). Here is the code of the function, if you want to see it in action goto
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.