No announcement yet.

Problem with dropdown menus

  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with dropdown menus


    I've a problem with drop-down menus such like ( Thread Tools, Search, Thread Rate ... etc )

    sometimes it opens smoothly, some other times it doesn't.

    I noticed the following: if I wait until the page loads completely, the dropdown works. But if I click it before the page being fully loaded, it doesn't work, and I see the url adds this extension: "#goto_threadtools".

    I think it has something to do with Footer,
    Does the javascript of these dropdown menus located in the footer? if yes, what if I cut it and paste it in the header?

    Waiting for Help

  • #2
    No, the init for the js is located in the footer, and it needs to be the last thing initilized. and the opening slowly / fastly. would be a memory / cpu / system issue.


    • #3
      Mr. Zachery

      If I cut the following code ( located in footer ):
      PHP Code:
      <script type="text/javascript">
      // Main vBulletin Javascript Initialization
      and paste it in the header part, would this force Javascript to load first, so the problem doesn't happen with my moderators?

      cuz some of them have slow internet connections, and they click "stop" before the page loads the footer if it has lots of posts and images.


      • #4
        I think its in the footer for a reason, however i could be wrong.


        • #5
          OK we are waiting for the final answer,

          Why does the 'init' appears in Footer instead of Header?


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.