Bug Tracker

Changeset 5557

Show
Ignore:
Timestamp:
05/12/08 01:05:41 (7 months ago)
Author:
kswedberg
Message:

clueTip plugin: updated changelog. ready to add 0.9.7 to project page

Location:
trunk/plugins/cluetip
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/cluetip/Changelog.txt

    r4591 r5557  
    11 
    22== 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 
    311 
    412== 0.9.6 == 
  • trunk/plugins/cluetip/demo/demo.js

    r4532 r5557  
    22/* the next line is an example of how you can override default options globally (currently commented out) ... */ 
    33 // $.fn.cluetip.defaults.tracking = true; 
    4  
     4// $.fn.cluetip.defaults.debug = true; 
    55$(document).ready(function() { 
    66 
     
    2020    truncate: 60 
    2121  }); 
    22   $('a.load-local').cluetip({local:true, arrows: true, cursor: 'pointer'}); 
     22  $('a.load-local').cluetip({local:true, hideLocal: false, arrows: true, cursor: 'pointer'}); 
    2323  $('#clickme').cluetip({activation: 'click', width: 650}); 
    2424 
     
    4444    positionBy: 'bottomTop'     
    4545  }); 
    46   $('a.jt:eq(3)').cluetip({ 
     46 
     47  $('a.jt:eq(3)').cluetip({local: true, hideLocal: false}); 
     48   
     49  $('a.jt:eq(4)').cluetip({ 
    4750    cluetipClass: 'jtip', arrows: true,  
    4851    dropShadow: false,  
  • trunk/plugins/cluetip/demo/index.html

    r4511 r5557  
    77  <title>clueTip : A jQuery Plugin</title> 
    88 
    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> 
    1111  <script src="../jquery.hoverIntent.js" type="text/javascript"></script> 
    1212  <script src="../jquery.cluetip.js" type="text/javascript"></script> 
     
    1515  <link rel="stylesheet" href="demo.css" type="text/css" /></head> 
    1616<body> 
    17  
    1817  <h1 id="top">clueTip : A jQuery Plugin</h1> 
    1918  <ul id="navigation"> 
     
    9594          <h4>jTip Theme</h4> 
    9695          <ol> 
    97             <li><a class="jt" href="ajax6.htm" rel="ajax6.htm" title="jTip Style!">jTip Style clueTip</a>, with slideDown effect and an 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 /> 
    9897            <ins>New</ins>: The clueTip will close if you mouse out of it.  
    9998              <div class="html">View the HTML</div> 
     
    141140      positionBy: 'bottomTop' 
    142141    });</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>&lt;a class="jt" href="#" rel="p.localvisible"&gt;visible local content&lt;/a&gt;</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> 
    143149            </li> 
    144150            <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  
    332332      if (opts.delayedClose > 0) { 
    333333        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); } 
    338334      } 
    339335      opts.onShow($cluetip, $cluetipInner);