Thottbot > Forums > Powered by Thottbot > Doesn't Work with Link gen...
NEW! Wrath of the Lich King Talents!   NEW! Project Lore 2.2
  Report  Quote Reply Doesn't Work with Link generated by Javascript?
Score 15     Vote: [-] [+] by C_A, 6.0 months ago
When I put a static html link on a page, the tooltip looks great.  However, when I generate the link on the fly using Javascript, the tooltip won't come up.  I've also tried the tt="!+http://thottbot.com/i33333/T" format, but it doesn't work either (and even if it did, I'd like to have the nice formatting that comes with the automatic tooltip.)

Am I correct in assuming that this is a limitation of power.js, or am I doing something wrong?  I've tested it both with IE and Firefox.

Just so I am clear about my problem, the following lines work when entered in the normal way in an html document, but not when written into the body using document.writeln()

<span tt="!+http://thottbot.com/i30735/T">Ancient Spellcloak of the Highborne</span><br>
<a href="http://thottbot.com/i30735">Ancient Spellcloak of the Highborne</a><br>
  Report  Quote Reply Re: Doesn't Work with Link generated by Javascript?
Score 15     Vote: [-] [+] by Thott <Afterlife>, 5.8 months ago
Given the way power.js is implemented, it should work.

Do you have an example URL?

--Thott

BackTop
 
Created by Thott - Thottbot 3.53 - Feedback