Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Show only non-printable area on web page but print only the printable areas
0
938
posted 12 years ago by duzenz
defining a printable area from a html web page. Making only one place printable
0
1300
posted 12 years ago by duzenz
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2
1213
posted 12 years ago by adrianparr
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).
1
1038
posted 12 years ago by Huskie
If you place favicon.ico and apple-touch-icon.png in the root of your website, these references are NOT required.
0
891
posted 12 years ago by Huskie
This snippet can be used to redirect the user to a different page (launch-page index.html) using only HTML
0
808
posted 12 years ago by sommertim
A complete HTML page for a Facebook "app" that does login entirely on the client.
1 - Create a Facebook application (see Facebook developer docs.).
2 - Because of a Facebook "bug" the app should have Sandbox Mode disabled (App Settings - Advanced -...
8
1767
posted 13 years ago by rlmcneary2
Show Hide table data uses href, anchors, div tags, and javascript to toggle between showing and hiding a table on the html page.
0
641
posted 13 years ago by richtt
Dynamically add <label> HTML tag to input description, matching the input by adding an ID value to the input.
0
819
posted 13 years ago by jbernus
Sometimes a legacy database will have HTML entities stored in it.
This function converts them. Note that this function assumes you have a database abstraction layer, and may need to be modified to connect to YOUR database.
0
2243
posted 13 years ago by f6design