Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1760
posted 19 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
1432
posted 19 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
1428
posted 19 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
1275
posted 19 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
1912
posted 19 years ago by AlexK
Para evitar problemas con IE. Hace referencia a un script que pongo en la parte de .js
0
2633
posted 19 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
1629
posted 19 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
2209
posted 19 years ago by rolandog
I have also posted the Javascript that makes this markup show and hide.
0
1663
posted 19 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
2128
posted 19 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
3041
posted 2026 years ago by aravet