JS Menu loads last?

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Now that I found some menu I comfortable with I do have one problem and that is the js menu loads last on my sites. The site at http://www.shoppealots.com/ has some long page and takes some time to load and the menu is last to load. Is there a way to make the menu load sooner? View http://www.shoppealots.com/zgolhome.php for example.

Thanks Papa
Photo of papa

papa

  • 327 Posts
  • 20 Reply Likes
  • O.K.

Posted 10 years ago

  • 1
Photo of papa

papa

  • 327 Posts
  • 20 Reply Likes
Hi all
Any suggestion as to how to make menu load before rest of page loads?

papa
Photo of Dré

Dré

  • 201 Posts
  • 15 Reply Likes
Hi Papa,

I'm not to clued up with this side of things but I have forwarded this query onto the guys that do. Hopefully, we'll have something to feedback soon.

Thanks for your patience!
Photo of Dré

Dré

  • 201 Posts
  • 15 Reply Likes
Official Response
Hi Papa,

In your site, most likely in a HTML widget that you have added, you've included the following snippet:

<script type='text/javascript' src='resources/drop_down/change here.js'></script>
<script type='text/javascript' src='resources/drop_down/leave alone.js'></script>

If you add <script type='text/javascript'>Trigger.Go();</script> immediately after that, it will load the menu first.

Hope this helps!
Photo of papa

papa

  • 327 Posts
  • 20 Reply Likes
Dre
thank you tried this on a few pages and work wonderfully

papa
Photo of Dré

Dré

  • 201 Posts
  • 15 Reply Likes
I'll pass on your thanks the colleague that actually passed this info onto me, Michael.

Glad we could help.