Poster: Mugendai at 11/10/2005 10:39:00 AM PST Subject: Bug: SimpleHTML Hyperlink Click Issue |
| |
I am having a problem where the place I click to get an OnHyperlinkClick event, is not on the hyperlink itself.
It seems to be up a few lines above the desired location.
Ex.
/script ItemTextFrame:Show()
/script ItemTextPageText:SetText("<html><body><p>Line<br /><br /><a href=\"atest\">test</a></p></body></html>")
/script ItemTextPageText:SetScript("OnHyperlinkClick", function () ChatFrame1:AddMessage("test"); end);
Now if you click on the word "test" which should be a hyperlink, nothing will happen. But if you click on the empty line above it, it will print out "test" in the chat frame.
Is there anything I can do to fix this alignment? Or will that require work on the client?[ post edited by Mugendai ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=261493&p=#post261493 |
| |
Poster: slouken at 11/12/2005 10:25:06 AM PST Subject: Re: Bug: SimpleHTML Hyperlink Click Issue |
| |
Don't worry, it's on my list to look at.
I wanted to make sure I had all the layout bugs fixed before I looked at this, in case fixing those took care of the problem. (it didn't)
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=261493&p=#post262723 |
Poster: slouken at 11/14/2005 12:13:13 PM PST Subject: Re: Bug: SimpleHTML Hyperlink Click Issue |
| |
This is fixed for 1.9. Thanks for the great test case.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=261493&p=#post263928 |