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:44

IE goes crazy


Poster: jrowley
Dated: Wednesday May 18 2005 - 2:22:20 BST

I know this has to be something I'm doing, but I'm stumped.

I'm using the xml menu from the extras directory and Firefox works great. But IE loads the page over and over and over again until I hit the stop button. I can't figure it out.

The link:
http://beastie.dnsalias.org/ipmanager/prototype

Just click past the login screen. I haven't enabled authentication yet.

A snip of my code:
<?php
session_start();

if (!isset($_SESSION['userloggedin']))
header("Location: login.php");

?>

<?php
require_once 'menu.php';
?>
[ html and misc php stuff below ]


I'm going on 2 hours of sleep in the past 2 days so it's probably going to be a 'duh' moment :oops: for me, but I'm at a loss right now.

Thanks,
-j


Poster: Ruth
Dated: Wednesday May 18 2005 - 4:20:12 BST

Hello J,

First, I don't know anything about any of the xml, php etc. However, I have IE and I did [with quick fingers] get the page to download before it started its constant load, and I also looked at the source in Firefox. There seems to be two sets of the call for the menu files.

At the top before the doctype and the html xmlns lines you get the milonic_src, mmenudom, mmenuns4 calls and then the information in the menu_data.js file is in script tags, not just the call for the file, but the actual stuff in the file is in the script tags. Then after the body tag there is the usual call for the 3 base files and the menu_data.js file. And when I was able to download it through IE it downloaded milonic_src twice, putting a [1] after one of the files. When I opened it in my editor and removed either one of those it quit trying to constantly reload.

Are you supposed to have something like this for the xml stuff, cdata tags?

Code:
<script src="milonic_src.js" type="text/javascript"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
if(ns4)_d.write("<scr"+"ipt language='JavaScript' src='mmenuns4.js'><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language='JavaScript' src='mmenudom.js'><\/scr"+"ipt>");
//--><!]]>
</script>


Take it with a grain of salt because it may have nothing to do with any of this, as I said, I don't know about the xml, php stuff.
Ruth


Poster: jrowley
Dated: Wednesday May 18 2005 - 11:48:20 BST

Thanks Ruth! I forgot to remove script parts from my php file when I changed from the regular script to xml.

Thanks again
-j