Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1099
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
994
posted 12 years ago by FatFolderDesigner
For more parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
0
650
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
968
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
1050
posted 12 years ago by crypticsoft
Chequea todos los checkbox con un mismo nombre desde uno aparte que tiene como ID "checkeverythink_btn"
0
790
posted 12 years ago by serialk89
slight modifications based off the work found here: http://snipplr.com/view/65196
4
1167
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
895
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
1321
posted 12 years ago by shangle
Using this command you can insert tab spaces/columns to a tab separated file.
0
869
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
957
posted 12 years ago by mattvbiggs
A function to query the 10 most recent posts on a multisite WordPress installation
0
1852
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
817
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
1071
posted 12 years ago by crypticsoft
Simply set the id in the content, and use a hash in the anchor to scroll to it.
0
751
posted 12 years ago by thewickedchemist