Welcome To Snipplr


Everyone's Recent Snippets



1 ... 50 51 52 53 54 ... 554
ต้องมีอย่างน้อย 8 ตัวอักษร ต้องมีตัวอักษรอังกฤษตัวเล็ก [a-z] และตัวใหญ่[A-Z] อย่างน้อยอย่างล่ะ...
0 900 posted 11 years ago by gaserland
Code to verify is PDO extension is installed.
0 1565 posted 11 years ago by avenirer
Using an image background for a photo allows all kinds of framing possibilities
0 751 posted 11 years ago by COBOLdinosaur
A basic database made in Java. It resembles a mobile phone contacts activity in which user is prompted to introduce some data of new contacts.
0 883 posted 11 years ago by eiger824
Code snippets from the x-editable source code
0 861 posted 11 years ago by steho
How to mark external links with an arrow behind by using CSS
1 744 posted 11 years ago by steho
Get Parameter from url query string
0 1156 posted 11 years ago by goo
When using a CSS3 property that has vendor-prefixed versions available, I indent as usual with one tab and then use spaces to line up the properties on the colon. This allows for easy editing of all ‘sibling’ properties at once using [Sublime Tex...
1 1035 posted 11 years ago by Todd
The idea is to use this piece of code inside a virtualhost block
0 987 posted 11 years ago by therobot
I have made a small jQuery snippet to demo the image swapping with attr() funciton. The demo uses 2 images with classes img1 and img2 respectively. On a click of a button, the images are swapped. Basically the script stores “src” value into...
0 870 posted 11 years ago by vijayrajesh
css Content Slider
1 601 posted 11 years ago by mcs88
user authentification
0 741 posted 11 years ago by mortu
The following function loads all browser-cookies into an associative array with the cookie name as the index and the cookie value as the value
0 753 posted 11 years ago by satie83
simple image rotation script; save as rotate.php in folder with images, call <img> to display
0 1053 posted 11 years ago by goddess
To set cookie use "cookie('name of your cookie','cookie data','expire date ')" it will set your cookie in the user browser . To get the saved cookie use "cookie('name of your cookie')" it will give you the value of the cookie which you saved in the...
0 824 posted 11 years ago by kameshsoft
By storing or by having the Iframe embed code as a variable, You can play the Youtube video on a click of a button or any other event. I have used “append” function of jQuery to append the IFrame code dynamically inside a DIV tag.
0 1736 posted 11 years ago by vijayrajesh
This useful function will convert a time in seconds to a time in years, months, weeks, days, and so on.
0 1671 posted 11 years ago by goo
Here is a set of functions that can be very useful: Give this script the url of a webpage, and it will save all images from this page on your server.
1 1662 posted 11 years ago by goo
Javascript which converts a Date object into an ISO 8601 formatted string - 'YYYY-MM-DDTHH:mm:ss.sssZ' - with a fallback for when the function 'toISOString' doesn't exist (e.g. IE 8 or less). Usage: var now = new Date; console.log(now.toISOStrin...
0 1556 posted 11 years ago by davidwaterston
The thumbnails of Youtube videos are generally low in quality. Sometimes, the thumbnail is not enough to get the people attention. Here is a small code I have written that works as follows. A custom thumbnail is displayed at the size of 560px wi...
0 1143 posted 11 years ago by vijayrajesh
Izvorni kod za web aplikaciju u kojoj smo implementirali validaciju jednokratne zaporke koju generira uređaj YubiKey.
0 527 posted 11 years ago by DSTG_Kwan
Removes $ from HTML form post, allows only number and decimal points. Has $ display in field but disappear when onfocus.
1 942 posted 11 years ago by lromak
A simple Text Encoder.
1 864 posted 11 years ago by eiger824
Utilizzare il login d facebook in icloud appcelerator
0 724 posted 11 years ago by boardmain
By using HAVING 'virtual_field' CONDITION we can add conditions to virtual fields that created at SELECT
0 938 posted 11 years ago by tucq88
Web aplikacija generira slučajne registracijske oznake za grad Zagreb u odabranom formatu. Ispisuje se i broj mogućih različitih registracijskih tablica za taj format.
0 759 posted 11 years ago by DSTG_Kwan
Find and replace
0 842 posted 11 years ago by inreflection7
Thanks Dan Gayle. http://www.dangayle.com/import-feeds-wordpress-fetch-feed/
2 1179 posted 11 years ago by adambundy
in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.
0 1123 posted 11 years ago by goo
you can use this minified jQuery snippet to detect if your user is viewing using a mobile device.
1 1239 posted 11 years ago by goo
1 ... 50 51 52 53 54 ... 554