Skip to content

Commit

Permalink
* iframe js, css changed from relative path to absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
c0untd0wn committed May 31, 2012
1 parent 1b042b1 commit cc839b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />

<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="js/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/visualize.jQuery.js"></script>
<script type="text/javascript" src='js/example.js'></script>
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="http://c0untd0wn.snucse.org/graphify/js/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="http://c0untd0wn.snucse.org/graphify/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="http://c0untd0wn.snucse.org/graphify/js/visualize.jQuery.js"></script>
<script type="text/javascript" src='http://c0untd0wn.snucse.org/graphify/js/example.js'></script>

<link href="css/basic.css" type="text/css" rel="stylesheet" />
<link href="css/visualize.css" type="text/css" rel="stylesheet" />
<link href="http://c0untd0wn.snucse.org/graphify/css/basic.css" type="text/css" rel="stylesheet" />
<link href="http://c0untd0wn.snucse.org/graphify/css/visualize.css" type="text/css" rel="stylesheet" />
</head>
<body>
<input type="button" value="See it in table" />
Expand Down
6 changes: 3 additions & 3 deletions js/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ $(function(){
$("<link/>", {
rel: "stylesheet",
type: "text/css",
href: "css/visualize-light.css"
href: "http://c0untd0wn.snucse.org/graphify/css/visualize-light.css"
}).appendTo("head");
}
else{
$("<link/>", {
rel: "stylesheet",
type: "text/css",
href: "css/visualize-dark.css"
href: "http://c0untd0wn.snucse.org/graphify/css/visualize-dark.css"
}).appendTo("head");
}

Expand Down Expand Up @@ -63,7 +63,7 @@ $(function(){
setTimeout(function(){
$('#input_table').hide();
type = $.getUrlVar('type');
if(type == 'pie'){ $('#input_table').visualize({type: 'pie', parseDirection: $.getUrlVar('axis'), height: '300px', width: '420px'}); alert($('table').html()); }
if(type == 'pie'){ $('#input_table').visualize({type: 'pie', parseDirection: $.getUrlVar('axis'), height: '200px', width: '420px'}); }
else if(type == 'bar'){ $('#input_table').visualize({type: 'bar', parseDirection: $.getUrlVar('axis'), width: '420px'}); }
else if(type == 'area'){ $('#input_table').visualize({type: 'area', parseDirection: $.getUrlVar('axis'), width: '420px'}); }
else{ $('#input_table').visualize({type: 'line', parseDirection: $.getUrlVar('axis'), width: '420px'}); }
Expand Down

0 comments on commit cc839b3

Please sign in to comment.