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
.overlay { | |
background-color:white; | |
filter:alpha(opacity=50); /* IE */ | |
opacity:0.5; /* Safari, Opera */ | |
-moz-opacity:0.50; /* FireFox */ | |
z-index:20; | |
height:100%; | |
width:100%; | |
background-repeat:no-repeat; | |
background-position:center; |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<ul id="theul"><li>sweet child of theul</li></ul> | |
<div id="thediv">thediv</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
if(typeof console == "undefined") { // for ticket 484 | |
this.console = {log: function() {}}; | |
} |
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
<cfset value = '' /> | |
<cfthread name="aThread" action="run"> | |
<cfset value = objectInstance.method(anArgument) /> | |
</cfthread> | |
<cfset sleep(5000) /><!--- wait for a bit (give the thead a chance to complete) ---> | |
<cfif ((aThread.Status IS "RUNNING") || (aThread.Status IS "NOT_STARTED"))><!--- if the thread is not done, kill it ---> | |
<cfthread action="terminate" name="aThread" /> | |
<cfset sleep(500) /><!--- sleep for a bit to properly terminate the thread ---> |
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
<!-- you too can export dygraphs http://dygraphs.com/ | |
as pngs by using this awesome library http://cavorite.com/labs/js/dygraphs-export/ --> | |
<html> | |
<head> | |
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script type="text/javascript" src="//dygraphs.com/dygraph-combined.js"></script> | |
<script type="text/javascript" src="dygraph-extra.js"></script> | |
</head> | |
<body> | |
<div id="graphdiv" style="width:500px; height:300px;"></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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SVG > Canvas</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> |
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 HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>Canvas Image To CFDocument Via toDataURL() and AJAX</title> | |
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
</head> | |
<body> | |
<a href="#" id="makePdfLink">Make PDF</a>, <a href="aPdf.pdf">View PDF</a> | |
<canvas id="myCanvas"></canvas> |
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.writeCheckbox = function(id,value){ | |
var doCheck = true; | |
var isChecked = false; | |
var selector = '#' + id; | |
if(value == 0 || value == '' || value == undefined){ | |
doCheck = false; | |
} | |
isChecked = $(selector).parent().children("span").hasClass("checked"); |
NewerOlder