Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Me he basado en el combo que he encontrado en snippler por luman por eso empieza el Ãndice en 2
3
2144
posted 19 years ago by isaac
The above example uses PHP's heredoc syntax. With it, we can completely eliminate PHP tags from the insides of HTML tags.
1
2200
posted 19 years ago by juno
One notorious discrepancy between IE and Firefox (or other "good" browsers) is the way they access the class HTML attribute. While I've used more complicated solutions in the past, this simple solution doesn't require any browser detection or even a...
2
2010
posted 19 years ago by Todd
Shows you how to link 2 objects together via the object function. If a value isn't found in the object, it will look for it in the linked object.
0
1347
posted 19 years ago by 1man
Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.
1
1588
posted 19 years ago by 1man
Requires the twitter bundle. This is an early attempt at updating this. Pretty crude at the moment, but it works.
2
1679
posted 19 years ago by gtcaz
Adapted from http://journal.mychores.co.uk/articles/2007/01/21/updating-twitter-from-ruby-rails
2
1659
posted 19 years ago by gtcaz
Simply replaces the div's innerHTML with the response text received from the file.
3
2911
posted 19 years ago by 1man
Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).
1
1478
posted 19 years ago by 1man
This template is for an XHTML 1.1 document with an external stylesheet.
0
1842
posted 19 years ago by cpjobling