What does mmenudom.js do?
-
- Beginner
- Posts: 9
- Joined: Fri Jan 21, 2005 10:24 pm
- Location: New Brunswick, New Jersey
What does mmenudom.js do?
Can anyone describe what this JS file is for and what happens if you leave it out in an implementation?
Thanks in advance!
Thanks in advance!
-
- Beginner
- Posts: 9
- Joined: Fri Jan 21, 2005 10:24 pm
- Location: New Brunswick, New Jersey
What does mmenudom.js do?
Thanks....
So, does it need to be present on the server only or included wherever milonic_src is included in the code?
So, does it need to be present on the server only or included wherever milonic_src is included in the code?
-
- Beginner
- Posts: 9
- Joined: Fri Jan 21, 2005 10:24 pm
- Location: New Brunswick, New Jersey
What does mmenudom.js do?
Thanks John!
Some of the users of our new Milonic menuing system are experiencing errors with code that previously existed in the app that called a JavaScript module to help them populate date fields.
I'm trying to find out if the introduction of the Milonic menu has caused a JavaScript related conflict, perhaps something JVM related and I was wondering if the mmenudom.js had anything to do with it.
One of our users reverted from IE 6 to IE 5.5 and was able to get around the problem, but I know that SMS is only going to overlay the browser again at some time in the future.
My tech people want to switch to a competing product, like OpenCube and my concern is that we would not be getting to the bottom of the problem, only trading one problem for another or perhaps getting the same problem.
Larry
Some of the users of our new Milonic menuing system are experiencing errors with code that previously existed in the app that called a JavaScript module to help them populate date fields.
I'm trying to find out if the introduction of the Milonic menu has caused a JavaScript related conflict, perhaps something JVM related and I was wondering if the mmenudom.js had anything to do with it.
One of our users reverted from IE 6 to IE 5.5 and was able to get around the problem, but I know that SMS is only going to overlay the browser again at some time in the future.
My tech people want to switch to a competing product, like OpenCube and my concern is that we would not be getting to the bottom of the problem, only trading one problem for another or perhaps getting the same problem.
Larry
Hi Larry -
Have you got a URL where we can possibly see the conflict you mention?
The Milonic code is very carefully written, and plays nicely with most other JS files - as long as they are written properly.
As for your tech folks, tell 'em to take a nap and we'll get to the bottom of this. Again, a URL would really help.
Have you got a URL where we can possibly see the conflict you mention?
The Milonic code is very carefully written, and plays nicely with most other JS files - as long as they are written properly.
As for your tech folks, tell 'em to take a nap and we'll get to the bottom of this. Again, a URL would really help.
John
Re: What does mmenudom.js do?
Hi Larry,
As John said, if you can give us a url to your site (or, if it's an intranet, a url to a public test page), then we can figure out what's going on.
Cheers,
Kevin
Just to help eliminate one avenue of investigation... Javascript and the Java Virtual Machine (JVM) are unrelated. They do not interact at all. The JVM is used to run Java applets and application. Javascript (the scripting language with which the menu system was written) code is interperted and executed by your browser and its components. Javascript and Java are two completely separate languages, with unfortunately similar names. The good news is, you don't have to worry about the JVM!lhayes@corus.jnj.com wrote:...I'm trying to find out if the introduction of the Milonic menu has caused a JavaScript related conflict, perhaps something JVM related and I was wondering if the mmenudom.js had anything to do with it...
As John said, if you can give us a url to your site (or, if it's an intranet, a url to a public test page), then we can figure out what's going on.
Cheers,
Kevin
-
- Beginner
- Posts: 9
- Joined: Fri Jan 21, 2005 10:24 pm
- Location: New Brunswick, New Jersey
What does mmenudom.js do?
Thanks John
The site in question is an intranet site, so I can't provide a working link to it, but I do have code snippets to test the hypothesis of whether they're playing well together.
Here's the date-picking code:
<input type=text name=effDate value=\""+effDate+"\" size=20 maxlength=20 onFocus=this.select() onChange=javascript:dateAlert();this.value=\"\">" + " <input type=button value=\"Select Date\" onClick=javascript:SetDateVar(\"effDate\") onMouseOver=window.status=\"Calendar\";return true" + " onMouseOut=window.status=\"\";return true>
function dateAlert()
{
alert("Please use the select date button to select a date instead of typing in the date")
}
function SetDateVar(datefld)
{
dateVar = datefld
OpenDateSelect()
}
If there's anything missing that is needed, just let me know. One of the reported behaviors is that the calendar opens but does not allow any selection to be made.
Larry
The site in question is an intranet site, so I can't provide a working link to it, but I do have code snippets to test the hypothesis of whether they're playing well together.
Here's the date-picking code:
<input type=text name=effDate value=\""+effDate+"\" size=20 maxlength=20 onFocus=this.select() onChange=javascript:dateAlert();this.value=\"\">" + " <input type=button value=\"Select Date\" onClick=javascript:SetDateVar(\"effDate\") onMouseOver=window.status=\"Calendar\";return true" + " onMouseOut=window.status=\"\";return true>
function dateAlert()
{
alert("Please use the select date button to select a date instead of typing in the date")
}
function SetDateVar(datefld)
{
dateVar = datefld
OpenDateSelect()
}
If there's anything missing that is needed, just let me know. One of the reported behaviors is that the calendar opens but does not allow any selection to be made.
Larry
Hi Larry,
Where did you get the code snippet you posted? I only ask because it has some aspects (e.g., this part: <b><input type=text name=effDate value=\""+effDate+"\"</b>) that make me wonder if it's being written to the page dynamically; e.g., inside one or more calls to document.write(), or using some server-side script. This code alone won't really help. Also, there's at least one more function definition that doesn't appear, OpenDateSelect().
It'd be better if you could post an example page that exhibits the problem somewhere that is publicly accessible. If you can't do that, then let's start by posting all of the code from a page that has the problem.
When posting code, it's best if you put it inside of BBS's "code" tags, e.g.:
<b>[code]</b>
...
my posted code here
...
<b>[/code]</b>
Note the square braces instead of html-like angle braces.
Cheers,
Kevin
Where did you get the code snippet you posted? I only ask because it has some aspects (e.g., this part: <b><input type=text name=effDate value=\""+effDate+"\"</b>) that make me wonder if it's being written to the page dynamically; e.g., inside one or more calls to document.write(), or using some server-side script. This code alone won't really help. Also, there's at least one more function definition that doesn't appear, OpenDateSelect().
It'd be better if you could post an example page that exhibits the problem somewhere that is publicly accessible. If you can't do that, then let's start by posting all of the code from a page that has the problem.
When posting code, it's best if you put it inside of BBS's "code" tags, e.g.:
<b>[code]</b>
...
my posted code here
...
<b>[/code]</b>
Note the square braces instead of html-like angle braces.
Cheers,
Kevin
-
- Beginner
- Posts: 9
- Joined: Fri Jan 21, 2005 10:24 pm
- Location: New Brunswick, New Jersey
What does mmenudom.js do?
Thanks Kevin.
I've asked the developer for the entire body of code and will post it when it becomes available.
Larry
I've asked the developer for the entire body of code and will post it when it becomes available.
Larry