rejetto forum

Author Topic: The "Takeback" template - A different & modern taste  (Read 50608 times)

Offline NaitLee

  • Tireless poster
  • ****
  • Posts: 203
  • Computer-brain boy
    • View Profile
Re: The "Takeback" template - A different & modern taste
« on: May 04, 2020, 07:01:27 AM »
I wish it did not load extra font nor extra jquery. 
...
I can hardly wait to see what the next update will bring.

Yes, here you are! See the first post to check it out!
Choose whether to use font and jQuery or not on your own! Fallbacks for them are also perfect enough.

... and, the FaikQuery is not jQuery:
Code: [Select]
// FaikQuery: WIP
function _$(querier) {
var elements = document.querySelectorAll(querier);
this.hide = this.fadeOut = this.slideUp = function () {
    elements.forEach(function(element, index) {
        element.style.display = 'none';
    });
}
this.show = this.fadeIn = this.slideDown = function () {
    elements.forEach(function(element, index) {
        element.style.display = 'block';
    });
}
}
function $(element) { return new _$(element); }
It's easy & short, enjoy!
« Last Edit: May 05, 2020, 06:38:31 PM by NaitLee »
"Computation is not forbidden magic."
Takeback Template | PHFS

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team