Table Row Hover





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

11
Date Submitted Sun. Oct. 29th, 2006 12:52 PM
Revision 1
Scripter SCoon
Tags JavaScript | PHP | Web
Comments 0 comments
Enforce loadig fresh script code for the external javascript files. Compatible with HTTP 1.0.
12
Date Submitted Mon. Oct. 30th, 2006 2:23 PM
Revision 1
Beginner Mattkins
Tags CSS | DHTML | JavaScript
Comments 3 comments
Allows you to hide all elements on an HTML page by their tag name. Extremely handy in getting around the "Windowless Elements" problem in IE, which is a bug that puts certain elements, most commonly select boxes, on top of any other element, no matter what. As you can imagine, this causes real problems with DHTML drop-down menus and such like. This is the simplest and quickest fix I've come up with, I simply set this function to run alongside the drop-down and all of the select tags vanish before a menu drops, then I run the show function when the menu retracts.
11
Date Submitted Mon. Nov. 6th, 2006 8:33 AM
Revision 1
Scripter Casper42
Tags conditional | JavaScript | loader
Comments 0 comments
This script will allow for conditional loading of javascript libraries. The example here only has one condition to check for IE or Firefox then loads the appropriate .js file.

This is part of an .aspx template for an educational portal product.

Usage for loading the script:

11
Date Submitted Mon. Nov. 6th, 2006 9:12 AM
Revision 1
Scripter Casper42
Tags JavaScript
Comments 3 comments
I found this to be a neat little trick for hiding(somewhat) source javacscript code from peering eyes...

This function will unload all linked javascript files so that when you view source - you see no javascript files! (Especially helpful when using FF and using web-developer tools - no linked js files are displayed) The files remain resident in memory - allowing for the functions to work.

Just call the function in the tag
8
Date Submitted Mon. Nov. 6th, 2006 9:19 AM
Revision 1
Scripter Casper42
Tags JavaScript | MDI | Portal | utility
Comments 0 comments
This code is used in an Educational Portal product but can be tweaked to fit your need.

This code adds a small icon next to the title of a 'portlet' that resides on the page. By clicking the portlet title, the portlet usually maximizes within the constraint of the portal template - but the extra icon allows for the portlet to be opened in it's own window.

This simulates an MDI interface.
(REQUIRES PopItUp snippet)
15
Date Submitted Tue. Nov. 7th, 2006 12:41 PM
Revision 1
Scripter Fordiman
Tags ajax | http | JavaScript | XML
Comments 0 comments
This is a simple script to provide basic cross-platform XML request functionality in Javascript. It's meant to be the core component in any AJAX style framework. It is not an instantiable object, but instead is a namespaced microlibrary.

Calling is easy:
XMLRequest.GET(uri, query, callback, fallback)
uri: The location you're after
query: an associative array of form data to provide via the URL
callback: callback function of the form myCallbackFunction(objXMLHttpRequest), which is called upon successful (response = 200 OK) retrieval of the XML data
fallback: myFallbackFunction(objXMLHttpRequest), which is called upon failed (response != 200 OK) retrieval of the XML data.

XMLRequest.POST(uri, query, form, callback, fallback)
Similar, but does the query using the POST method. 'query' is the URL-appended data, still in associative array form, and 'form' is the same for the POST data.
17
Date Submitted Tue. Nov. 7th, 2006 9:04 PM
Revision 1
Scripter Fordiman
Tags ajax | JavaScript | XML
Comments 1 comments
This is a brief revision to my previous snippet. It is still what it was: a small, simple system for using XMLHttpRequest without using globals.

I'll put the API spec in the code this time, so as not to clutter the front page further.

Changes:

Changed name to HTTPRequest (far more accurate)
Added HEAD requests
Shortened code by making a GenericRequest function
Used a better method for getting an XMLHttpRequest object (checks multiple MS versions and implements the latest one)
-11
Date Submitted Sun. Nov. 12th, 2006 6:09 AM
Revision 1
Scripter shachi
Tags JavaScript | screensaver
Comments 4 comments
This creates a black screen if the browser is inactive for a certain amout of time. I am not sure if it works in IE too but works fine in Firefox.
-13
Date Submitted Sun. Nov. 12th, 2006 6:11 AM
Revision 1
Scripter shachi
Tags confirmation | JavaScript | saving
Comments 2 comments
Just confirms if the user really wants to save the page or just hit the Ctrl+S accidentally. Works in FF maybe in IE too.
12
Date Submitted Wed. Nov. 15th, 2006 7:29 AM
Revision 1
Scripter Casper42
Tags JavaScript
Comments 2 comments
I found this to be a neat little trick for hiding(somewhat) source javacscript code from peering eyes...

This function will unload all linked javascript files so that when you view source - you see no javascript files! (Especially helpful when using FF and using web-developer tools - no linked js files are displayed) The files remain resident in memory - allowing for the functions to work.

Just call the function in the tag