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

I can't see any sample menus...


Poster: dwaynemitchell
Dated: Tuesday January 20 2004 - 21:41:46 GMT

I know that I must be doing something dumb, but I just got a free non-profit organization license and I entered the following lines in the blank.html:
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
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>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>

Just like the install said. When I bring up the blank.html file. I don't get a menu. If I click on the warning sign in the IE status bar at the bottom of the page, I get Line:16 Char : 1 mm_style not defined.

What am I doing wrong?


Poster: dwaynemitchell
Dated: Tuesday January 20 2004 - 22:34:05 GMT

The URL is:

http:\\www.newprovidencebc.com\blank.html

I have tried many times juggling the JS from file to file, but get the same results. I have set the blank.html file back to its minimum setup. All Milonic .js files are in the root directory of the website.

Thanks for your help.


Poster: John
Dated: Tuesday January 20 2004 - 22:58:06 GMT

blank.html is typically not used, and when it is used, it should be as the name implies - blank. It is only for https situations.

Take it out and put the code in a standard html page (index.html).

dwaynemitchell wrote:
Just like the install said.

There is nothing in install.txt that tells you to put that code in blank.htm.

BTW, when you give us a URL to follow you might want to try http:// instead of http:\\... :roll:


Poster: dwaynemitchell
Dated: Wednesday January 21 2004 - 2:05:16 GMT

I have taken your suggestion, though very sarcastic, and created a brand new page at http://www.newprovidencebc.com/menu_test.htm. The result is the same.

Before I attempted the BLANK.HTML experiment. I included the code in my test home page. You can look at that at http://www.newprovidencebc.com/index_new.htm The sample menu still does not display and the results are the same.

Please take a look at it and advise and get me over this hump. I'm sure your tools are great and I look forward to using them on my site and advertising your capabilities.

Thanks again


Poster: John
Dated: Wednesday January 21 2004 - 4:09:01 GMT

dwaynemitchell wrote:
I have taken your suggestion, though very sarcastic...

No, it was not.


Poster: John
Dated: Wednesday January 21 2004 - 4:29:36 GMT

OK, here we go...

Why did you make all those modifications to both menu_data.js and milonic_src.js <head>, <meta>, <pre>, etc.? With the sole exception of the area that says License Number: in milonic_src.js (and there you just paste in your license number; e.g., License Number: 123456), the only file that gets edited is menu_data.js. Do not add any HTML tags at all as you have done.

The HTML you have written in http://www.newprovidencebc.com/menu_test.htm looks OK, but the files being called are all messed up. I would suggest you get a completely fresh download from the server, replace all 4 of the code files (milonic_src.js, mmenuns4.js, mmenudom.js, and menu_data.js), and touch nothing in those files. Load them to your server and the test menu will work (it will be missing some graphics because we have not edited anything, but you will see a menu).

Once that is working the next step is to edit menu_data.js to build your own menus (no HTML!). Use the samples and Quick Reference Guides on the main site (see http://www.milonic.com/forum/viewtopic.php?t=2981.


Poster: dwaynemitchell
Dated: Wednesday January 21 2004 - 4:50:49 GMT

John,

That worked. I did this before. I really didn't edit the files. I did open then in the Frontpage editor. That must have torpedoed them. Frontpage is awful. The only thing that I did change was the license number. Which I will try changing now and see what happens.

Thanks again,

Dwayne

PS-Was too! :)


Poster: John
Dated: Wednesday January 21 2004 - 13:49:49 GMT

FrontPage is very good at changing things behind your back (actually, that's the only thing it's good at). If at all possible, get away from it. Even going to Notepad or WordPad (save as text ONLY) would be better.


Poster: dwaynemitchell
Dated: Wednesday January 21 2004 - 14:44:10 GMT

Thank you.... I am in the process now of setting up some new tools to handle this. Is there a way to make the menus drop down over the frame below the menu? see http://www.newprovidencebc.com/menu_new.htm

You'll see two versions of the sample menu, but you'll see what I'm asking.

Thanks again. I'm getting all the documentation that you referred to earlier and I'm going through that today.

Dwayne


Poster: John
Dated: Wednesday January 21 2004 - 15:01:13 GMT

dwaynemitchell wrote:
Thank you.... I am in the process now of setting up some new tools to handle this. Is there a way to make the menus drop down over the frame below the menu? see http://www.newprovidencebc.com/menu_new.htm

v5 does not handle frames. It might in the future, but that's still up in the air.


Poster: fredlongworthhighschool
Dated: Wednesday January 21 2004 - 15:33:50 GMT

You could always use IFRAMES.


Poster: dwaynemitchell
Dated: Wednesday January 21 2004 - 19:45:36 GMT

I have looked into IFRAMES. They are very useful, but the DHTML still won't drop down, outside the frame boundaries. My use if for a banner at the top of the website and all pages will then be displayed in the frame (or IFRAMES below. But the horizontal menu will not drop below the frame boundary.

I have some experimentation in http://www.newprovidencebc.com/index_new.htm

Thank you