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
$("#roundedCornersSlider").slider({ | |
min: 1, | |
max: 10, | |
stop: function(event, ui) { | |
var current = $(this).val(); | |
alert(current); | |
} | |
}); |
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
<div id="extras"> | |
<!--[if IE]> <p><small>You should consider upgrading your browser to | |
<a href="http://www.mozilla.com/firefox">Firefox</a> or <a href="http://www.opera.com">Opera</a>. | |
</small></p> <![endif]--> | |
</div> |
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
// this code works for getting the webkit border radius value | |
var borderRadiusValue = $("#dynamic").css("border-top-left-radius"); | |
console.log(borderRadiusValue); | |
// this code doesn't work for getting the -moz-border-radius value | |
var borderRadiusValue = $("#dynamic").css("-moz-border-radius"); | |
console.log(borderRadiusValue); | |
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
def quick_note(note) | |
case note | |
when "a0" | |
"#{note} = 0" | |
when "a#0" | |
"#{note} = 1" | |
when "b0" | |
"#{note} = 2" | |
when "c1" | |
"#{note} = 3" |
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> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
<title>Visualizing Data as a Bar Graph</title> | |
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/> | |
<link rel="stylesheet" type="text/css" href=".css"/> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script src="js/protovis-r3.2.js"></script> | |
<style> | |
*{ |
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
foreach($a_input as $element) { $term[] = '[' . $element[$pointer1] . ', ' . $element[$pointer2] . ', ' . $element[$pointer3] . '] '; } |
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 | |
$month1 = $a_input[0][0]; | |
$month2 = $a_input[1][0]; | |
$month3 = $a_input[2][0]; | |
$month4 = $a_input[3][0]; | |
$month5 = $a_input[4][0]; | |
$month6 = $a_input[5][0]; | |
$month7 = $a_input[6][0]; | |
$month8 = $a_input[7][0]; | |
$month9 = $a_input[8][0]; |
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 | |
$month = array(); | |
foreach ($a_input as $element) {$month[] = $element[0];} | |
$serie1 = new XYDataSet(); | |
$serie1->addPoint(new Point("$month[0]", $a_input[0][1])); | |
$serie1->addPoint(new Point("$month[1]", $a_input[1][1])); | |
$serie1->addPoint(new Point("$month[2]", $a_input[2][1])); | |
$serie1->addPoint(new Point("$month[3]", $a_input[3][1])); | |
$serie1->addPoint(new Point("$month[4]", $a_input[4][1])); | |
$serie1->addPoint(new Point("$month[5]", $a_input[5][1])); |
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
<head> | |
<script src="js/jquery.js" type="text/javascript"></script> | |
<script src="js/boombox.js" type="text/javascript"></script> | |
</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
<div id="boombox"> | |
<div><span id="boomboxCounter">1</span> <span id="boomboxTrackName"></span></div> | |
<button id="boomboxPlayBtn" class="slick-black boombox">Play</button> | |
<button id="boomboxPauseBtn" class="slick-black boombox">Pause</button> | |
<button id="boomboxPreviousBtn" class="slick-black boombox">Previous</button> | |
<button id="boomboxNextBtn" class="slick-black boombox">Next</button> | |
<button id="boomboxVolumeDownBtn" class="slick-black boombox">Volume Down</button> | |
<button id="boomboxVolumeUpBtn" class="slick-black boombox">Volume Up</button> | |
</div> |