Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The ideal use of this code would be to save the Javascript code as a .js file. Then use the HTML code at the bottom to call it wherever you want on the web page.
1
976
posted 18 years ago by Jaymoon
The form method must be post and the enctype set as it is below. The hidden input for MAX_FILE_SIZE must also be included. The value is the max file size (in bytes?).
4
923
posted 18 years ago by pckujawa
Use to redirect an html page after headers have already been sent. The 5 is the number of seconds before redirect to the URL.
1
845
posted 18 years ago by pckujawa
Elimina las etiquetas de párrafo <P< y </P< (sin parámetros) y las sustituye por saltos de línea <BR />.
En caso necesario inserta un <BR /> adicional para simular la separación de párrafos.
0
783
posted 18 years ago by Navegante
Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict.
Mixed two separate scripts:
http://www.workingwith.me.uk/articles/scripting/mimetypes
http://golem.ph.utexas.edu/~distler/blog/arc...
2
719
posted 18 years ago by rolandog
Save this snippet via Safari as webarchive and replace an already created signature with this webarchive. Signatures are stored under ~/Library/Mail/Signatures
2
938
posted 18 years ago by AlexK
Para evitar problemas con IE. Hace referencia a un script que pongo en la parte de .js
0
1005
posted 18 years ago by kanirasta
Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one...
http://www.doknowevil.net/litebox/
1
987
posted 18 years ago by rolandog
For a working demo in application/xhtml+xml or text/html, go to:
http://rolandog.com/archives/2006/07/10/litebox-demasiado-bueno-para-ser-cierto/
You should delete the multi-line comments after completing the setup, some old browsers will complai...
3
1152
posted 18 years ago by rolandog
I have also posted the Javascript that makes this markup show and hide.
0
944
posted 18 years ago by 1man
Insert these 2 lines into the to have your local pages refresh while coding. Make sure you use inline style sheets to stop caching problems. Remove once you make the site live.
3
1103
posted 18 years ago by 1man
reference:
\n
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
7
1171
posted 2025 years ago by aravet