Multiple Image Fader





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

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
9
Date Submitted Thu. Dec. 21st, 2006 4:09 AM
Revision 1
Scripter shachi
Tags JavaScript | Number | times
Comments 3 comments
This script lets you do any action the number of times specified.
10
Date Submitted Thu. Dec. 21st, 2006 3:48 AM
Revision 1
Scripter shachi
Tags addCharAt | JavaScript | manipulation | String
Comments 0 comments
Adds any character at the given index of a string.

NOTE: Count starts from 0
10
Date Submitted Wed. Dec. 20th, 2006 10:26 AM
Revision 1
Scripter shachi
Tags JavaScript | manipulation | removeCharAt | String
Comments 1 comments
This simple function simply removes the character at the given index from a string.

NOTE: The count starts from 0
10
Date Submitted Tue. Dec. 5th, 2006 2:15 PM
Revision 1
Scripter Casper42
Tags ASPX | CSharp | CSS | JavaScript
Comments 3 comments
This snippet allows an aspx page (c#) to accept URL parameters to allow styles or script to be dynamically appended to the rendered page.

I wrote this simple snippet to allow one of our vendors to accept a style override so that their application would morph into something more closely resembling our own portal application. Please see screenshots for clarification.

Original Vendor Application

Vendor Application with Style Override via URL
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
-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.
-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.
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)
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.