Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is just a quick and dirty template that I use to begin writing my apps. If you know of a better way to approach various portions of this code I would love to hear it. It\'s assuming you are using the latest PHP SDK and is positioned around Ifram...
3
2068
posted 15 years ago by chrislorenz
Parameters: $array - haystack, $find-value - needle to check for duplicates
1
1534
posted 15 years ago by stz184
When working on client sites, you often need admin access, instead of requiring them to set up an admin user, just make your own. ref:
http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database
2
1994
posted 15 years ago by timkinnane
This creates a scribble mouse trail effect. More importantly, it illustrates how you can easily use the greensock bezier plugin for TweenMax to actually draw bezier curves.
0
1592
posted 15 years ago by adamcoulombe
First: clicking on a table row forwards you to the URL given in the first As href attribute. ------ Second: clicking on a link inside the row triggers the default action **AND** a click event on the table row. This needs to be stopped, so the default...
2
2077
posted 15 years ago by theOtherOne
Simply pass in array name and the value of the item you want to remove
1
1841
posted 15 years ago by myke
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
12
3117
posted 15 years ago by vagrantradio
Code in single.php, loop.php, index.php, page.php, category.php, und archive.php , innerhalb des loops einfügen.
0
1526
posted 15 years ago by PM-Webdesign