About This Product
Metachecker.net | TrafficChecker.net | RankChecker.net
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

This is one of my first script and also one of my most used. It is really easy to use! All you have to do is to include the script in the head like this:

<script src="genericMove.js" type="text/javascript"></script>

And add the class="moveme". You must also add either position: absolute or position: relative. The relitive positioned container is kind of buggy. (Not anymore!) When you move your mouse too fast the position get messed up

I made some adjustment to the code so that you could define a handle for the moving. This isn't equally easy but easy enough! You add the class="handle" and the custom attribute for="id_of_container_you_want_to_move".

This is the handle

This is a <DIV> that's moved with a handle

The title has the class="handle" and the custom attribute for that has the value of the id that it should move

This is a <DIV> that you can grab anywhere
This div has the class="moveme"