removing the "MILONIC" link

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
DavidLang
Beginner
Beginner
Posts: 5
Joined: Thu Apr 28, 2005 3:01 pm
Location: Wisconsin, USA
Contact:

removing the "MILONIC" link

Post by DavidLang »

I read the other posts regarding this and followed the instructions, but am still having a problem.

I logged in and downloaded the licensed version of menu, unzipped the file, and FTP'd the milonic_src.js, mmenudom.js and mmenuns4.js file to my website. I did not copy the menu_data.js file because the code is on each page on my website because I have the menu within a <td> cell, but do not think that is the issue here.

The milonic_src.js file says:

License Details:
Number: <mynumber>
URL: http://www.rsdawareness.com
Type: Free
Dated: Monday April 25 2005

The URL of my test page is http://www.rsdawareness.com/testingmenu.htm.

I appreciate any help that can be given.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi David,

You're linking to the milonic site files instead of your files on your site.

Code: Select all

<SCRIPT type="text/javascript" src="http://milonic.com/milonic_src.js"></SCRIPT> 
<script type="text/javascript">
<!-- 
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=http://milonic.com/mmenuns4.js><\/SCR"+"IPT>"); 
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=http://milonic.com/mmenudom.js><\/SCR"+"IPT>"); 
-->
</SCRIPT>
You need to change to your own files which have the license in them and will not put the Milonic in the menu.

Also, just for info purposes with regard your table menu, you are correct in putting the main menu into the cell, that is required, but you do not have to put all the menu_data.js information on the page like that. You can put all the information on styles and submenus that you now have in script tags into a menu_data.js file, name it what you want, and just call the file up with the other files. The only requirement is that it comes right after the body tag so that it gets 'read' first before the main menu is built. Keep the main menu just as you have it [or if you prefer you can also put that into a .js file [main_data.js or something], and call it in the table cell.

Ruth
DavidLang
Beginner
Beginner
Posts: 5
Joined: Thu Apr 28, 2005 3:01 pm
Location: Wisconsin, USA
Contact:

Post by DavidLang »

Ruth,

Thank you for your help -- at least now I don't have to have the menu information at the top of each page. I was able to get the js file called correctly, but the MILONIC link is still on the first link?

If I had any hair left to pull out, I would be doing it by now.

http://www.rsdawareness.com
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi David,

I went to the page and I'm not getting the milonic menu at all on the page so I can't figure out what's going on. Could you put up the page with the milonic menu somewhere on the site?

Ruth
DavidLang
Beginner
Beginner
Posts: 5
Joined: Thu Apr 28, 2005 3:01 pm
Location: Wisconsin, USA
Contact:

Post by DavidLang »

Ruth,

Sorry about that. Here is my test page:

http://www.rsdawareness.com/testingmenu.htm
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You played shortcut with the link...

Code: Select all

href="https://milonic.com"
Should be...

Code: Select all

href="https://milonic.com/"
Note the closing / , which really is proper for all links that do not refer to a specific page.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

You also have to put the .com in the text part, I believe. The whole link should be

Code: Select all

<a href="https://milonic.com/">JavaScript Menu Courtesy of Milonic.com</a>
DavidLang
Beginner
Beginner
Posts: 5
Joined: Thu Apr 28, 2005 3:01 pm
Location: Wisconsin, USA
Contact:

Post by DavidLang »

I took your advise and added the / to the end of the URL with the hopes that it was that easy -- but it still doesn't work.
DavidLang
Beginner
Beginner
Posts: 5
Joined: Thu Apr 28, 2005 3:01 pm
Location: Wisconsin, USA
Contact:

Post by DavidLang »

Yeah! May the programming gods smile upon you!

Thank you both for your help!

They really should make it easier : )
Post Reply