skt_parallaxme_custom_admin_footer_js

The SKT Parallaxme skt parallaxme custom admin footer js function.

Description

skt_parallaxme_custom_admin_footer_js(); 

Usage

  1. if ( !function_exists( 'skt_parallaxme_custom_admin_footer_js' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = skt_parallaxme_custom_admin_footer_js(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function skt_parallaxme_custom_admin_footer_js() { 
  2. echo '<script> 
  3. var nums = jQuery("#numsection").val(); 
  4. jQuery(".toggle_title h3").addClass("toggleTitle"); 
  5. jQuery(".toggle_title").each( function( index ) { 
  6. jQuery( "#section-sectiontitle"+(index+1)+", #section-sectioncontent"+(index+1)+", #section-menutitle"+(index+1)+", #section-sectionbgcolor"+(index+1)+", #section-sectionbgimage"+(index+1)+", #section-sectionclass"+(index+1) ).wrapAll( "<div class=\'toggle_wrapper\' />"); 
  7. }); 
  8. jQuery(".toggle_title h3").click( function() { 
  9. jQuery(this).parent().next().slideToggle(); 
  10. }); 
  11. </script>"';