changeset 102:8d8e6c2bfec2 draft

modified viewer_white.html
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 17 Mar 2013 01:43:50 +0900
parents 098e87253903
children 1b44197d02ef
files public/viewer/viewer_white.html
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/public/viewer/viewer_white.html	Sun Mar 17 00:40:38 2013 +0900
+++ b/public/viewer/viewer_white.html	Sun Mar 17 01:43:50 2013 +0900
@@ -33,8 +33,8 @@
     position:absolute; 
     font-size:12px; padding:4px; background:white;
     z-index:20;
-    width: 50px; 
-    height 50px; 
+    width: 45px; 
+    height: 40px; 
     border-radius:50px;
     border:2px solid silver;
     overflow:hidden;
@@ -46,7 +46,7 @@
     <nobr id='header_title' style='margin-left:40px;'><a href='index.html'>Home</a></nobr>
 </div>
 
-<div id="miniDisplay" style='position:fixed; left:20; top:70; width:300px; height:300px; border:solid 1px; border-radius:5px; opacity:0.5; z-index:10; '>
+<div id="miniDisplay" style='position:fixed; left:20; top:70; width:300px; height:300px; border:solid 1px; border-radius:5px; opacity:0.5; z-index:10; visibility:hidden;'>
   <div style='position:absolute; left:0; top:0; width:100%; height:100%; background:black; opacity:0.5;'>  </div>
   <div id="closeMiniDisplay" style='position:absolute; right:5; top:-3; z-index:10;' onclick="$('#miniDisplay').css('visibility','hidden');" onmouseover="$('#closeMiniDisplay').css('color','blue');" onmouseout="$('#closeMiniDisplay').css('color','black')" >CLOSE</div>
   <div style='position:absolute; width:90%; height:90%;'>
@@ -101,7 +101,7 @@
 $(function() {
     userName = localStorage.userName;
     if(userName) {start();}
-    else $("#miniDisplay").css("visibility", "visible");
+    else { }
 })
 
 function beginScript() {
@@ -257,7 +257,7 @@
     init();
     var rootNode = new Object();
     rootNode.property = sampleJSON1;
-    showMiniDisplay(rootNode);
+//    showMiniDisplay(rootNode);
     updateNode(rootNode);
     $("#graphRoot").css({
 	left: ViewParam.offsetLeft + ViewParam.nodeWidth/2 - ViewParam.intervalX,