Mercurial > defr > drupal > scald > dnd
annotate js/bt/DEMO/demofiles/logo.html @ 35:abc9d39cfbe9
Switch the trigger from mouseover to click.
MouseOver is problematic if people want to interact with the content of the
popup, for example to click the play button of an swf player.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Fri, 18 Sep 2009 15:11:03 +0200 |
parents | 0d557e6e73f7 |
children |
rev | line source |
---|---|
eads@18 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
eads@18 | 2 "http://www.w3.org/TR/html4/strict.dtd"> |
eads@18 | 3 <html lang="en"> |
eads@18 | 4 <head> |
eads@18 | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
eads@18 | 6 <title> |
eads@18 | 7 BeautyTips Demo Page |
eads@18 | 8 </title> |
eads@18 | 9 <meta name="author" content="Jeff Robbins"> |
eads@18 | 10 <script src="../../other_libs/jquery-1.3.min.js" type="text/javascript" charset="utf-8"> |
eads@18 | 11 </script> |
eads@18 | 12 <script src="../../other_libs/bgiframe_2.1.1/jquery.bgiframe.min.js" type="text/javascript" charset="utf-8"> |
eads@18 | 13 </script><!--[if IE]><script src="../other_libs/excanvas_0002/excanvas-compressed.js" type="text/javascript" charset="utf-8"></script><![endif]--> |
eads@18 | 14 |
eads@18 | 15 <script src="../../jquery.bt.min.js" type="text/javascript" charset="utf-8"> |
eads@18 | 16 </script> |
eads@18 | 17 <script type="text/javascript"> |
eads@18 | 18 $(document).ready(function(){ |
eads@18 | 19 $('a').bt('<img src="beautytips.png" height="122" width="181" />', { |
eads@18 | 20 strokeStyle: '#666', |
eads@18 | 21 strokeWidth: 1, |
eads@18 | 22 cornerRadius: 25, |
eads@18 | 23 padding: 2, |
eads@18 | 24 positions: 'top', |
eads@18 | 25 spikeLength: 20, |
eads@18 | 26 spikeGirth: 15, |
eads@18 | 27 centerPointX: .9 |
eads@18 | 28 }); |
eads@18 | 29 }); |
eads@18 | 30 </script> |
eads@18 | 31 </head> |
eads@18 | 32 <body style="text-align:center"> |
eads@18 | 33 <div style="height:300px"></div> |
eads@18 | 34 <a href="hello">hello</a> |
eads@18 | 35 </body> |
eads@18 | 36 </html> |