diff options
Diffstat (limited to 'demos/popup/tooltip.html')
-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"> |