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

I know... a table cell question


Poster: JimFuglestad
Dated: Saturday July 8 2006 - 3:12:22 BST

Hi people... I'm a photographer with a past lifetime of technology, so I hate asking a question that I should have been able to figure out.

Bear with me... I *DID* read everything I found on embedding this menu in a table cell, but I just can't get it to work. I really have gone around so many times I'm not even sure where I started, but here's where I'm at:

Here is my embedded code:
http://www.fuglestadphotography.com/tab ... in_menu.js

And here is required code:
http://www.fuglestadphotography.com/tab ... nu_data.js

Really, this could be totally messed up by now... I've tried everything. I must be missing something embarrassingly silly.

Does it matter that I have not purchased it yet? I'm waiting for it to work before I spend I have an official license.

Anyway... sorry for what I'm sure is a redundant post. Telling me to search will do no good because I have and I cannot recognize what I'm doing wrong with this.

Thanks in advance.

Jim


Poster: Ruth
Dated: Saturday July 8 2006 - 16:41:56 BST

Hello,

Without the page, there's no way to really see what's wrong.

Your embedded main looks like it's submenus, and your menu data looks like it's style and main menu.

Take those submenus out of the embedded main file and put them in the menu_data.js file and take the main menu out of the menu_data.js file and put that in the embedded_main file.

If there is still a problem, we need the page to see what's up.

Ruth


Poster: JimFuglestad
Dated: Thursday July 13 2006 - 4:22:28 BST

Thanks Ruth,

Sorry to be a few days to get back to this... business calls...

Does using Frontpage mess anything up?

I swear, I just tried duplicating the exact example and I get error pages.

Grr.

These menus are exactly what I want but I just can't get them in the dang table cell!


Poster: Ruth
Dated: Thursday July 13 2006 - 4:43:23 BST

Hi,

I don't know about FP and messing things up.

Can you not post the page for us? Or a test page, so we can see what's going on? Without such things like the html, any css we really can't do anything but guess as to the problem.

Ruth


Poster: JimFuglestad
Dated: Thursday July 13 2006 - 5:05:12 BST

okay.... thanks Ruth...

Here's my page...

http://www.fuglestadphotography.com/tab ... /index.htm

Below the photos I want the menu...

Thank you.


Poster: Ruth
Dated: Thursday July 13 2006 - 7:42:21 BST

Hi,

OK, just copy and paste the below sections. You still have things backwards, you've put the submenus into the table and the main up at the calls for the files. The subs have to be up there and the main in the table.

That is not why it's not showing, you have a closing bracket missing at the end of the menuSTyle. Anyway copy the below and save as directed.

Save the first one as menu_data.js

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=2;
_subOffsetLeft=-2;


with(menuStyle=new mm_style()){
bordercolor="#c5cc8f";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="#c5cc8f";
offcolor="#ffffff";
onbgcolor="#ffffff";
oncolor="#c5cc8f";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=5;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
}

with(Home=new menuname("Portraits")){
overflow="scroll";
style=menuStyle;
aI("text=Portfolio;url=http://www.Home.com/menusample86.php;")
aI("text=Pictures in the Park;url=http://www.Home.com/menusample1.php;")
aI("text=Lifestyle Family;url=http://www.Home.com/menusample2.php;")
aI("text=Your Everyday Life;url=http://www.Home.com/menusample25.php;")
aI("text=Studio;url=http://www.Home.com/menusample86.php;")
aI("text=Corporate;url=http://www.Home.com/menusample24.php;")
aI("text=Models;url=http://www.Home.com/menusample82.php;")
aI("text=Pricing;url=http://www.Home.com/menusample86.php;")
aI("text=FAQ - Please Read;url=http://www.Home.com/menusample83.php;")



}

with(Home=new menuname("Weddings")){
style=menuStyle;
aI("text=Portfolio;url=http://www.Home.com/cbuy.php;");
aI("text=Proposals;url=http://www.Home.com/contactus.php;");
aI("text=Engagements;url=http://www.Home.com/newsletter.php;");
aI("text=Bridal Sessions;url=http://www.Home.com/menufaq.php;");
aI("text=Weddings;url=http://www.Home.com/forum/;");
aI("text=Pricing;url=http://www.Home.com/license.php;");
aI("text=FAQ - Please Read;url=http://www.Home.com/privacy.php;");
}

with(Home=new menuname("Seniors")){
style=menuStyle;
aI("text=Portfolio;url=http://www.Home.com/menusample86.php;")
aI("text=Pricing;url=http://www.softidiom.com/?Homemenu;");
aI("text=FAQ - Please Read;url=http://www.sms2email.com/;");
}

with(Home=new menuname("Events")){
style=menuStyle;
aI("text=Portfolio;url=http://www.Home.com/menusample86.php;")
aI("text=Pricing;url=http://www.softidiom.com/?Homemenu;");
aI("text=FAQ - Please Read;url=http://www.sms2email.com/;");
}

with(Home=new menuname("About")){
style=menuStyle;
aI("text=Photographer's Statement;url=http://www.spamcop.net/;");
aI("text=Bio;url=http://www.mimedefang.org/;");
aI("text=Contact;url=http://www.spamassassin.org/;");
aI("text=Awards & Honors;url=http://www.mimedefang.org/;");
aI("text=News;url=http://www.spamassassin.org/;");
aI("text=Email;url=jim __at__ fuglestadphotography.com    ;");
}

with(Home=new menuname("Blog")){
style=menuStyle;
aI("text=Blog;url=http://www.fuglestadphotography.com/blog/;");

}

drawMenus();



Save the next one as embedded_main_menu.js

Code:
with(Home=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("status=Back To Home Page;text=Home;url=http://www.fuglestadphotography.com/;");
aI("showmenu=Portraits;text=Portraits;");
aI("showmenu=Weddings;text=Weddings;");
aI("showmenu=Seniors;text=Seniors;");
aI("showmenu=Events;text=Events;");
aI("showmenu=About;text=About;");
aI("showmenu=Blog;text=Blog;");
}
drawMenus();


I put them the way they are supposed to be, it's the main menu that goes in the table, not the submenus, and I added the missing } in the style section. It now shows, in the white area below the pictures.

Ruth


Poster: JimFuglestad
Dated: Thursday July 13 2006 - 8:24:04 BST

Ruth - THANK YOU!

I'm on a different computer now, but I'll try it at the studio tomorrow.

Thank you so much. I don't know why the main and submenus were so mixed up in my head.

I appreciate your prompt response. :)

Jim

YAY! It worked!


Poster: JimFuglestad
Dated: Thursday July 13 2006 - 21:33:11 BST

Thanks again Ruth! Works great!