jQuery Script for manipulating TOC elements in Tripane skin

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
witia1990
Propeller Head
Posts: 17
Joined: Tue Mar 24, 2020 6:11 am

jQuery Script for manipulating TOC elements in Tripane skin

Post by witia1990 »

Hi,

I'm writing a script with jQuery to replace TOC elements inside my Tripane skin.
As for now, I want to highlight selected elements to find out if I choose them right.
The script is as follows:

Code: Select all

$(function(){
    $(".tree").css("background-color", "rgba(168,166,50,0.5)");
});
Unfortunately it doesn't highlight the element as it should (see on the picture below)
Jquery select tree.png
Inside ul element of class="tree" in HTML document there is this property data-mc-chunk="Data/Toc.xml" , which I suppose does something that stops me from modifications?I tried to select any list element but I couldn't.

Do you have any idea why I cannot select and perform operations on these list elements?
Or, maybe, there is a method to do it in any other way?
I would be very grateful for some help and any hint:)
You do not have the required permissions to view the files attached to this post.
Post Reply