Announcement

Collapse
No announcement yet.

Problem with dropdown menus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with dropdown menus

    Hello

    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
    Private,

  • #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.

    Comment


    • #3
      Mr. Zachery

      If I cut the following code ( located in footer ):
      PHP Code:
      <script type="text/javascript">
      <!--
       
      // Main vBulletin Javascript Initialization
       
      vBulletin_init();
      //-->
      </script
      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.

      Comment


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

        Comment


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

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

          Comment

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