I have come accorss some java scripts that have made my life as a web designer a lot easier. I have decided to include some of the most useful ones here for you to use. As i find more useful scripts, I will include them here. If you want to add one, please use the contact form to the left.
Redirection Script
This script is very short and simple but it does a big job. You simply add it between the <head> tags of your site and when someone trys to view that page, they will be redirected to a site you specify. This can be very useful when you move content around.
<meta http-equiv="refresh" content="3; URL=http://www.mynewurl.com">
Frame Buster
It's great when people link to you but they sometimes forget that they can distort your content when they are using frames and someone trys to view your site from theirs. This can leave your site trapped in someone elses frames. I only recommend that you use this is you know you are having an issue with frames, but this is very useful when you are having that kind of problem.
Simply add this script between the <head> tags:
<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>