This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if lt IE 7 ]><html class="ie6"><![endif]--> | |
<!--[if IE 7 ]><html class="ie7"><![endif]--> | |
<!--[if IE 8 ]><html class="ie8"><![endif]--> | |
<!--[if IE 9 ]><html class="ie9"><![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--><html><!--<![endif]--> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta charset="utf-8"> | |
<title>CSS Toolbar</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
NOTE: Add the SuppressWebPartChrome="True" attribute to <WebPartPages:DataFormWebPart> to get rid of the tables SharePoint normally surrounds the web part with. | |
--> | |
<xsl:stylesheet | |
version="1.0" | |
exclude-result-prefixes="xsl msxsl ddwrt x d asp ddwrt2 SharePoint __designer" | |
xmlns:x="http://www.w3.org/2001/XMLSchema" | |
xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" | |
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" | |
xmlns:asp="http://schemas.microsoft.com/ASPNET/20" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
IMGRESIZER | |
Image scaling in IE6 and 7 is bobbins. This uses their proprietary filter gubbins to make it better. | |
Original by Ethan Marcotte, at http://unstoppablerobotninja.com/entry/fluid-images/ | |
Rejigged by Olly Hodgson. | |
So Ethan [@beep] wrote a script that'll make IE6 and 7 on Windows resize | |
images beautifully [http://unstoppablerobotninja.com/entry/fluid-images/] | |
(without the performance hit you take from using -ms-interpolation-mode: | |
bicubic;). Tom H pointed out in the comments that it broke the right-click |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Run this against a content type page to get the HTML for the columns! | |
els = array of elements | |
type = "li"|"td"|"th"|"FieldRef" | |
*/ | |
function create(el, type) { | |
var fieldname, | |
displayname, | |
outputHTML = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Box shadow art, CSS transitions, via https://gist.github.com/cahnory | |
*/ | |
.image1 { | |
background: red; | |
font-size: 10px; | |
height: 1em; | |
width: 1em; | |
/* Drawing */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Escaping fun!</title> | |
</head> | |
<body> | |
<!-- Renders as 'abcd' --> | |
<p>abcd<efg</p> | |
<!-- Renders as 'abcd<&efg' --> |
OlderNewer