sarbjitarora
Member
Posted 1 year ago #
Hi,
The plugin will always load dcjq-mega-menu.css, even when "no theme" is selected. I am trying to reduce the number of HTTP requests and it does not help.
Also, is there a way to load the .js in footer. Since this plugin needs jquery all the js pushed to Header. This is not recommended.
http://wordpress.org/extend/plugins/jquery-mega-menu/
remix4
Member
Plugin Author
Posted 1 year ago #
Hi,
The js is loaded using wp_enqueue_script (this is most definitely recommended) so you would need to come up with a way to move that to the footer.
The actual initialisation script is located in the footer however
dcjq-mega-menu.css is not related to the theme. This contains the minimum CSS required in order to create the mega menu structure as we didnt want to generate all required styling via jquery as this slows down the loading