I found a nice tip on Filination.com about removing the top frame when other sites try to frame your Web site in a frame. Some common examples are Google Images and Netscape.com.
Here is the code to prevent other Web sites from showing your site inside of a frame:
There is a developers extension for Firefox called DevBoi that gives easy access to documentation for Ruby on Rails, Ruby, PHP, CSS, JavaScript and HTML, among others. I first discovered it through the blog at quotedprintable.com.
Here is a screenshot of browsing Ruby on Rails classes in Firefox with the DevBoi extension:

You can download free scripts to add to your webpages, or just to study. Many of these sites combine free and commercial scripts in the same listings.
Hotscripts.com -- free and commercial scripts. This is one of the bigger sites and is very well done.
ScriptSearch.com -- free and commercial scripts for download. JavaScript, Perl, PHP, Java, and more.
DynamicDrive.com -- Free DHTML scripts.
Matt's Script Archive -- free Perl scripts for your website.
CGI Resources -- free scripts in Perl and other languages.
Free-Scripts.net -- free Perl scripts.
Java-Scripts.net -- free JavaScripts.
FreeScripts.com -- free scripts.
JavaScript is a way to make webpages interactive. In a server-side scripting language like PHP or ASP, the code that you write runs on the server that your website is hosted on. The server then sends plain HTML to the visitors' browsers. JavaScript is a client-side scripting language, which means that it runs on your browser. If the website visitor has JavaScript turned off, the code won't run and the webpage won't be interactive. That is one of the drawbacks of JavaScript. The advantage of JavaScript is that you can do great things with it that can't be done with server-side scripting alone.
Note: JavaScript is unrelated to Java -- they are totally different languages.
W3schools Javascript Tutorials -- W3schools is always a great place to begin.
PageResource.com -- lots of JavaScript tutorials.
JavaScriptKit.com -- lots of resources, including JavaScript reference.
WebReference.com -- JavaScript articles and resources.
Scriptsearch.Internet.com -- JavaScript links.
overLIB -- A JavaScript library that creates small hovering windows or tooltips on a web page. For an example of overLIB, check out the overlib Web site. (I had to remove the examples from this site because it conflicts with Drupal 5.