Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Loop through the ListView Control within 2nd level collection. 2nd level means it's within another control (ie table html generic control).
0
1578
posted 15 years ago by the_menace
1. Use absolute positioning to place label over the text box
2. Hide label except when JS is enabled
3. Use jQuery to hide label when field receives focus
1
883
posted 15 years ago by flicity
Avoid *.js upload confusions. Use http://code.google.com/apis/ajaxlibs/
0
966
posted 15 years ago by ialexs
Usage:
<code>
var newDimensions:Object = resize(800,600,320,200);
</code>
This can be adapted to pretty much any language...
1
1099
posted 15 years ago by kaptnkill
Assign special CSS classes for menu item in different states.
By default just <li>|</li>-wrap without class.
Active state - li-wrap and class="active"
If active and one of subitems is selected then for parent item li-wrap and class="current"...
0
1332
posted 15 years ago by z0r1k
TYPO3
CSS class "new", "firstnew" and "lastnew" for TypoScript HMENU/TMENU with "newUntil" field enabled
0
1199
posted 15 years ago by z0r1k
The PATHNAME function can be used to retrieve the physical location of a file or directory. This can be especially useful when reassigning engines for a libref using the Macro Language.
Here we want to write a Version 6 copy of the data set CLASS...
0
1475
posted 15 years ago by webonomic
A lightweight, collapsable menu script that works no matter how many nested lists there are.
1
719
posted 15 years ago by matthalliday
Etag Removal: http://developer.yahoo.com/performance/rules.html#etags
Font Compression: http://www.phpied.com/gzip-your-font-face-files/
Compression: http://developer.yahoo.com/performance/rules.html#gzip
2
1291
posted 15 years ago by jink
Use this rewrite rule to enable permalinks on a host. Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).
0
1020
posted 15 years ago by jink
Allows easy usage of Fonts and TextField/TextFormat creation.
1
958
posted 15 years ago by edwardhotchkiss