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

I'm dense: still get Milonic info post publishing my info


Poster: Stoakley
Dated: Friday October 13 2006 - 6:14:53 BST

Ok, working towards a doctorate proves one can still be ignorant <raises hand in sad acceptance>...

Don't bite my head off...using FP '03 and to the best of my knowledge have followed Milonic's User Guide correctly, yet I fail to reap the desired ending.

I'm gobsmacked.

I know you lots are not paid by Milonic (which needs to be rectified), so my thanks go out to those who can save me from utter embarrassment as my site is seen all over...

Alright, to see what is on my site visit: http://www.tae-kwon.net

The code that is posted in the menu_data.js file is:

Code:
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;




with(background=new mm_style()){
bgimage="xp_button_burnt.gif";
borderstyle="solid";
fontfamily="Georgia";
fontsize="75%";
fontstyle="italic";
fontweight="bold";
image="transparent.gif";
imagepadding=4;
itemheight=25;
itemwidth=160;
offcolor="#333300";
oncolor="#736F6E";
overbgimage="xp_button_burnton.gif";
subimage="black_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("HOME")){
alwaysvisible=1;
itemheight=25;
itemwidth=160;
left=10;
orientation="horizontal";
style=background;
top=10;
aI("bgimage=xp_button_green.gif;image=xp_on.gif;overbgimage=xp_button_burnton.gif;
text=Home;url=http://www.milonic.com/;");
aI("bgimage=xp_button_green.gif;image=xp_eject.gif;overbgimage=xp_button_burnton.gif;
showmenu=Milonic;text=Milonic;");
aI("bgimage=xp_button_green.gif;image=xp_rl.gif;overbgimage=xp_button_burnton.gif;
showmenu=Links;text=Links;");
aI("bgimage=xp_button_green.gif;image=xp_locked.gif;overbgimage=xp_button_burnton.gif;
showmenu=My Milonic;text=My Milonic;");
}

with(milonic=new menuname("Our Programs")){
style=background;
aI("text=Dae Han TKD & MA;url=;");
aI("text=Tiny Tykes TKD;url=;");
aI("text=Women's Seminars;url=;");
aI("text=Youth Seminars;url=;");
aI("text=Korean Language Classes;url=;");
aI("text=Tour Korea;url=;");
}

with(milonic=new menuname("Parents' & Students' Corner")){
style=background;
aI("text=LOG IN;url=;");
aI("text=News & Events;url=;");
aI("text=Newsletter;url=;");
aI("text=Community Link;url=;");
aI("text=Schedule;url=;");
}

with(milonic=new menuname("Online Shop")){
style=background;
aI("text=Tuition;url=;");
aI("text=Merchandise;url=;");
}

with(milonic=new menuname("Gallery Plus")){
style=background;
aI("text=Pictures;url=;");
aI("text=Videos;url=;");
}



with(milonic=new menuname("Feedback")){
style=background;
aI("text=Feedback;url=;");
}

drawMenus();


Save the lack of url addresses and what not, what am I doing wrong that dictates that I have Milonic's info on my site and not mine?


I've copied the 4 files (mmenudom.js, mmenuns4.js, milonic_src.js and menu_data.js), and made their own folder as I could not, for the life of me, copy and paste them individually. Maybe that is important. Yes?


I've also cut and pasted this in my Index just after <body>:

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


ANY thoughts?

Save us!

Thanks a bundle,

Stoakley


Poster: Ruth
Dated: Friday October 13 2006 - 8:02:26 BST

Hi,

If you put in your url plus the menu_data.js file you get the following file

Code:
with(background=new mm_style()){
bgimage="xp_button_burnt.gif";
borderstyle="solid";
fontfamily="Helvetica";
fontsize="75%";
fontstyle="italic";
fontweight="bold";
image="transparent.gif";
imagepadding=4;
itemheight=25;
itemwidth=160;
offcolor="#333300";
oncolor="#ffffff";
overbgimage="xp_button_burnton.gif";
subimage="black_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemheight=25;
itemwidth=160;
left=10;
orientation="horizontal";
style=background;
top=10;
aI("bgimage=xp_button_green.gif;image=xp_on.gif;overbgimage=xp_button_burnton.gif;
text=Home;url=http://www.milonic.com/;");
aI("bgimage=xp_button_green.gif;image=xp_eject.gif;overbgimage=xp_button_burnton.gif;
showmenu=Milonic;text=Milonic;");
aI("bgimage=xp_button_green.gif;image=xp_rl.gif;overbgimage=xp_button_burnton.gif;
showmenu=Links;text=Links;");
aI("bgimage=xp_button_green.gif;image=xp_locked.gif;overbgimage=xp_button_burnton.gif;
showmenu=My Milonic;text=My Milonic;");
}

with(milonic=new menuname("Milonic")){
style=background;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;");
aI("text=License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}

with(milonic=new menuname("Links")){
style=background;
aI("text=Apache Web Server;url=http://www.apache.org/;");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;");
aI("text=PHP - Development;url=http://www.php.net/;");
aI("text=phpBB Forum System;url=http://www.phpbb.net/;");
aI("showmenu=Anti Spam;text=Anti Spam Tools;");
}

with(milonic=new menuname("Anti Spam")){
style=background;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}

with(milonic=new menuname("My Milonic")){
style=background;
aI("text=Login;url=http://www.milonic.com/login.php;");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://www.milonic.com/myinvoices;");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("text=Your Details;url=http://www.milonic.com/mydetails.php;");
}

drawMenus();


That is the menu_data.js file you have downloaded plus you put in the images however there are no images at the stated path. For example, this bgimage=xp_button_green.gif assumes the path is
Code:
http://www.tae-kwon.net/xp_button_green.gif
However, if you put that in the browser address bar you get page not found. So, I don't know where you put the images but they are not in the root directory.

As to the data that's because you are uploading a file that only has your changed bgimages, images etc in the main menu but you left the submenus as they are in the downloaded file. You need to upload your changed file, maybe you should save it as a different name, say
taekwon_data.js or something and try uploading that...Don't forget if you save your file as a new name to change the call for the menu_data.js file to whatever you've named yours.

Hope this helps

Ruth


Poster: Stoakley
Dated: Tuesday October 17 2006 - 20:14:14 BST

Ms. Ruth (or whomever),

I greatly appreciate your help...I didn't realise that my images and files were not in my root directory (but rather in a folder within it)...derrrr!

I believe I did what you suggested and copied my code over what I downloaded into the menu_data.js file (I do not feel confident enough to alter the name and make subsequent changes elsewhere)...but no avail. I now have the menus in proper form now, but not with our information.

Here's what we have up: http://www.tae-kwon.net

Is there something else within this code that I must alter?


Code:
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;




with(background=new mm_style()){
bgimage="xp_button_burnt.gif";
borderstyle="solid";
fontfamily="Georgia";
fontsize="75%";
fontstyle="italic";
fontweight="bold";
image="transparent.gif";
imagepadding=4;
itemheight=25;
itemwidth=160;
offcolor="#333300";
oncolor="#736F6E";
overbgimage="xp_button_burnton.gif";
subimage="black_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("HOME")){
alwaysvisible=1;
itemheight=25;
itemwidth=160;
left=10;
orientation="horizontal";
style=background;
top=10;
aI("bgimage=xp_button_green.gif;image=xp_on.gif;overbgimage=xp_button_burnton.gif;text=Home;url=http://www.tae-kwon.net/;");
}

with(milonic=new menuname("Our Programs")){
style=background;
aI("text=Dae Han TKD & MA;url=http://www.tae-kwon.net;");
aI("text=Tiny Tykes TKD;url=http://www.tae-kwon.net;");
aI("text=Women's Seminars;url=http://www.tae-kwon.net;");
aI("text=Youth Seminars;url=http://www.tae-kwon.net;");
aI("text=Korean Language Classes;url=http://www.tae-kwon.net;");
aI("text=Tour Korea;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Parents' & Students' Corner")){
style=background;
aI("text=LOG IN;url=http://www.tae-kwon.net;");
aI("text=News & Events;url=http://www.tae-kwon.net;");
aI("text=Newsletter;url=http://www.tae-kwon.net;");
aI("text=Community Link;url=http://www.tae-kwon.net;");
aI("text=Schedule;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Online Shop")){
style=background;
aI("text=Tuition;url=http://www.tae-kwon.net;");
aI("text=Merchandise;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Gallery Plus")){
style=background;
aI("text=Pictures;url=http://www.tae-kwon.net;");
aI("text=Videos;url=http://www.tae-kwon.net;");
}


with(milonic=new menuname("Feedback")){
style=background;
aI("text=Feedback;url=http://www.tae-kwon.net;");
}

drawMenus();


Any further help is and will be much much much much appreciated!

Thank you,

Stoakley


Poster: Ruth
Dated: Tuesday October 17 2006 - 21:37:56 BST

Hi,

I do not know what you want as the main menu, but right now you only have one item in it, the Home button which has the link url to your Home page. And there's nothing in it anyplace for items that will open the submenus.

For example, try this, I don't know what you want but you can try this to see if this is something like it. I did remove the Feedback submenu and just make it a main menu item that links to the page, like your Home item. And, I didn't know what images you wanted for the Gallery Plus and the Feedback items.

Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;


with(background=new mm_style()){
bgimage="xp_button_burnt.gif";
borderstyle="solid";
fontfamily="Georgia";
fontsize="75%";
fontstyle="italic";
fontweight="bold";
image="transparent.gif";
imagepadding=4;
itemheight=25;
itemwidth=160;
offcolor="#333300";
oncolor="#736F6E";
overbgimage="xp_button_burnton.gif";
subimage="black_7x7.gif";
subimagepadding=8;
}

with(milonic=new menuname("HOME")){
alwaysvisible=1;
itemheight=25;
itemwidth=160;
left=10;
orientation="horizontal";
style=background;
top=10;
aI("bgimage=xp_button_green.gif;image=xp_on.gif;overbgimage=xp_button_burnton.gif;text=Home;url=http://www.tae-kwon.net/;");
aI("bgimage=xp_button_green.gif;image=xp_eject.gif;overbgimage=xp_button_burnton.gif; showmenu=Our Programs;text=Our Programs;");
aI("bgimage=xp_button_green.gif;image=xp_rl.gif;overbgimage=xp_button_burnton.gif; showmenu=Parents' & Students' Corner;text=Parents' & Students' Corner;");
aI("bgimage=xp_button_green.gif;image=xp_locked.gif;overbgimage=xp_button_burnton.gif; showmenu=Online Shop;text=Online Shop;");
aI("bgimage=xp_button_green.gif;overbgimage=xp_button_burnton.gif; showmenu=Gallery Plus;text=Gallery Plus;");
aI("bgimage=xp_button_green.gif;overbgimage=xp_button_burnton.gif; showmenu=Gallery Plus;text=Feedback;url=http://www.tae-kwon.net;");

}


with(milonic=new menuname("Our Programs")){
style=background;
aI("text=Dae Han TKD & MA;url=http://www.tae-kwon.net;");
aI("text=Tiny Tykes TKD;url=http://www.tae-kwon.net;");
aI("text=Women's Seminars;url=http://www.tae-kwon.net;");
aI("text=Youth Seminars;url=http://www.tae-kwon.net;");
aI("text=Korean Language Classes;url=http://www.tae-kwon.net;");
aI("text=Tour Korea;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Parents' & Students' Corner")){
style=background;
aI("text=LOG IN;url=http://www.tae-kwon.net;");
aI("text=News & Events;url=http://www.tae-kwon.net;");
aI("text=Newsletter;url=http://www.tae-kwon.net;");
aI("text=Community Link;url=http://www.tae-kwon.net;");
aI("text=Schedule;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Online Shop")){
style=background;
aI("text=Tuition;url=http://www.tae-kwon.net;");
aI("text=Merchandise;url=http://www.tae-kwon.net;");
}

with(milonic=new menuname("Gallery Plus")){
style=background;
aI("text=Pictures;url=http://www.tae-kwon.net;");
aI("text=Videos;url=http://www.tae-kwon.net;");
}


drawMenus();


Poster: Stoakley
Dated: Wednesday October 18 2006 - 0:37:18 BST

Ruth for Queen or President!

Now, all I have to do now is drop downs and colours....

Seeing the difference from what I changed and what you added helped me much to see my errors.

Thank you muy mucho.

Stoakley