Javascript Doodles
-personal script reference files
1.1Alert box that pops up onload- Alert box.
1.2 Redirects a user from it's url Immediately- file is called Redirection.html yet look where it takes you :) .
1.3 Tests to see if Netscape is the browser being used and outputs the appropriate message- aka Browser detection
1.4 Detects if quicktime 3.0 is being used (netscape only). If it is the movie is shown, else a static image is shown- Detect Quicktime .
1.5 Detects via a loop if Flash plugin is installed- Detect Flash.
1.6 Via a function, display an alert box when a form button is clicked- function and alert.
1.7 Putting more than one script on a page-Two scripts are here.
1.8 Simple scrolling status bar message-scrolling messages.
1.9 When the mouse rolls over a link a message is displayed in the status bar-status messages.
Image rollovers
2.1 Very Simple rollover (not the best to use)-simple rollover
2.2 Better, More effective rollover (reccomend)-effective yes!
2.3 A rollover triggered by a textual link-kewlies
2.4 More complex rollover. Multiple images triggering a single rollover-here
2.5 Very complex rollover. The triggering image is a rollover and also creates a rollover that describes the colour of the icon.Just check it out!-here
2.6 In order to minimze the miles of code used in rollover scripts why not use a function instead which concatenates the .src to the image name using 'eval'. eg newlogo.src is created from newimage- just look at it MORE EFFICIENT THAN #2.4
2.7 This is the same as code #2.5 EXCEPT it is streamlined as it has a function instead of an 'else' clause.
Cycling Banners
3.1 A cycling banner with links to each advertising banners respective web page- cycling banner
Displaying a Random Image
4.1 This freaks me out, a new image is displayed every so often NOT with each reload nor after a set period of time. Just randomly, as the page name suggests, it just.....appears...weird but useful.- get freaked out
Creating a browser window of a specific size
5.1 When a user types in the desired url a browser with that sites url pops up to a determined size. Then the originally used browser redirects the user to the last page they visited. This is the only form i have seen this browser resizing done...check it out.
Form Validator
6.1 AS it says, It validates a form. Checks for entry of any sort.Check it out
Frames
7.1 This has 2 different scenarios. A page that HAS to be in a frame come what may. And another that WILL NOT be forced into a frame. see?