javascript

jquery function in static site

Hey, I´ve found out, that the more-tag is only working in articles but not in sites – is that right? If so, i´d like to use this funktion: $('#more').click(function() { jQuery(this).text('less about us'); if($('#extra').is(':visible')){ jQuery(this).text('Less about us'); }else{ jQuery(this).text('More about us'); } $('#extra').slideToggle('fast'); return false; }); to hide/show html elements <a href="#" id="more">More about us</a> … Read more

pull another custom menu into the mobile menu

is there a way to do this? for example: I have a top navigation (#site-navigation) then i have a side navigation using a custom menu in a widget (#menu-sidenav) what i’d like to do is, upon triggering the responsive menu, pull in #menu-sidenav so that both menus are displayed. Looking at navigation.js, this definitely looks … Read more