Avatar

JavaScript questions @Milo and @Alex (Design/Themes)

by Auge ⌂, Monday, August 15, 2016, 12:03 (2809 days ago) @ Micha

Hello

@Milo: What is the effort to change the JavaScript at this point?

I don't know. ;-) At the moment, it seems to be a small effort. I believe, we have to change some lines in main.js.

This seems to be the right place.

<div class="thread-posting new" id="p9130">
<!-- header, body and footer of the entry -->
</div>

We only need to set or remove a class name, set appropriate CSS-rules for the default template and remove the JS-setted foo.style.display orders. Is there something that I forgot?

Are there further places with similar behaviours?

I suppose so.

I saw the all spinner graphics beside the submit buttons, where visibility:hidden; will be toggled. But I didn't found the corresponding JS-code.

Are you aware of additional places?

And one more question:
Is it possible to add theme-dependent JS-code without interaction with the main.js?

Tschö, Auge

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


Complete thread:

 RSS Feed of thread