Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This javascript will create a complex google javascript map with multiple locations selected marked. The map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map making it mostly desaturated with bits of o...
0
1449
posted 12 years ago by FatFolderDesigner
This javascript will create a google map on the div with the ID "the_map" and centered on an address with a marker on it. In this example the address is for Jet City Improv. More information on setup and customization at the link.
0
1266
posted 12 years ago by FatFolderDesigner
Below are several different types of google static maps.
The first is a map with a single marker on the Space Needle.
The second is one with 3 marks, one on the Space Needle, one on the Seattle Science Center, and One on the EMP Museum.
The last...
0
1122
posted 12 years ago by FatFolderDesigner
For more parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
0
742
posted 12 years ago by thescottlee
- Use custom image size within template (including if exist)
- Add a class name to a custom image size
0
1091
posted 12 years ago by thescottlee
Note: This also uses a flat file to cache the results, be sure to also upload the 'rss_cache.txt' file.
Usage:
<?php>
0
1169
posted 12 years ago by crypticsoft
Chequea todos los checkbox con un mismo nombre desde uno aparte que tiene como ID "checkeverythink_btn"
0
891
posted 12 years ago by serialk89
slight modifications based off the work found here: http://snipplr.com/view/65196
4
1297
posted 12 years ago by shangle
None of the html5 skeletons I found had everything I wanted.
The only HTML5 element here is the doctype.
1
1024
posted 12 years ago by ryantxr
adds a checkered background to images, so images with transparency are revealed.
based upon: http://lea.verou.me/css3patterns/#checkerboard
0
1429
posted 12 years ago by shangle
Using this command you can insert tab spaces/columns to a tab separated file.
0
991
posted 12 years ago by kaartz
The following code snippet will highlight the row in a table when the checkbox is checked. It will remove the highlight when the checkbox is unchecked. This will work for basic <table> as well as a GridView.
The "input:not(#selectAll)" will ignore...
0
1063
posted 12 years ago by mattvbiggs
A function to query the 10 most recent posts on a multisite WordPress installation
0
2045
posted 12 years ago by chasecrawford
Annoyed by Please enter a valid phone number. For example (123) 456-7890 or 123-456-7890. in admin? Here's the trick.
Copy over your default/default/template/customer/tab/addresses.phtml to your default/your-template/template/customer/tab/address.ph...
1
958
posted 12 years ago by cpres
Include twitter bootstrap, as of this writing is at v2.0.4 and the following JS / html to your page and also uses Glyphicons.
0
1217
posted 12 years ago by crypticsoft