Welcome To Snipplr
Everyone's Recent Snippets Tagged xhtml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a no-nonsense xHTML 1.1 template for use in a new document. The first head section has the stuff that shouldn't change from project to project. The second head section has the stuff that shouldn't change from page to page. The third has the s...
8
1063
posted 15 years ago by Kerrick
In the content property, the first number is the number of seconds until the refresh, the URL is where the redirect will go.
2
972
posted 15 years ago by chippper
A simple form with rounded corners, and hopefully not too much markup. You'll need some kind of graphic for the corners of course - I used 20px corners for this.
It's a bit rough, would love to know what some other people think.
1
939
posted 15 years ago by superdeluxesam
An example of how to write your own navigation with dynamic "active" classes.
3
1012
posted 15 years ago by kristarella
I have created this thing over the course of several attempts.
1
799
posted 15 years ago by trdunsworth
PHP
Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.
Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text.
A handy tool for displaying HTML stored in a database.
4
1895
posted 15 years ago by X3Maverick
This is a sample Google Maps API script that shows a base map with city markers, each with a numbered label. The marker is a default, blank red marker with a number label defined by the overlay array. Clicking on a marker takes you to a page define...
1
1209
posted 16 years ago by bcalloway
Sample script to use Google API to display a map with multiple marker layers that can be toggled on/off using checkboxes. The map data is provided using the .kml files provided from "My Maps" on Google, or Google Earth files.
2
1770
posted 16 years ago by bcalloway
Based on templates by luxuryluke and Kevin Hale.
Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is dis...
8
1233
posted 16 years ago by nighthawk
Add two containers to the element to be centered.
This is also needed for IE6:
1.
<!--[if>-->
2.
.navwrap ul{float:left;}
3.
<![endif]-->
0
707
posted 16 years ago by kanirasta
Basically, this is the XHTML web standards template you see on the front page. I usually end up removing a few things, so this is just that template... but with the junk removed.
1
858
posted 16 years ago by Jacolyte
write this in your .htaccess
links are going to look like this
yourpage.de/yourVariableValue1/yourVariableValue2/
[NC] will remove the case sensitivity of your static words like "admin"
its going to work, even if you type
yourpage.de/a...
2
879
posted 16 years ago by antpaw