/* style the select dropdown menus */ $('select').selectBox({ menuTransition: 'fade', // default, slide, fade menuSpeed: 'fast' });
function fn_destroy_select() { if ( is_page_template('tpl-full-width.php') ) { ?> <script type="text/javascript"> // <![CDATA[ jQuery(function() { //jQuery('select').selectBox('destroy'); jQuery('#spMainContainer #spQuickLinksTopic .dd .ddChild, #spMainContainer #spQuickLinksForum .dd .ddChild').hide(); }); // ]]> </script> <?php }}add_action('wp_head', 'fn_destroy_select', 40);
There are currently 1 users browsing this thread. (0 members and 1 guests)