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
// JavaScript Document | |
var room_336 = [409,397,68,36]; | |
var room_339 = [409,302,68,36]; | |
var room_340 = [409,269,68,36]; | |
var room_342 = [409,207,68,36]; | |
var room_343 = [409,176,68,36]; | |
var room_348 = [379,82,35,65]; | |
var room_394 = [585,461,35,65]; | |
var room_588 = [92,82,35,65]; | |
var room_591 = [126,82,35,65]; |
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
// ==UserScript== | |
// @name Open CodeProject Links | |
// @namespace http://hibbard.eu/ | |
// @version 0.1 | |
// @description Opens all of the links from the CodeProject newsletter in one go | |
// @match http://www.codeproject.com/script/Mailouts/* | |
// @copyright 2012+, hibbard.eu | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Tooltip demo</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<style>#container{ width:600px; margin: 0 auto; padding-top:50px; }</style> | |
</head> | |
<body> |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Tooltip demo</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script type="text/javascript" src="path-to-jquery.atooltip.js"></script> | |
<link type="text/css" href="path-to-atooltip.css" rel="stylesheet" media="screen" /> | |
<style>#container{ width:600px; margin: 0 auto; padding-top:50px; }</style> | |
</head> |
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
<?php | |
session_start(); | |
$counter_name = "counter.txt"; | |
// Check if a text file exists. If not create one and initialize it to zero. | |
if (!file_exists($counter_name)) { | |
$f = fopen($counter_name, "w"); | |
fwrite($f,"0"); | |
fclose($f); | |
} |
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
<?php | |
session_start(); | |
$counter_name = "counter.txt"; | |
// Check if a text file exists. If not create one and initialize it to zero. | |
if (!file_exists($counter_name)) { | |
$f = fopen($counter_name, "w"); | |
fwrite($f,"0"); | |
fclose($f); | |
} |
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
<p>Select the background colour: | |
<select class="selector"> | |
<option value="background-default">Default</option> | |
<option value="background-blue">Blue</option> | |
<option value="background-green">Green</option> | |
<option value="background-red">Red</option> | |
</select> | |
</p> | |
<p>Select the text colour: |
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
body{color:#000; background:#fff;} | |
.background-blue{background:blue;} | |
.background-red{background:red;} | |
.background-green{background:green;} | |
.color-yellow, .color-yellow a{color:yellow;} | |
.color-white, .color-white a{color:white;} | |
.color-purple, .color-purple a{color:purple} |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Style changer - Page 1</title> | |
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> | |
<script src="jquery.cookie.js"></script> | |
<style> | |
body{color:#000; background:#fff;} | |
.background-blue{background:blue;} |
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
<ul id="myMenu"> | |
<li id="blog"><a href="/blog">Blog</a></li> | |
<li id="humor"><a href="/humor">Humor</a></li> | |
<li id="consulting"><a href="/consulting">Consulting</a></li> | |
<li id="contact"><a href="/contact">Contact</a></li> | |
</ul> |