Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Removes $ from HTML form post, allows only number and decimal points. Has $ display in field but disappear when onfocus.
1
943
posted 11 years ago by lromak
jQuery Mobile <head> template with needed css and js from CDN.
From http://http://jquerymobile.com/
0
901
posted 11 years ago by goo
CSS3 Ajax Loading Animation
========
This is a simulation for the popular gif animated images. The reason why i choose to do it in css3 is the flexibility of re-using it in different sizes, different colors and the transparency issues in gif anim...
1
910
posted 11 years ago by MohamedAlaa
PHP
HTML Helper Function Create Any Element With Any Number Of Attributes (self-closing and container tags)
/**
* THIS FUNCTION WILL RENDER A CONTAINER OR SELF-CLOSING HTML ELEMENT.
* IT AUTO DETECTS WHAT TYPE YOU WANT
* BASED ON RATHER OR NOT YOU SET A _data KEY IN THE ARRAY OF
* ATTRIBUTES PASSED TO THE FUNCTION
*
* USING AN ASSOCIATIVE ARRA...
0
975
posted 12 years ago by halk
The marquee will stop when you hover the cursor over it. It will restart when you move the cursor away from it.
1
893
posted 12 years ago by o0110o
Shows how to use WebClient class to retrieve HTML from an URL and then to use HtmlAgilityPack to parse it.
1
1414
posted 12 years ago by denakitan
table with image on one side, products info on the other.
includes some CSS from Tablizer that has been modified.
0
820
posted 12 years ago by dcoxdesigns
Conforming XHTML 1.0 Strict Template - The Web Standards Project
1
1110
posted 12 years ago by thesmu
Conforming XHTML 1.0 Transitional Template - The Web Standards Project
1
1036
posted 12 years ago by thesmu
The Command pattern aims to encapsulate method invocation, requests or operations
into a single object and gives you the ability to both parameterize and pass method calls
around that can be executed at your discretion. In addition, it enables you...
0
716
posted 12 years ago by timsommer
In software engineering, a mediator is a behavioral design pattern that allows us to
expose a unified interface through which the different parts of a system may communicate. If it appears a system may have too many direct relationships between modu...
0
726
posted 12 years ago by timsommer
A complete lightbox with minimal code and full functionality: close button, close on escape keypress, close on lightbox blur event.
1
727
posted 12 years ago by mortu
List of websafe fonts. Websafe (or "web safe", "safe for the web") fonts are supposedly fonts that are common among all versions of Windows, Mac, Linux, etc. Fonts that you expect everyone viewing your webpage to have.
0
864
posted 12 years ago by praveensewak
Zen Coding HTML Full Page: wrapper DIV with UL nav + content DIV + footer DIV
2
1180
posted 12 years ago by s3rgi0
Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
0
834
posted 12 years ago by satie83
PHP
Remove / Replace - href / anchor /link - in html /string - preg_replace - php - regex - regular expression
Replaces all links within href part of anchor in a HTML-String.
1
3873
posted 12 years ago by rwunsch
Add the "no-js" class to your topmost html element, so you can use CSS to style JavaScript-free pages. This snippet will then replace that tag with "js", allowing you to style pages with JavaScript.
The excellent [HTML5 Boilerplate](http://html5bo...
0
2297
posted 12 years ago by EvanHahn
The below script list out the available tags based on the character you enter in the Tag field and the available tags in the array. All the user submitted tags through the Tag form will be stored in an array. Use the below script to enable the auto-c...
1
826
posted 12 years ago by aruldave
this code is used to remove the html code in the given string
1
808
posted 12 years ago by satinfo30
Very simple form search box
Here for play coded http://undercover-blogger.blogspot.com/p/html-editor.html
0
910
posted 12 years ago by BebenKoben