Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Metrik
Experienced
Topic Author
Posts: 41
Joined: 08 Jul 2010, 17:20

JSTREE not interpreting html

03 Oct 2010, 05:38

Would it be possible to have the JSTREE menu to actually interpret html?
When I use html code in a Description, the html does not get interpreted, so when hovering over a subfolder containing a description, I get raw html code shown like this:

Image
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: JSTREE not interpreting html

08 Oct 2010, 09:01

Unfortunately, this is an artifact of your browser. Browsers display the title attribute of links, but they will not render the HTML. The only option would be to disable the title attribute altogether (or change it from displaying the description to the folder title, but that would be useless as it would simply repeat the name of the title).

Another option would be to have a jQuery/javascript tooltip for the html gallery replace the native browser-function. This would be something for a future version of course ...
 
User avatar
Metrik
Experienced
Topic Author
Posts: 41
Joined: 08 Jul 2010, 17:20

Re: JSTREE not interpreting html

09 Oct 2010, 03:34

Karl, thank you for clearing this up. I didn't think of this, but now it seem so obvious.