Permalink
Browse files

preload image to fix the blank image viewer issue

  • Loading branch information...
1 parent bd65610 commit 4c563bfc93e6d6ff0f2577037be39cc232124083 @LunchBox committed Jun 9, 2009
Showing with 129 additions and 107 deletions.
  1. +5 −1 demo.html
  2. +124 −105 javascripts/image_operator.js
  3. +0 −1 stylesheets/viewer.css
View
@@ -12,6 +12,10 @@
<link type="text/css" rel="stylesheet" media="screen" href="stylesheets/viewer.css">
</head>
<body>
+ <div id="preload_images" style="display:none">
+ <img src="dcm_images/dicom_images_brain_001.jpg"/>
+ </div>
+
<div id="image_viewer">
</div>
@@ -34,6 +38,6 @@
//onROIRemove: function(rois){alert(rois.length);}
});
</script>
-
+
</body>
</html>
Oops, something went wrong.

0 comments on commit 4c563bf

Please sign in to comment.