Changeset 5557
- Timestamp:
- 05/12/08 01:05:41 (7 months ago)
- Location:
- trunk/plugins/cluetip
- Files:
-
- 4 modified
-
Changelog.txt (modified) (1 diff)
-
demo/demo.js (modified) (3 diffs)
-
demo/index.html (modified) (4 diffs)
-
jquery.cluetip.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/cluetip/Changelog.txt
r4591 r5557 1 1 2 2 == New and Noteworthy == 3 4 == 0.9.7 == 5 6 * added support for metadata plugin 7 * patch for problem with outerHeight returning 0 8 * fixed problem with title attribute conflict when using custom title 9 * avoided opera bug for img loading countdown with ajax; this had the effect of not loading cluetip first time it was hovered 10 * added initial semicolon to avoid problems with file concats 3 11 4 12 == 0.9.6 == -
trunk/plugins/cluetip/demo/demo.js
r4532 r5557 2 2 /* the next line is an example of how you can override default options globally (currently commented out) ... */ 3 3 // $.fn.cluetip.defaults.tracking = true; 4 4 // $.fn.cluetip.defaults.debug = true; 5 5 $(document).ready(function() { 6 6 … … 20 20 truncate: 60 21 21 }); 22 $('a.load-local').cluetip({local:true, arrows: true, cursor: 'pointer'});22 $('a.load-local').cluetip({local:true, hideLocal: false, arrows: true, cursor: 'pointer'}); 23 23 $('#clickme').cluetip({activation: 'click', width: 650}); 24 24 … … 44 44 positionBy: 'bottomTop' 45 45 }); 46 $('a.jt:eq(3)').cluetip({ 46 47 $('a.jt:eq(3)').cluetip({local: true, hideLocal: false}); 48 49 $('a.jt:eq(4)').cluetip({ 47 50 cluetipClass: 'jtip', arrows: true, 48 51 dropShadow: false, -
trunk/plugins/cluetip/demo/index.html
r4511 r5557 7 7 <title>clueTip : A jQuery Plugin</title> 8 8 9 <script src="../jquery-1.2. 2.min.js" type="text/javascript"></script>10 <script src="../jquery.dimensions .js" type="text/javascript"></script>9 <script src="../jquery-1.2.3.min.js" type="text/javascript"></script> 10 <script src="../jquery.dimensions-1.2.js" type="text/javascript"></script> 11 11 <script src="../jquery.hoverIntent.js" type="text/javascript"></script> 12 12 <script src="../jquery.cluetip.js" type="text/javascript"></script> … … 15 15 <link rel="stylesheet" href="demo.css" type="text/css" /></head> 16 16 <body> 17 18 17 <h1 id="top">clueTip : A jQuery Plugin</h1> 19 18 <ul id="navigation"> … … 95 94 <h4>jTip Theme</h4> 96 95 <ol> 97 <li><a class="jt" href="ajax6.htm" rel="ajax6.htm" title="jTip Style!">jTip Style clueTip</a>, with slideDown effect andan image placed in the title for closing it, because it's sticky. <br />96 <li><a class="jt" href="ajax6.htm" rel="ajax6.htm" title="jTip Style!">jTip Style clueTip</a>, with an image placed in the title for closing it, because it's sticky. <br /> 98 97 <ins>New</ins>: The clueTip will close if you mouse out of it. 99 98 <div class="html">View the HTML</div> … … 141 140 positionBy: 'bottomTop' 142 141 });</code></pre> 142 </li> 143 <li>For this one, we're loading <a class="jt" href="#" rel="p.localvisible">visible local content</a> 144 <div class="html">View the HTML</div> 145 <pre><code><a class="jt" href="#" rel="p.localvisible">visible local content</a></code></pre> 146 <div class="jquery">View the jQuery</div> 147 <pre><code>$('a.jt:eq(3)').cluetip({local: true, hideLocal: false});</code></pre> 148 <p class="localvisible">and here is our visible local content!</p> 143 149 </li> 144 150 <li><a class="jt" href="ajax3.htm" rel="ajax3.htm">togglable clueTip</a> can be turned off by unchecking the checkbox<br /> -
trunk/plugins/cluetip/jquery.cluetip.js
r5556 r5557 332 332 if (opts.delayedClose > 0) { 333 333 closeOnDelay = setTimeout(cluetipClose, opts.delayedClose); 334 }335 if (opts.debug) {336 var positions = 'posY: ' + posY + ', tipHeight: ' + tipHeight + ', baseline: ' + baseline + ' (sTop: ' + sTop + ', wHeight: ' + wHeight + ')';337 if (window.console && console.log) { console.log(positions); }338 334 } 339 335 opts.onShow($cluetip, $cluetipInner);
