IE 11 broke my submenus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

IE 11 broke my submenus

Post by cnckeith »

hello. IE 11 broke my submenus. i'm using Version 5.742. my guess is the solution to IE11 problem is to update to the latest milonic version.. but before i do that i though i'd just ask if anyone else has this issue and what they did to solve it.

here is the problem menu when using IE11. http://www.centroidcnc.com/zindex.html
this page works in most everything else. any advice would be much appreciated. thanks in advance. Keith
millonic.JPG
millonic.JPG (57.98 KiB) Viewed 220635 times
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

Hi Keith,

The problem is in the way IE11 no longer defines itself as Internet Explorer - Any version.

The reason for this is so that it can become more compatible with other browsers and web standards etc. IE11 now claims to be a browser very similar to Firefox.

It's a nice idea from Microsoft but in reality it still doesn't work. Hence the reason the older versions of the menu is broken. If Microsoft had successfully emulated Firefox the menu WOULD work, but as you've seen it doesn't. It doesn't just affect our software it's quite a widespread issue.

I do know of many IE specific problems that still exist in IE11 but Microsoft, in their arrogance, have now made it almost impossible to determine what browser it is.

Unfortunately, the only way to fix the menus is to upgrade. We've added some code to detect IE11 and fix the issue that still exist.

One other way is spoofing the browser User Agent but you can't really expect your website visitors to do the same.

Andy
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus, update fixed it..but now lic pr

Post by cnckeith »

Andy,

thanks for the fast response. must be frustrating as a programmer to keep up with the craziness:-).. I downloaded the latest version. Version 5.937 and uploaded these two files. milonic_src.js and mmenudon.js and it fixed the IE11 submenu issue.. great..

but now if have the "JavaScript Menu, DHTML Menu Powered By Milonic" at the top of my pages. I did buy a lic years ago for our site, do i need to buy another for the new version? thanks, keith
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus, update fixed it..but now lic pr

Post by Andy »

cnckeith wrote:must be frustrating as a programmer to keep up with the craziness:-)
Yes, it's an absolute nightmare and only going to get worse. No longer do we need to test for desktop PC's but we need to test on smartphones, tablets, TV's, games consoles.....the list goes on. On top of that we have different flavours of phone/tablet os's. It's crazy all right :D
cnckeith wrote:do i need to buy another for the new version?
I'm afraid so. It helps fund future development (we have a new product hopefully being released before the end of this year, current customers will get a great deal on that if you want it) and keeps our servers running.

Cheers,
Andy
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus

Post by cnckeith »

sounds like a good deal. thanks again for the quick response, it really helps when you know there is someone there to answer a question.
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus

Post by cnckeith »

ok i bought the lic , downloaded the licensed version, uploaded milonic_src.js and mmenudom.js to my site and i still get the "JavaScript Menu, DHTML Menu Powered By Milonic" at the top of the page.
what did i do wrong? thanks, Keith centroidcnc.com
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

Hi Keith,

Thanks very much for your support, it's most appreciated.

If you still see the forced link, then you must be looking at the old files still. The licensed files don't contain any code to include the forced link.

One common problem is browser cache. You might have the old files stored within the browser on your computer. A full browser refresh might fix things.

If you let me have a link to the problem I'll take a look.

-- Andy
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus

Post by cnckeith »

observation....below is what i have been using for some time
the last line is the forced link i presume.. oddly.. it doesn't show up on the pages with the old version milonic_src.js and mmenudom.js in use.. just when i replace milonic_src.js and mmunudom.js with the latest version does the force link show up on the pages.

here is my milonic code for each page..

<script type="text/javascript" src="/milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="/menu_data_main_new.js"></script>
<div class=milonic>
<div align="center"><a href="http://milonic.com/">JavaScript Menu, DHTML Menu Powered By Milonic</a></div>
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus

Post by cnckeith »

thanks for the advice..fyi..i did double check that i have properly uploaded the new milonic_src.js and mmenudom.js and i have cleared cache and tried on several browsers and still get the message.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

There must have been code in the old menu to hide the class named "milonic" that's not there now.

You can probably remove the link if it will help.

Are your web pages static? or are they built using a template?
The reason I ask is that if it's a major job to remove the links to milonic.com on your pages, I can probably come up with something to help.
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus

Post by cnckeith »

yeah..unfortunately they are static. (its an old site ). if its not too much trouble for you to come up with something so i don't have to edit a ton of pages that would be fantastic.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

Hi Keith,

Here's a workaround:

Edit milonic_src.js and add this to the end of the file:

Code: Select all

_d.write("<style>.milonic{width:1px;visibility:hidden;position:absolute}</style>");
If you have trouble getting this to work, or if it corrupts milonic_src.js, let me know and I'll have another think.

HTH,
Andy
cnckeith
Advanced
Advanced
Posts: 16
Joined: Thu Nov 21, 2013 5:46 pm

Re: IE 11 broke my submenus.. thanks so much. fixed

Post by cnckeith »

Andy,

thanks so much.. that seems to have done it. wow that saved me alot of pages to track down and edit.
i really appreciate the help. can't wait to see the new stuff coming out. good luck.
talk to you when IE12 comes out :-)) -Keith
ghis
Beginner
Beginner
Posts: 9
Joined: Sun Dec 24, 2006 7:10 pm

Re: IE 11 broke my submenus

Post by ghis »

Hi there,

I have the same problem on the second level menus.

I have tried this solution of editing milonic_src.js with:
_d.write("<style>.milonic{width:1px;visibility:hidden;position:absolute}</style>");


It works only the first time the page is loaded (test page at : http://www.wunderkammern.net/index2.htm )

Then if I roll out and back on again it stops working.

Thanks for your advice.

Best
G
ghis
Beginner
Beginner
Posts: 9
Joined: Sun Dec 24, 2006 7:10 pm

Re: IE 11 broke my submenus

Post by ghis »

Hi there!

I have just updated my license and downloaded the latest menu version!

The fix with :
_d.write("<style>.milonic{width:1px;visibility:hidden;position:absolute}</style>");

is working OK now!

Great!

Thank you for the support!

best
G
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: IE 11 broke my submenus

Post by Ruth »

I'm glad that fixed it. Post back if you need any help. Maybe the next time the board will send me my notice :) Oh we so depend on tech :lol: I guess I should start checking every day, after all it only takes 20 secs!

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

Ruth wrote:Maybe the next time the board will send me my notice :)
I'll see what I can do ;)
mauriciomebb
Beginner
Beginner
Posts: 5
Joined: Wed Jul 09, 2014 3:20 pm

Re: IE 11 broke my submenus

Post by mauriciomebb »

Good Morning,
We have the same difficulty with IE11 in version 5.742. , With the difference that in our website www.comfama.com use two different menus millonic: vertical (tree) and another horizontal.
Download you last version (5.946) each menu separately and test function for IE11 perfect!! but we use together these two menus generates differences in functionality.
Now we have these two menus in this page web files with millonic Version 5.742.
• treemenu.js
• milonic_src.js
• mmenudom.js
Since we can help or we can recommend.
Thanks.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: IE 11 broke my submenus

Post by Andy »

Hi,

Did you ensure that you updated treemenu.js?

You'll need to update all files as there may be changes in the modules.

Regards,
Andy
mauriciomebb
Beginner
Beginner
Posts: 5
Joined: Wed Jul 09, 2014 3:20 pm

Re: IE 11 broke my submenus

Post by mauriciomebb »

Hi,
I do updated all the files mentioned
But this presents difficulties in its operation as I tell them.
Regards,
Post Reply