|
 |
|
|
Submitted: April 2, 2008
Views: 1505
Displays a random link (or image, or paragraph, or anything from that matter!) on a web page.
|
|
|
 |
|
|
Submitted: May 26, 2006
Views: 5384
This is an easy way to hide email links on your website from email harvesters to help keep you safe from spam.
|
|
|
 |
|
|
Submitted: June 7, 2007
Views: 3007
Validates mobile's IMEI number. Returns true if IMEI is right.
|
|
|
 |
|
|
Submitted: October 12, 2008
Views: 1742
A function to calculate gas mileage.
|
|
|
 |
|
|
Submitted: May 5, 2008
Views: 795
Add to Favourites for IE and firefox.
|
|
|
 |
|
|
Submitted: January 7, 2009
Views: 1353
Basically, this is set up to take a feed from an offsite (or onsite) URL and display it.
|
|
|
 |
|
|
Submitted: February 21, 2009
Views: 1390
This function returns a string containing the Hexadecimal color representation of RGB values.
|
|
|
 |
|
|
Submitted: August 9, 2007
Views: 1540
This is 2 snippets:
1) Function to set a cookie, pass it the name of the cookie, the value and the days its valid (until expiration)
2) Function to get the cookie by the name
|
|
|
 |
|
|
Submitted: February 21, 2009
Views: 905
Gets the version of IE being used, or gets -1 for all other browsers.
|
|
|
 |
|
|
Submitted: July 28, 2008
Views: 1511
How to make 2 divs be the same height without the use of static height in CSS, uses JS, HTML, and CSS
|
|
|
 |
|
|
Submitted: September 26, 2008
Views: 1656
Basic markup calculator based on points.
Many retailers use points to markup there cost to determine a sales price. The formula for this is cost / (1.00 - .20) replace .20 with the number of points you want to markup. This snippet will take the unit cost in a field and number of points 20, 25, 30 whatever you want to use and perform the calculations from there.
|
|
|
 |
|
|
Submitted: November 11, 2005
Views: 29900
While trying to make a "reloading" script for use with my transparent HTML/CSS backgrounds I came across a problem with IE. I couldn't use object.getElementsByName()! So I came up with this solution. Granted it's limited to one kind of tag right now, but it should make coding standard (X)HTML a little easier.
|
|
|
 |
|
|
Submitted: February 27, 2005
Views: 19866
ORIGINALLY WRITTEN BY Sani, A. I.
|
|
|
 |
|
|
Submitted: November 11, 2007
Views: 1205
pass the document to the function to remove all images. Useful for text based forums, to prevent unwanted image tags. Be sure to generate the document first to ensure all tags are picked up.
|
|
|
 |
|
|
Submitted: April 14, 2005
Views: 4545
Found it around the internet, it seems cool
|
|
|
 |
|
|
Submitted: September 18, 2008
Views: 2675
A simple RTE
|
|
|
 |
|
|
Submitted: September 19, 2006
Views: 2323
Returns the current local date and time, filled with many options to customize it to how you like.
|
|
|
 |
|
|
Submitted: February 14, 2008
Views: 1832
A basic script that greets users accordingly based on time of day.
|
|
|
 |
|
|
Submitted: April 14, 2008
Views: 729
Surf selected links via a remote window on your website.
|
|
|
 |
|
|
Submitted: February 12, 2008
Views: 2800
Uses innerHTML
|
|
|
 |
|
|
Submitted: May 5, 2007
Views: 1565
dynamically create and display a link.
|
|
|
 |
|
|
Submitted: April 29, 2008
Views: 5773
Check the validation for the textbox when we use the name as array type.
|
|
|
 |
|
|
Submitted: October 9, 2008
Views: 3027
Simple script to make your text blink
|
|
|
 |
|
|
Submitted: November 11, 2008
Views: 2029
|
|
|
 |
|
|
Submitted: May 18, 2009
Views: 385
You use energy no matter what you're doing, even when sleeping. Thus your Basal Metabolic Rate (BMR) is the number of calories you'd burn if you stayed in bed all day.
|
|