Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

How to alter the order of the script on loading
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to alter the order of the script on loading
#35773
How to alter the order of the script on loading 11 Years, 10 Months ago Karma: 0
Hi,
I have an odd issue which is causing the vertical menu to not display if the page takes a few extra seconds to load.

For example on my test site (1060462694.1056630172.temp.prositehosting.co.uk) there's a few Joomla modules doing various Javascript / image loading etc.

If for some reason the page takes a few seconds to load, and in that time the user hovers over the menu (which should trigger a sub menu drop down using Javascript), the sub menu items are not available; until after all the page load has completed.

Is there a way in the core code somewhere to cause the vertical dropdown script to run before anything else on the page, so essentially all the drop down menus are ready before anything else loads on the page.

Thanks
The administrator has disabled public write access.
 
#35885
Re:How to alter the order of the script on loading 11 Years, 10 Months ago Karma: 760
Hello,

You can initialize menu on DOM ready event. For this set "Load method" parameter to "DOM Ready".

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1