-
Notifications
You must be signed in to change notification settings - Fork 0
UM GUI JS
A collection of javascript, jQuery functions that UM needed to make some FX and layout fix.
Disable this if you use others UI Frameworks
Example: um_toc( $('div.maketoc'), 'h2', 'Table of contents' )
Make TOC from h2 Element inside div.maketoc.
Example: um_fit_img ( $('.feature-image img') )
Set each .feature-image img aspect ratio using height/width
Example: um_content_height($('#content'),280)
Set #content minimal height equal to window height - (site-header + site-footer) or at least 280px. So site-footer will be at bottom.
Example: um_onscroll_fixed($('#um-top'),$('.main-navigation'),0)
#um-top will stop scrolling and dock to .main-navigation bottom position, with 0 px added-adjustment
Example: um_tab($('div.maketab'));
Make tab menu out for h3 from inside <div class='maketab'> wrapper
Make all .um_msg = UM Messages.
Colours manipulations functions for css colours
Function for ajax-login front-end
- Make
/wp-loginmenu with custome links in your navigations toolbar, to intergrate login/logouts button-link into your design