Welcome To Snipplr


Everyone's Recent Snippets



1 ... 151 152 153 154 155 ... 554
0 491 posted 12 years ago by erraja_07
Reset input type text onfocus if value differs from default.
0 534 posted 12 years ago by smonteru
Write File while replacing from anothther
0 633 posted 12 years ago by elm
1 593 posted 12 years ago by simondiercks
0 608 posted 12 years ago by sneaks
Do you need you app to do something when it is first run on a certain computer? Do you need to know if it has been run before? Enter the following code into your Application Delegate. This code creates a BOOL that is created when the app is run. T...
0 858 posted 12 years ago by zingo
Use a shortcode [sitemap] to render a sitemap ordered by custom menu order (Wordpress 3+).
0 1415 posted 12 years ago by ablears
0 445 posted 12 years ago by wbednarski
.closest and .find are very useful - surprised I haven't heard of them before.
0 618 posted 12 years ago by inreflection7
also requires an .htpasswd file to be created in a secure directory
0 638 posted 12 years ago by ropehead
0 667 posted 12 years ago by ratzo
This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function wil...
0 498 posted 12 years ago by gellpak
0 623 posted 12 years ago by tpryan
0 566 posted 12 years ago by tpryan
This goes in any phtml file to get the image from the skin folder
0 490 posted 12 years ago by uteman23
I found this today and it's very useful for finding the responsibility key when trying ot run OAF from JDev.
0 1149 posted 12 years ago by theonlyalterego
You can use fluid for example in oldschool plugins without using extbase.
0 503 posted 12 years ago by pogosheep
css starting point for library websites - adds a uniform size, font weights and colors, etc for our websites
0 470 posted 12 years ago by jeremytarpley
0 522 posted 12 years ago by jeremytarpley
0 684 posted 12 years ago by Phibo
This is how you play and stop sound effects in cocos2d
0 737 posted 12 years ago by espinallab
It’s pretty straightforward, we loop the existing Views of the ScrollableView and copy each View, replacing the one to be change, to a new array. Then we tell the ScrollableView to use our new Views-array for it’s Views. I hope this helps someon...
0 582 posted 12 years ago by chlab
We create a View with a background color, put a semi-transparent TabbedBar with empty button names on top of it, then add another layer of fully visible labels spaced to fit the TabbedBar beneath it. Everything is then wrapped in one View, which you...
0 646 posted 12 years ago by chlab
fix for stucked jquery slide
0 436 posted 12 years ago by jelontok
Ever wanted a method that can truncate a string, but only on a word boundary? This method works like Substring() but doesn't snip a string in the middle of a word, i.e. it only truncates the string on a word boundary. Useful for producing a summary f...
1 1007 posted 12 years ago by stewartrae
1 ... 151 152 153 154 155 ... 554