From cc839b34ac06c57fd9c109bb301e39b01148f4a2 Mon Sep 17 00:00:00 2001 From: Beomki Lee Date: Thu, 31 May 2012 21:56:23 +0900 Subject: [PATCH] * iframe js, css changed from relative path to absolute path --- iframe.html | 12 ++++++------ js/example.js | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/iframe.html b/iframe.html index ed61674..ccd2604 100644 --- a/iframe.html +++ b/iframe.html @@ -3,13 +3,13 @@ - - - - + + + + - - + + diff --git a/js/example.js b/js/example.js index c1d209f..f99ecf3 100755 --- a/js/example.js +++ b/js/example.js @@ -22,14 +22,14 @@ $(function(){ $("", { rel: "stylesheet", type: "text/css", - href: "css/visualize-light.css" + href: "http://c0untd0wn.snucse.org/graphify/css/visualize-light.css" }).appendTo("head"); } else{ $("", { rel: "stylesheet", type: "text/css", - href: "css/visualize-dark.css" + href: "http://c0untd0wn.snucse.org/graphify/css/visualize-dark.css" }).appendTo("head"); } @@ -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'}); }