Welcome To Snipplr
Everyone's Recent Snippets Tagged xhtml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
created some navigation buttons for a site i'm working on, this is without images in a horizontal arrangement. kevh.net has the article on creating the vertical navigation, and how to do both using images instead of native CSS styling
1
872
posted 17 years ago by kevh
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
713
posted 18 years ago by rolandog
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
3
897
posted 18 years ago by rolandog
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
977
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
1145
posted 18 years ago by rolandog
Just a simple template for the XHTML 1.0 Strict doctype. Updated with slight fix involving the meta tags.
3
1231
posted 18 years ago by 1man
Very simple standard compliant way of opening a page in a new window. Since XHTML 1.0 Strict doesn't allow the target attribute in the tag. This method isn't recommended, use the DOM folks! See "Standard Compliant Way to Open a New Page Function" in...
46
6109
posted 18 years ago by 1man
A rough search form based on usage with googleboxes and xslt templates for results.
0
1888
posted 18 years ago by luxuryluke
This is the general page template that I usually start with. It has all of the essentials (along with a favicon link - not essential).
29
5206
posted 18 years ago by jonhenshaw