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

Placement and Milonic link


Poster: Rose
Dated: Wednesday November 24 2004 - 2:22:52 GMT

Hi,

I've recently downloaded the free version of the Milonic menu - my website is definitely non-profit. I've had the 3.x menu for some years and love it. I wanted to test run the 5.0 version first before buying it and going to the trouble of changing out menus. The menu in particular that I downloaded, is "Opening Windows and Frames".

I have two immediate problems, and I have gone through the documenation etc. so I apologise if these are dumb questions.

Firstly, I can't remove the Home menu item, and I do have a link to Milonic on the page that is using the menu. I tried just changing the link to my own home page, and even removing the item (in the menu_data.js) altogether. Neither works. That item still remains, and goes to the Milonic website.

Secondly, no matter what I do, I can't get the menu to move. It remains in the top-left corner of the page, no matter what values I use. I was going to try <div> tags, but then I read on this forum that I shouldn't do that.

Here is my code:

Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=100;
left=220;
alwaysvisible=1;
aI("text=Home;url=http://www.myhomepage.com/;status=Back To Home Page;");
aI("text=Menu Samples - Opened in same page;showmenu=Samples;");
aI("text=Milonic - Opened in new Window;showmenu=Milonic;");
aI("text=Links Opened in IFRAME;showmenu=Links;");
}


I really think I'm doing something really stupid with both issues, but I just don't know what. Thanks for any help. :)


Poster: John
Dated: Wednesday November 24 2004 - 7:04:14 GMT

Please provide, as requested, a URL so we can see all your code.


Poster: Rose
Dated: Wednesday November 24 2004 - 14:32:47 GMT

I have had a bad experience with posting my URL publically, so I'll just post the code of my page. It's very basic - just a Test page.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script type="text/javascript" src="milonic_src.js"></script>   
   <script   type="text/javascript">
   <!--
   if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");      
     else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");
    -->
   </script>
   <script type="text/javascript" src="menu_data.js"></script>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://milonic.com/">Milonic</a></p>
</body>
</html>


Poster: Rose
Dated: Wednesday November 24 2004 - 14:35:30 GMT

I am happy to email you my URL though, if that's what you need. :)


Poster: fredlongworthhighschool
Dated: Wednesday November 24 2004 - 14:44:08 GMT

In the menu_data.js file, in the main menu section of the code, add the following line:

Code:
screenposition = "center";


and delete the two lines:

Code:
top=100;
left=220;


Has that made the menu centred on screen?

The MILONIC link is there until the menu is registered. You need to check the licensing conditions to see if you still qualify for a free V5 version.


Poster: Rose
Dated: Wednesday November 24 2004 - 15:31:14 GMT

Thanks for replying, and yes, that worked. But I want to position it very precisely. It will not be a site navigational menu - it will be the index for my Recipes page. Should I put it in a table? I did read somewhere on the Milonic site that putting it in a table is not recommended.

About the registration thing - I didn't think I had to do that, although I'm quite happy to - my site is definitely non-profit. Here's what it says on the Milonic website:

Quote:
To get around this problem we have introduced code embedded into the evaluation copy of the menu that looks for a link pointing to http://www.milonic.com/ on web pages using the menu. If it finds the link included within the HTML of your website, the menu doesn't add any links to the menu as it did before. This means that if you want to use the menu and you are fully non-profit and entitled to use the menu under the free terms and conditions, all you have to do is include a link pointing to http://www.milonic.com/ somewhere on your web pages that are using the menu. This link will need to be included on every page that uses the menu and needs to point to the precise location of http://www.milonic.com/


Thanks. :)


Poster: John
Dated: Wednesday November 24 2004 - 18:10:58 GMT

You posted the exact part of the requirements necessary for removing the Milonic link, but apparently didn't read it closely enough... :(

You have...
Code:
<a href="http://milonic.com/">

Note that it must be...
Code:
<a href="http://www.milonic.com/">


Poster: Rose
Dated: Wednesday November 24 2004 - 18:20:40 GMT

I've tried it both ways ... didn't work either way. :( The reason I did it without the "www", is that I saw that's what you have in your example code for the menu I'm trying to use. I had the "www" before that.


Poster: John
Dated: Thursday November 25 2004 - 3:48:52 GMT

I took your code to my server. Without the www it puts the Milonic in place, as it should. With the www in the link it does not do so, as it should not; i.e., it's working properly here.

Make the following changes to your JS calls...
Code:
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>");

Link Issue


Poster: rupert
Dated: Friday December 3 2004 - 6:27:16 GMT

Sort of the same issue here with the Milonic Link replacing my home link. Been using 3.0 version, now that I upgraded to the 5.X , I have this link. Totally understand the reason for it, but I do meet the non profit quals, as I have the Milonic link displayed in two areas on my site. Both on the side navigational area as well as at the bottom. Both links show up throughout the site, as they are in relatively static areas.

What do I need to do to remove it from my top navigation? Thanks

Aside: John - I will PM you while awaiting any other responses here.


Poster: Ruth
Dated: Friday December 3 2004 - 18:37:00 GMT

Have you tried moving the call for the menu after the body tag? I don't know that it would make a difference. It's very hard to help when we don't have a page to check with all the coding and the menu in place.

Ruth


Poster: rupert
Dated: Friday December 3 2004 - 23:41:11 GMT

Thanks for responding Ruth and do excuse the slight oversight for not posting the link here. I believe the Milonic show up because the rewrite (3.0 to 5.0) has the code checking the site html for a link to Milonic. I am using postnuke and have links to Milonic running as a banner at the bottom of all my pages as well as a fix icon/link on my left nav area.

here is the link to my site (I was a bit hesitant to post it here because it could be perceived as advetisement) - http://www.bcsn.net


Poster: John
Dated: Saturday December 4 2004 - 0:34:15 GMT

Unfortunately what you've got with that left link (http://www.bcsn.net/banners.php?op=click&bid=2&POSTNUKESID=89014bc31afbb8b82256abc59ae4da53) isn't anywhere close to the http://www.milonic.com/ that is needed! I did not see any other link to us on the page.

Why not take another copy of our logo and place it next to the PCS logo at the very bottom of the page? Don't use the banners.php code, but just our required link.

rupert wrote:
here is the link to my site (I was a bit hesitant to post it here because it could be perceived as advetisement)

Not at all. That's why we ask for it on the posting page...
Quote:
** If you have a problem, posting a URL to your menu would be very helpful **


Poster: Ruth
Dated: Saturday December 4 2004 - 0:49:11 GMT

I found the links you mention, but they seem to be pointing to bcsn.net/banners.php? etc. not an href link back to the Milonic site which is what you need. i.e.
Code:
<a href="http://www.milonic.com/">Milonic</a>
or in place of the word Milonic an image like you have now with the link
Code:
<a href="http://www.milonic.com/"><img src="miloniclogo_150x48.gif" border="0" alt="Please click "></ a>


I don't think you're supposed to be linking to the images here on the milonic site, I think you're supposed to get them and upload them to your site if you want to use them, but I can't swear to that. I'll check it. Anyway, I think the menu is not 'reading' a hyperlink directly to milonic and that's why you have the forced link.

Ruth


Poster: kevin3442
Dated: Saturday December 4 2004 - 5:48:54 GMT

Rose,

Please also note that the url for the link to milonic must end with a /
Code:
href="http://www.miloinic.com/"

It probably still won't work as a text attribute setting in the <a> link, but yours are missing the last /. Might be worth a try.

If you want to continue using your banner.php setup, you could consider including a small text link at the bottom of the page, maybe among the copyright info.

Cheers,

Kevin