Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:38

Problems with the menu and other Javascripts


Poster: Dennis Jones
Dated: Wednesday September 4 2002 - 11:41:46 BST

:cry:

Hi, at the moment I have the Milonic menu working great on my website. The problem comes when I want other JavaScripts to work on the same page.

The JavaScript I want to work is a news scroller. This news script works fine when used on its own but when combined with the menu it ceases to work.

As soon as I include the javascript files this is when the news scoller stops working:

<SCRIPT language=JavaScript src="sidemenu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>

I have included both the news scroll not working correctly and the page which does work.


Newsscroller does not work
http://www.groundworkwales.org.uk/newss ... thmenu.htm


Newsscroller does work
http://www.groundworkwales.org.uk/newsscroller.htm

I would be grateful if someone can help me get the menu and the news scroll to work on the same page.

Thank you.


Poster: Kramer
Dated: Thursday September 5 2002 - 2:50:22 BST

I'm having this problem as well. When I add some scripts, the menu stops working. With others, the added script fails and the menu continues to work. I have yet to get the menu to work with another script. Any help appreciated. I'll try to post an example soon. Thanks.


Poster: Scott
Dated: Thursday September 5 2002 - 12:21:08 BST

Tried to have a look a Dennis's non working example and the page failed.

menu and Javascript


Poster: Dennis Jones
Dated: Friday September 6 2002 - 15:56:08 BST

:?

I managed to get it to work but I had to move most of my code around so it runs in a different order to what it originally did.


My advice is to play with the order of the codes. e.g. my menu code does not work if it sits in between the head tags. Also I've had to delcare my news scroll code before my menu code otherwise it won't show.

Have fun playing.


See it here:

http://www.groundworkwales.org.uk/

The news scroll should be on the right hand side of the page unless your viewing it with Netscape and then it doesn't even appear.


Poster: Scott
Dated: Friday September 6 2002 - 16:00:07 BST

Netscape's great like that ;)


Poster: Hergio
Dated: Friday September 6 2002 - 16:18:49 BST

I've tried getting my menu to work with a love digital clock. They way I worked it was I just changed the order in which I listed my scripts. For example, my script was...
<script src=menu_array.js></script>
<script src=clock.js></script>
<script src mmenu.js></script>

and to make it work, I just switched the ordering of the scripts until it worked. The only rule here is you have to declare menu_array before mmenu, obviously. :idea:


Poster: John
Dated: Friday September 6 2002 - 17:59:53 BST

Having the same problem here with some, but not all, combination pages. On those that fail I have tried changing the order and placement of the calls, but so far nothing has worked.