Unload Javascript Files





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

« Previous 1 2  ...  5 6 7 8 9 10 11 12 13 Next »
14
Date Submitted Fri. Jul. 28th, 2006 1:10 AM
Revision 1
Beginner delook
Tags Form | HTML | JavaScript
Comments 2 comments
Set a word or phrase in an input field, clear it onfocus
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.
15
Date Submitted Fri. Aug. 4th, 2006 10:03 AM
Revision 1
Syntax Master sundaramkumar
Tags firefox | JavaScript
Comments 0 comments
List all plugins installed in FF
15
Date Submitted Fri. Aug. 18th, 2006 6:48 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 3 comments
Get computed Height of an HTML Element
16
Date Submitted Sat. Aug. 26th, 2006 11:20 PM
Revision 1
Helper psykoprogrammer
Tags ajax | JavaScript
Comments 1 comments
A simple AJAX class. The code for the class is provided as well as example HTML and PHP code for usage.
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)
18
Date Submitted Mon. Oct. 9th, 2006 3:36 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 4 comments
Add dragging to your div elements. just adding class="drag" to the div element will make it draggable.

Here i'm adding an example for a draggable dialog box
20
Date Submitted Mon. Sep. 25th, 2006 1:59 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 3 comments
To debug javascript code we use alert() whereever needed and it irritates you while alerts values inside a loop and other places where more alerts are being shown and you have to press the ok button to pass / proceed on.
here is a simple way to get rid of the alerts dialogs and get the values outputed into another debug window.
22
Date Submitted Fri. Aug. 18th, 2006 6:50 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 1 comments
Get computed Width of an HTML Element
24
Date Submitted Sun. Dec. 24th, 2006 7:10 PM
Revision 1
Beginner bhmahler
Tags HTML | JavaScript | PHP
Comments 4 comments
This is a PHP and JavaScript Image gallery that I created. There are 2 uses for this.
1.) You can save it as index.php and place in a folder containing images and it will display the images in that folder.
Example:
place index.php in images/folder
http://yoursite.com/images/folder/
This will display all images in that folder

2.) Pass in the path to the folder to display in the url
Example:
Save as imagegallery.php
http://yoursite.com/imagegallery.php?path=images/folde
« Previous 1 2  ...  5 6 7 8 9 10 11 12 13 Next »