https://kriesi.at/support/topic/fix-elements-on-scroll/
thanks for the tip but i think it is allthough a little buggy.
have a look at : http://wordpress-webdesign.org/testumgebung/fixiertes-element/
scroll down
is it really the parent Element which you will behave like that or is it a previous sibling?
How can we than obtain that possibility.
Looks nice but it has to work in a correct way.
Hi Guenter!
Thank you for using Enfold.
I’m not really sure if I understand you clearly but this is actually not a theme related issue and improving any related performance regarding the customization on the tab element should be done by yourself or a freelance developer. Thank you for your understanding.
Regards,
Ismael
I never required an issue like that but because of an existing thread – which has answers of Mods i want a little clarification concerning to that old thread.
So the original Thread is closed now but the mentioned method was nice to have.
But the code there corrected by you
var childElement = document.getElementsByClassName("fixedtab")[0];
var parentElement = document.getElementsByClassName("main_color")[0];
is playing with the parentElement which leeds to some bugs.
See the example http://wordpress-webdesign.org/testumgebung/fixiertes-element/ by scrolling down.
But you have all my appreciation if you don’t like to get into that code to deep.
And the thread here could be closed too.
Thanks
Hey!
Yes, I’ll close this thread now. Enfold does not support “scrolling tabs” out of the box and we don’t advertise this feature on the demo page or product description page. I consider this as customization request which is beyond the scope of our free support service.
Regards,
Peter