diff --git a/ui/experiment-ribbon-navigation-n-zoom.html b/ui/experiment-ribbon-navigation-n-zoom.html index e6ba451f..417e9aa0 100755 --- a/ui/experiment-ribbon-navigation-n-zoom.html +++ b/ui/experiment-ribbon-navigation-n-zoom.html @@ -12,7 +12,10 @@ XXX zoom animation is odd... --> + + + @@ -17,6 +18,7 @@ + @@ -69,6 +71,8 @@ $(document).ready(setup);
+
+
^
@@ -79,6 +83,9 @@ $(document).ready(setup);
+ + +

diff --git a/ui/markers.css b/ui/markers.css new file mode 100755 index 00000000..27368e47 --- /dev/null +++ b/ui/markers.css @@ -0,0 +1,21 @@ + +.h-marker { + position: absolute; + border-top: solid blue 1px; + height: 0px; + width: 100%; + top: 50%; + left: 0px; + display: none; +} + +.v-marker { + position: absolute; + border-left: solid blue 1px; + height: 100%; + width: 0px; + top: 0px; + left: 50%; + display: none; +} + diff --git a/ui/markers.js b/ui/markers.js new file mode 100755 index 00000000..0b5908e7 --- /dev/null +++ b/ui/markers.js @@ -0,0 +1,10 @@ + +function toggleMarkers(){ + var marker = $('.v-marker, .h-marker') + if(marker.css('display') == 'none'){ + marker.fadeIn() + } else { + marker.fadeOut() + } +} +