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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:26

Conflict with another piece of Javascript?


Poster: vengavenga
Dated: Monday May 31 2004 - 13:19:12 BST

Thanks to the help I've had here already (thanks :) ) the menu is now working perfectly .. or at least it was until I installed a Live Support system (chatlivenow) on my site.

My site is http://www.vengavenga.com.

Chatlivenow needs the following piece of monitoring code on each page:

<!-- Start LiveChatNow.Com Monitoring -->
<script language='javascript'
src='http://zebra.livechatnow.com/js/js.php?cid=6789&img=url=&refer=&group=General'></script>
<script language='javascript'>
<!--
_cln_reload(0);
// -->
</script>
<!-- End LiveChatNow.Com Monitoring -->

it's been placed just before the </body> tag.

Since I've done that, the menus are behaving oddly - sometimes not showing at all, sometimes in the wrong place and sometimes perfectly.

I'm no javascript expert and so I haven't a clue what's wrong.

Anyone else experienced anything similar?

Thanks,

Ali.


Poster: Ruth
Dated: Monday May 31 2004 - 13:29:04 BST

I'm not a javascript person either, but try putting the menu code in the head instead of body? Just something to try and see if it works. Which browser and OS does this, and is the submenu supposed to open way up at the top right? I almost didn't see it, thought there was no submenu.

Ruth


Poster: vengavenga
Dated: Monday May 31 2004 - 13:59:43 BST

Thanks for the super-duper-speedy reply Ruth :)

Your idea didn't work, but it very nearly did ... I think that it's working OK now.

Putting the menu code in the header, leaving the live-support in the body changed nothing, but doing it the other way round (menu in body, support in header) seems to be working ... I think!

There shouldn't be any sub-menus showing at all.
There is an "orphaned" submenu in the menudata file, but it wasn't being called from any of the main menu options - I've commented it out in case.
Strangely though, I've never seen the submenu appear.

Can you just confirm that it's no longer appearing? The only one that should appear is the main menu on or around the "Start Here" button.

Thanks again for your help :)

Ali.[/i]


Poster: Ruth
Dated: Monday May 31 2004 - 23:24:07 BST

Yes, that's the one that appeared at the upper right. It's now appearing right next to the start here. Perhaps that script did something to it. Hope the script code works. If it doesn't come back. One of the guys does javascript questions, but is away for the holiday, that's why I made the suggestion.

Ruth


Poster: John
Dated: Tuesday June 1 2004 - 5:41:27 BST

Looks like you're using Dreamweaver to edit your code (unless you have an external attached), but all your quotes are showing up "curly" instead of straight - like in a word processor (it won't show here). Typically not good, as many browsers will choke on that.