Placement and Milonic link

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Rose
Beginner
Beginner
Posts: 5
Joined: Wed Nov 24, 2004 3:07 am

Placement and Milonic link

Post by Rose »

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: Select all

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. :)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Please provide, as requested, a URL so we can see all your code.
John
Rose
Beginner
Beginner
Posts: 5
Joined: Wed Nov 24, 2004 3:07 am

Post by Rose »

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: Select all

<!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://websites.milonic.com/milonic.com/">Milonic</a></p>
</body>
</html>
Rose
Beginner
Beginner
Posts: 5
Joined: Wed Nov 24, 2004 3:07 am

Post by Rose »

I am happy to email you my URL though, if that's what you need. :)
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

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

Code: Select all

screenposition = "center";
and delete the two lines:

Code: Select all

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.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Rose
Beginner
Beginner
Posts: 5
Joined: Wed Nov 24, 2004 3:07 am

Post by Rose »

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:
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://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://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://milonic.com/
Thanks. :)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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: Select all

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

Code: Select all

<a href="https://milonic.com/">
John
Rose
Beginner
Beginner
Posts: 5
Joined: Wed Nov 24, 2004 3:07 am

Post by Rose »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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: Select all

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>");
John
rupert
Beginner
Beginner
Posts: 3
Joined: Fri Dec 03, 2004 7:18 am

Link Issue

Post by rupert »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
rupert
Beginner
Beginner
Posts: 3
Joined: Fri Dec 03, 2004 7:18 am

Post by rupert »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Unfortunately what you've got with that left link (http://www.bcsn.net/banners.php?op=clic ... c59ae4da53) isn't anywhere close to the http://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...
** If you have a problem, posting a URL to your menu would be very helpful **
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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: Select all

<a href="https://milonic.com/">Milonic</a> 
or in place of the word Milonic an image like you have now with the link

Code: Select all

<a href="https://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
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Rose,

Please also note that the url for the link to milonic must end with a /

Code: Select all

href="http://websites.milonic.com/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
Post Reply