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: Wednesday July 18 2012 - 06:07:42

script conflict


Poster: cstoner __at__ cstoner.net
Dated: Wednesday April 10 2002 - 17:57:05 BST

After I added your menu to my page, my mouse trail stopped working. I think there is probably a conflict somewhere but I don't know where as I am new to javascript. My trail uses a body onload command

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:09 BST

Hi Amy

We can't help you if you don't give any link to your website...

fr Bill

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:10 BST

The Milonic Menu does not use onload. The problem most likely lies in a function conflict between our menu and the trail scripting you are using. As Bill says, if you have a website using both we can look at then we can troubleshoot for you, otherwise I'm afraid there is little we can do.
Cheers,
Yadin

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:11 BST

duh, sorry! The page is not yet posted so I can't give you a link, so here's the code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML dir="LTR" lang="en">
<!-- Alfonso Loera Music Scholarship-->
<!-- Created by Amy Wescott -->
<!-- October 2001-->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="keywords" content="Alfonso Loera, Muskegon, music, scholarship, Muskegon Community Foundation Fund">



<style type="text/css">
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:8pt;
font-family:Verdana;
color:"#6666ff";
}
</style>
<script>

var x,y
var step=20
var flag=0

var message="alfonso "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i ) {
xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i ) {
ypos[i]=-50
}

function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop event.clientY
flag=1
}

function makesnake() {
if (flag==1

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:12 BST

I too have a script conflict. I have a scrolling message javascript that will not work. I tried to combine the onloads into 1 but no luck.

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:13 BST

You page seems to work fine in IE, but netscape is having issues. I have looked over things and can't find the problem, I'll have to defer to Andy to look at the code and see if he can find the issue.
Yadin

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:15 BST

i think you have to code the onload command a little different.

ex: Onload() example;example2 that snytax is close but you will have to play with it. also try looking at a javascript help file just do a search and look a the onload command and see what it says if you can find one. good luck

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:16 BST

Amy,

To get your mouse tails back, do the following:

Place the 2 menu js files IMMEDIATELY following the 'body' statement; and,
be sure that onload="makesnake();" follows the word 'body' and before the style statement.

Then your mouse tails will work.

Andre
(decent jscripter)

Re: script conflict


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:50:17 BST

Thank you Andre, it worked like a charm!
Amy