Javascript port of PHP's ParseURL





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

« Previous 1 2 3 4 5 6 7 8 9  ...  24 25 Next »
7
Date Submitted Sun. Oct. 8th, 2006 9:28 PM
Revision 1
Beginner trevis
Tags Array | JavaScript | setTimeout | String
Comments 3 comments
I use this function when passing an array to a function being called from setTimeout();
7
Date Submitted Mon. Nov. 28th, 2005 4:35 PM
Revision 1
Beginner Michael
Tags Extract | PHP
Comments 3 comments
Using the extract() Functio
7
Date Submitted Wed. Mar. 15th, 2006 12:16 PM
Revision 1
Beginner windley
Tags cloud | movabletype | PHP | tags
Comments 0 comments
This code, working with MovableType, creates a tag cloud of tags entered into the keyword field of a blog entry. You can see the results and read my write-up which explains some other things that help with MovableType and tag clouds. I got this code from Al-Muhajabah and made a few minor tweaks. Put the PHP snippet below inside a MT template that creates a php page.
7
Date Submitted Mon. Oct. 10th, 2005 10:47 AM
Revision 1
Coder mattrmiller
Tags "Email Address" | PHP | Validate
Comments 4 comments
Validate Email Address
7
Date Submitted Fri. Aug. 4th, 2006 9:57 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
Alternate row coloring using javascript
7
Date Submitted Fri. Aug. 4th, 2006 10:01 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
check if a function exists in your code using javascript before calling it.
7
Date Submitted Thu. Aug. 10th, 2006 2:20 AM
Revision 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 0 comments
convert a string to x,y,z types
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)
8
Date Submitted Thu. Mar. 8th, 2007 11:37 PM
Revision 1
Scripter Fordiman
Tags ajax | browser-independent | JavaScript | Library | XML
Comments 0 comments
libNog is a 9k library to provide somewhat easier browser-independence. It is not yet complete, and will be continuously revised. It grew from this snippet, and is still growing as I find things I use often.
Presently, libNog features:

A way to browser-independently get an XMLHttpRequest object.
A set of simple methods for GET, POST, HEAD, and to include other Scripts.
Simple methods for className control
A completely abstracted form of getElement*
Browser-independent methods for attaching and detaching event handlers
An event-normalization routine
A simple one-command 'Stop the Event' routine
And the big one: A simplified Class object by which classes can be built in JavaScript.

The above link will point you to the API documentation and history of libNog, as well as where to download the library.
8
Date Submitted Tue. Nov. 14th, 2006 1:24 PM
Revision 1
Scripter shachi
Tags File | PHP | splitter
Comments 0 comments
This function simply splits a file based on the splitter supplied and returns an array with the values. It's pretty much like the file() function. This script could be helpful in section editings.
« Previous 1 2 3 4 5 6 7 8 9  ...  24 25 Next »