Support » Plugin: IMPress for IDX Broker » Omnibar jumping on load

  • Resolved jwcoffeeman

    (@jwcoffeeman)


    When my site loads, the omnibar takes a second to load with the button appearing below the bar briefly before jumping into place. I’ve customized the CSS, but even with that not active, the jumping still happens. Is there a way to make this load instantly with the button where it’s supposed to be?

    This is the page I’m working on: http://debbieflowersgroup.com

Viewing 1 replies (of 1 total)
  • Plugin Author IDX Broker

    (@idxco)

    The following script at the bottom of the page (footer) is causing the actual page jump:

    <script type='text/javascript' src='http://debbieflowersgroup.com/wp-content/plugins/shiftnav-pro/assets/js/shiftnav.min.js?ver=1.5.1.1'></script>

    This code is causing the change in button location.

    <script type='text/javascript'>
    /* <![CDATA[ */
    var idxUrl = "http:\/\/DebbieFlowers.idxbroker.com\/idx\/results\/listings";
    var mlsPtIDs = [{"idxID":"basic","mlsPtID":"all"},{"idxID":"a022","mlsPtID":"3"}];
    var idxOmnibarPlaceholder = "Type any Area, Address, School, ZIP, etc.";
    var idxUrl = "http:\/\/DebbieFlowers.idxbroker.com\/idx\/results\/listings";
    var mlsPtIDs = [{"idxID":"basic","mlsPtID":"all"},{"idxID":"a022","mlsPtID":"3"}];
    var idxOmnibarPlaceholder = "Type any Area, Address, School, ZIP, etc.";
    /* ]]> */
    </script>

    When I comment out both those sections of code the jump stops and the button stays in place. However, its place is under the search bar; which can be adjusted with css.

    • This reply was modified 3 years ago by IDX Broker.
Viewing 1 replies (of 1 total)
  • The topic ‘Omnibar jumping on load’ is closed to new replies.