diff options
author | kborchers <kris.borchers@gmail.com> | 2011-10-11 00:06:09 -0500 |
---|---|---|
committer | kborchers <kris.borchers@gmail.com> | 2011-10-11 00:06:09 -0500 |
commit | f24ab94f86ddcc4382800f6f1664320dd31a935c (patch) | |
tree | ce12c2e7b65a222b6905c36b83407d9b3c3923cf /demos | |
parent | fa26847f910ec32bf59fe6dc839e81e5dfce8247 (diff) | |
download | jquery-ui-f24ab94f86ddcc4382800f6f1664320dd31a935c.tar.gz jquery-ui-f24ab94f86ddcc4382800f6f1664320dd31a935c.zip |
Popup: Removed the focusout and focusin handlers which are nolonger necessary. Also updated the tooltip style demo to have a little more interactive content.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/popup/tooltip.html | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/demos/popup/tooltip.html b/demos/popup/tooltip.html index 40715d874..184c91b4b 100644 --- a/demos/popup/tooltip.html +++ b/demos/popup/tooltip.html @@ -18,14 +18,9 @@ } }); - $( "#info-link" ).hover( - function( event ) { - $("#more-info").popup( "open" ); - }, - function( event ) { - $("#more-info").popup( "close" ); - } - ); + $( "#info-link" ).mouseover( function( event ) { + $("#more-info").popup( "open" ); + }); }); </script> <style type="text/css"> @@ -50,9 +45,9 @@ <div class="demo"> <div> - <textarea>More info about me to the right -></textarea> <span id="info-link" class="ui-icon ui-icon-info" /> + <textarea>More info about me to the right -></textarea> <span id="info-link" class="ui-icon ui-icon-info"></span> + <div id="more-info">This is some more info and there is even more info on <a href="#">this page</a>.</div> </div> - <div id="more-info">This is some more info</div> </div> <div class="demo-description"> |