1. Nebula Nebula
  2. /
  3. JavaScript
  4.  (Page 10)

facebookConnect()

This is automatically initialized on window load when the Facebook App ID Nebula Option is used. After the asynchronous initialization, fbinit is triggered. Documentation Login Button Graph API User Fields Reference Read More »

visibilityChangeActions()

This function essentially does the following: If a prerender was detected, send an event to Google Analytics and prevent videos from playing. If the page was hidden, trigger nebula_page_hidden, add a class to the body, and pause all videos. Otherwise, if the page has become visible, trigger nebula_page_visible and remove the from the body. Note: This does Read More »

mmenus()

Use the ID  on the navigation , and the class  on the tag parent of the icon (if using one) to toggle the open/close icon change. Refer to the Mmenu documentation for customization of the offcanvas menu itself. Read More »