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
<div id="myChart" style="width:400px;height:400px;"></div> | |
<script type="text/javascript"> | |
YUI.use('charts', function(Y) { | |
var myData = [ | |
{category: 'Monday', values: 2}, | |
{category: 'Tuesday', values: 5}, | |
{category: 'Wednesday', values: 7}, | |
{category: 'Thursday', values: 6}, |
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
[% page.load_scripts_at_top = 1 %] | |
<!-- IF you add this, you will run the 3.5.0pr2 code directly from yuilibrary, and can remove all your Gallery crap ... | |
<script type="text/javascript" src="http://yui.yahooapis.com/3.5.0pr2/build/yui/yui-min.js"></script> | |
--> | |
<script type="text/javascript"> | |
/* Delete the gallery stuff |
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
YUI({ | |
filter:'raw', combine:false, | |
// paginator-view is on YUI Gallery | |
modules: { | |
'datatable-paginator': { | |
fullpath: "http://www.jbistudios.com/applicationdev/js/yui/build/datatable-paginator-class/datatable-paginator-class.js", | |
type: 'js', | |
requires: [ "datatable-base", "base-build", "event-custom" ] | |
} |
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
YUI({ | |
filter:'raw', combine:false, | |
modules: { | |
'datatable-paginator': { | |
fullpath: "http://www.jbistudios.com/applicationdev/js/yui/build/datatable-paginator-class/datatable-paginator-class.js", | |
type: 'js', | |
requires: [ "datatable-base", "base-build", "event-custom" ] | |
}, | |
'paginator-css' : { | |
fullpath: "http://jbistudios.com/applicationdev/js/yui/build/paginator-mv/assets/paginator-view.css", |
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Your Title</title> | |
<!-- Enter any page specific CSS link files --> | |
<link href="/yui/google-code-prettify/prettify.css" rel="stylesheet" type="text/css" /> | |
<!-- Enter any local CSS declarations here --> | |
<style></style> |