Welcome To Snipplr


Everyone's Recent Snippets Tagged class



1 2 3 4 5 6 7 Next »
0 1167 posted 18 years ago by wintondeshong
0 1223 posted 18 years ago by wintondeshong
This class operates a range of mysql functions base on arrays. Example: Name: Description:
22 9792 posted 18 years ago by emuen
4 2577 posted 18 years ago by llbbl
One notorious discrepancy between IE and Firefox (or other "good" browsers) is the way they access the class HTML attribute. While I've used more complicated solutions in the past, this simple solution doesn't require any browser detection or even a...
2 1640 posted 18 years ago by Todd
A CountEvent class’s instance counts up from 0 to 50, then dispatches "countComplete" event. Here’s a result below. 1 2 3 . . . 48 49 50 Count Complete
0 7333 posted 18 years ago by garamond
Based on the linked SitePoint article but with options to limit the container (eg body copy) and set the target. Use '_blank' for a new window for each link. Also adds a class (based on the rel value) for styling. Call the 'relWindow' on window load.
2 1538 posted 18 years ago by mountainash
Function to look if an element has a class, if it doesn't simply add it to the element. If it does have a class add it to the class that is already there. Function expects 2 values, the element to add the class to, and the new class name (value).
3 1907 posted 18 years ago by 1man
1 1465 posted 18 years ago by markhope
0 1064 posted 19 years ago by smilylion
1 3311 posted 19 years ago by yuconner
0 2488 posted 19 years ago by leoh
basic template for AS2 class
3 2497 posted 19 years ago by sHamilton
1 2 3 4 5 6 7 Next »