Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
It’s been driving me crazy that there’s no definitive script written to take out a user’s Flickr recent photos and parse it for formatting into HTML with a larger size than the standard 75 x 75 dimensions that the public_photo.gne Flickr script...
1
989
posted 13 years ago by jakekimpton
Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.
0
702
posted 13 years ago by adamturtle
The comments for this are broken down into 2 parts, first the script is talked about, then theres a little about the HTML code that the script relies on. You can find more information at the URL, as well as an example of it in action. You can leave c...
0
799
posted 13 years ago by FatFolderDesigner
Add a "Touch" icon to your website for bookmark icons on mobile platforms such as Android and iOS
0
562
posted 13 years ago by martindownton
add the "a class" part in the body and the $('a.gallery') part between your javascript tags on the line right after $(document).ready(function() {
0
690
posted 13 years ago by gamblelyn
After being tasked with creating inputs like those on the twitter homepage I came up with this inline label system that uses jquery to control the labels (in the vase of the example it fase and slides them).
The code is in three parts. First, the...
0
866
posted 13 years ago by FatFolderDesigner
Place this at the top of your php files. This will remove white space and formatting from HTML, making it smaller and faster for download by your users.
0
801
posted 13 years ago by trusktr
A contract I work on uses tables to layout forms (kinda ghetto I know) and I wanted a text field with a button text to it that would work with their 100% width scheme. Normall it places to betton below the text input, but using this HTML and CSS it w...
0
880
posted 13 years ago by FatFolderDesigner
Stop your html tables overlapping other elements to the right. Fix the table with a fixed layout. You may also have to set overflow:hidden and word-wrap:break-word
0
890
posted 13 years ago by peetj
Valiodate a form with jQuery.Validate and submit it with jQuery.form
1
710
posted 13 years ago by marzsman