jQuery Tipsy: Simple Overwriting Solution?
问题 How can I change the direction from "n" to "w" without losing the test text and without cloning it? $(".tipsy").live('mouseover',function() { $(this).tipsy({gravity: "n", html: true}); $(this).tipsy("show"); }); $(".tipsy").live("click",function() { $('.tipsy').remove(); $(this).tipsy({gravity: 'w', html: true}); $(this).tipsy("show"); }); <div class="tipsy" title='<u>test link</u>'>TestTestTestTestTestTestTestTestTestTestTest</div> Here's a fiddle: http://jsfiddle.net/nQvmw/23/ 回答1: As seen