Poster: Iriel at 9/12/2005 10:16:39 PM PDT Subject: Slouken: SimpleHTML/Hyperlink problem in 1.7 |
| |
I'm just running through all my addons in detail on the test server to make sure they really do work in 1.7 and I just noticed that my SimpleHTML hyperlinks no longer work!
Bookworm uses |H style hyperlinks in SimpleHTML to do menus for books, and they seem to be ignoring me in 1.7.
I noticed there's a new SetHyperlinkFormat method for SimpleHTML objects, <EDIT> but that just seems to set up how hyperlinks are rendered, is there something I have to do with this to get the result i'm after or did it get turned off??</EDIT>
Any light you could shed on this would be appreciated![ post edited by Iriel ]
> Use ## SavedVariables: instead of RegisterForSave()
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post214880 |
| |
Poster: slouken at 9/13/2005 12:19:10 AM PDT Subject: Re: Slouken: SimpleHTML/Hyperlink problem in 1.7 |
| |
Hey Iriel, could you set up the usual minimal addon test case?
SetHyperlinkFormat() should not be necessary if you're using the standard link format (e.g. no special link coloring, etc.)
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post214900 |
Poster: slouken at 9/13/2005 4:44:38 AM PDT Subject: Re: Slouken: SimpleHTML/Hyperlink problem in |
| |
Q u o t e:
(On the bright side, this DID fix the 'hyperlinks dont work until you show/hide/show the frame problem -- kinda, in that they dont work at all now without the <html>, so I did get to remove TWO pieces of hacky code today!)
Yep, had to fix this for the server alert pane, which is now HTML capable. :)
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post214962 |
Poster: slouken at 9/13/2005 2:52:53 PM PDT Subject: Re: Slouken: SimpleHTML/Hyperlink problem in |
| |
Thanks, Iriel, I'll take a look at these when I get a chance.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post215275 |
Poster: slouken at 9/13/2005 4:09:00 PM PDT Subject: Re: Slouken: SimpleHTML/Hyperlink problem in |
| |
Okay, there were three different bugs here, and I've fixed all three for 1.8.
Your test suite runs perfectly now (including links in non-HTML text).
Thanks, that was very helpful![ post edited by slouken ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post215494 |
Poster: slouken at 9/13/2005 5:46:17 PM PDT Subject: Re: Slouken: SimpleHTML/Hyperlink problem in |
| |
Within the BODY tag, you can have:
H1
H2
H3
P
BR
IMG
H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame.
Within H1, H2, H3 and P, you can have BR and A tags.
The IMG tag can have align, width, height, and src attributes.
I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)
Is this on the wiki somewhere?
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=214880&p=#post215723 |