Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Parameters: $array - haystack, $find-value - needle to check for duplicates
1
1958
posted 16 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
2598
posted 16 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
2013
posted 16 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
2508
posted 16 years ago by theOtherOne
Simply pass in array name and the value of the item you want to remove
1
2390
posted 16 years ago by myke
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
12
3639
posted 16 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
1948
posted 16 years ago by PM-Webdesign
If the optional parameter $crop is set to TRUE the image will be zoomed and cropped to specific size ($new_size). Else, the image will be resized to size, keeping aspect ratio and using $new_size as max size.
0
2183
posted 16 years ago by stz184