Avatar

JavaScript, feature request (Project organisation)

by Auge ⌂, Thursday, November 24, 2016, 17:59 (2652 days ago) @ Micha

Hello

I want to change it to the following. What I want, is the assignment of the class to the parent element.

Add a new class in the template, if you can not select the parent itself. This seems to be the easiest way.

Sorry, but I don't understand your attempt. The class should be included and removed with a click or a tap. Therefor this must be handled with JavaScript. If I set the class hardcoded into the template, one can't toggle the visibility of entries and sidebar-blocks.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

locked
54959 views

Complete thread:

 RSS Feed of thread