Windows Vista and Windows 7 can both run versions of the IIS web server. To install it, open the Control Panel and choose Programs and Features; then select Turn Windows features on or off from the left column. Next, select Internet Information Services, and click OK. This will install IIS. After that, you need to set up a site. Again from the Control Panel, select Administrative Tools, then Internet Information Services (IIS) Manager. The easiest way to get things running is to create a project directory inside C:\Inetpub\wwwroot, and then point your browser at that directory: http://192.168.0.1/your-directory.
This file contains 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
<figure class="left"> | |
 | |
<footer><p>Caption goes here.</footer> | |
</figure> | |
<figure> | |
 | |
<footer><p>Caption goes here.</footer> | |
</figure> |
This file contains 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
$eleven40-grid-width: 4.85% !default; // The width of a column | |
$eleven40-grid-margin: 3.8% !default; // The amount of margin between columns | |
@mixin eleven40-container { | |
padding-left: 20px; | |
padding-right: 20px; | |
} | |
@mixin eleven40-row { | |
margin: 0 auto; |
This file contains 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
$.ajax({ | |
url: 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=someonesplendid', | |
dataType: 'jsonp', | |
success: function(data) { | |
var tweet = data[0].text; | |
tweet = tweet.replace(/(http\:\/\/[A-Za-z0-9\.\/_]+)/g, '<a href="$1">$1</a>'); | |
tweet = tweet.replace(/@([a-zA-Z0-9_]+)/g, '<a href="http://twitter.com/$1">@$1</a>'); | |
$('#tweet').html(tweet); | |
} | |
}); |
This file contains 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
<!-- Call the template --> | |
<xsl:call-template name="replace-node-set"> | |
<xsl:with-param name="input" select="hints/text()" /> | |
<xsl:with-param name="node" select="//pattern" /> | |
<xsl:with-param name="total" select="count(//pattern)" /> | |
</xsl:call-template> | |
<!-- Recursive template that iterates through the pattern nodes --> | |
<xsl:template name="replace-node-set"> | |
<xsl:param name="node" /> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:exsl="http://exslt.org/common" | |
extension-element-prefixes="exsl"> | |
<xsl:import href="../../utilities/generic/string-replace.xsl" /> | |
<xsl:strip-space elements="* | @*"/> |
NewerOlder