Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clicking the info button should open the panel.

  • Loading branch information...
commit bfc68289ba1543db1bd4c440f053a5109581a6d2 1 parent 78674cd
David Humphrey authored
Showing with 8 additions and 5 deletions.
  1. +8 −5 index.html
View
13 index.html
@@ -159,9 +159,7 @@
};
})(document.getElementById('img-sun'));
-
- var $divBookmarks = $('#div-bookmarks');
- $('#div-bookmarks-handle').mouseover( function (e) {
+ function slideOpen(e) {
var w = $divBookmarks.width();
function mouseCheck(e) {
$(window).unbind( 'mousemove', mouseCheck );
@@ -175,7 +173,12 @@
}, 250);
$divBookmarks.bind('mouseleave', mouseCheck);
- });
+ }
+
+ var $divBookmarks = $('#div-bookmarks');
+ $('#div-bookmarks-handle').mouseover( slideOpen ); //mouseover( slideOpen );
+ $('#info').click( slideOpen );
+
$('#div-bookmarks-accordion').accordion({
});
@@ -510,7 +513,7 @@
<div id="div-khan-video"></div>
<img id="img-sun" src="img/sun.jpg" />
<div id="div-bookmarks">
- <span id="span-bookmarks-title"><img src="img/info_white.png"></span>
+ <span id="span-bookmarks-title"><img id="info" src="img/info_white.png"></span>
<div id="div-bookmarks-handle"></div>
<div id="div-bookmarks-accordion"></div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.