Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:30
Reload manu_data.js
Poster: ywfbi
Dated: Friday September 30 2005 - 11:07:32 BST
Hi folks, what Im trying to do is reload the menu_data.js file, now since its loaded after the soure files I assume it can be done.
If I put a
Code:
document.write("<scr"+"ipt type=text/javascript src=menu_data.js><\/scr"+"ipt>");
or
document.write("<script type="text/javascript" src="menu_data.js"><\/script>");
or
document.write("<script type="text/javascript" src="menu_data.js"><\/script>");
I get a mm_style is undefined error.
Any ideas would be greatly appreciated.
Now I can just refresh the page, but there would be a few seconds time delay (due to lengthy js), if I could just unload and reload the menus I think it may be quicker.