I m 采用美容分法,但Im没有装 l通过动态的URLs作为亚子宫。 http://www.lullabot.com/files/bt/bt-latest/DEMO/index.html“rel=“nofollow”>。
$( #example18 ).bt({
ajaxPath: ["$(this).attr( href )", div#content ]
});
我
$( .username ).bt({
ajaxPath: ["$(this).attr( title )"]
});
However, when I hover over the username
element, instead of bringing up the URL stored in the title attribute within the Beautytip, it attempts to send the whole browser to another page (or refresh; it s hard to tell because the browser address doesn t change, but the page goes blank, and a View Source shows an entirely different page.)
我verified that the title in the element in question is correct and is being addressed correctly. If I statically pass the path, it works, but I d rather not write a new version of this function for every item on the page that needs a Beautytip.
Is there a syntax issue here? Any help would be much appreciated.
我的超声望是:
<span class="username" title="http://degree3.com/popup/baloon/member-summary?id=53">Username</span>