Serious Mobile Navigation Menu Problems

Support Area › Forums › Epic › Serious Mobile Navigation Menu Problems

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #19093
    Charles Smith
    Participant

    Mobile navigation menu has stopped working. I have disabled all plugins, to no avail. I enabled one by one and at some point the navigation menu came back on briefly but only on the front page (no sub menus). Now its gone again … every page.

    Sorry to bother you again Bill, but can you help me with this issue?

    #19096
    Bill Robbins
    Participant

    Chuck,

    The mobile navigation menu is jQuery powered so typically when it stops working it indicates there is some type of javascript trouble happening.

    I made a copy of the site’s source code to experiment on. I found that when I take out this section:

    
                    <script type='text/javascript'>jQuery(document).ready(function($){gformInitSpinner( 1, 'http://www.pvumc.net/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery('#gform_ajax_frame_1').load( function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_1');var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = !(form_content.length <= 0 || is_redirect);if(is_form){jQuery('#gform_wrapper_1').html(form_content.html());jQuery(document).scrollTop(jQuery('#gform_wrapper_1').offset().top);if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_1').val();gformInitSpinner( 1, 'http://www.pvumc.net/wp-content/plugins/gravityforms/images/spinner.gif' );jQuery(document).trigger('gform_page_loaded', [1, current_page]);window['gf_submitting_1'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('#gforms_confirmation_message').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_1').replaceWith('<' + 'div id=\'gforms_confirmation_message\' class=\'gform_confirmation_message_1\'' + '>' + confirmation_content + '<' + '/div' + '>');jQuery(document).scrollTop(jQuery('#gforms_confirmation_message').offset().top);jQuery(document).trigger('gform_confirmation_loaded', [1]);window['gf_submitting_1'] = false;}, 50);}else{jQuery('#gform_1').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [1, current_page]);} );} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [1, 1]) } ); </script>
    

    that the navigation will work again. Safari is reporting a variable error:

    ReferenceError: Can’t find variable: gformInitSpinner

    I hope that points you in the right direction. Let me know if you have any questions.

    On a totally unrelated note, our next church theme will be released on Monday. You can see the demo at http://demo.organizedthemes.com/kerygma if you’re interested.

    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Serious Mobile Navigation Menu Problems’ is closed to new replies.