Hello all,
It's been a while. I just upgraded to 5.0 and ran my js through the converter. It seemed to work ok but none of my text in submenus are right justified as they should be. I might also add that I am placing my menu in a table cell which I did seem to get converted ok.
What has happened to the "righttoleft=1;" is it now gone. I could not find a reference to it anywhere?
Question #2 ... the main reason for my upgrade was a hope that the MAC/Flash submenu problem might have found a solution. I have a flash movie immediately to the left of my menu and all of my submenus are rolling out behind this flash movie only on MACs. Unfortunately, most of the designers that hire me are on Macs ;~( . I am not using div tags but have built this site to center itself in the monitor regardless of screen size.
It would probably be easiest to just take a quick glance at my sight.
207.170.215.9/index.asp
the 3.0 menu which is lining up the submenus correctly is at:
207.170.215.9/index2.asp
My Flash layering problem appears only on MACs so far all PCs seem to be seeing the menu ok.
I sure would appreciate any help. I am REALLY needing to get the doors open on this site ASAP as I am expecting a high level client to be looking early next week.
Thanks
Rip
PS
Here is my html table cell embeded code:
<td colspan="3" align="left" valign="top" bgcolor="#FFFFFF"><p>
<script>
with(milonic=new menuname("mainmenu")){
itemwidth=115;
style=style1;
alwaysvisible=1;
alignment="left";
aI("text=Videography / Film;showmenu=video;url=/video/index.asp;")
aI("text=Post-production;showmenu=postproduction;url=/post/index.asp;")
aI("text=Gallery /Stock;showmenu=gallery;url=/media/gallery.asp;")
aI("text=Photography;showmenu=photography;url=/photography/index.asp;")
aI("text=Retouching;showmenu=retouching;url=/retouching/index.asp;")
aI("text=Client List;showmenu=client_list;url=/clients/index.asp;")
aI("text=Our Crew;showmenu=our_crew;url=/crew/index.asp;")
aI("text=Search;showmenu=search;url=/search/index.asp;")
aI("text=$ $ $;showmenu=$$$;url=/accounting/index.asp;")
}
drawMenus();
</script>
<!-- Orig Melonic Table placement script call
<script language="JavaScript" type="text/JavaScript">
PlaceMenu("mainmenu")
</script>
//-->
</p>
<p> </p>
<p> </p>
<---------------- CUT ----------------->
Here is my menu_data.js code:
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect1="Fade(duration=0.2);Alpha(style=0,opacity=10);Shadow(color='#FFFFFF', Direction=135, Strength=0)"
effect2="Pixelate(squares=20, duration=0.5);Alpha(style=0,opacity=10);Shadow(color='#ffffff', Direction=280, Strength=0)"
}
else
{
effect1="Shadow(color='#FFFFFF', Direction=135, Strength=0)"
effect2="Shadow(color='#FFFFFF', Direction=280, Strength=0)"
}
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=0;
_subOffsetLeft=-5;
with(style1=new mm_style()){
offcolor="black";
offbgcolor="#ffffff";
oncolor="red";
onbgcolor="#ffffff";
bordercolor="#ffffff";
borderstyle="solid";
bordercolor="black";
fontsize=10;
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana, Arial";
high3dcolor="#ffffff";
low3dcolor="#ffffff";
pagecolor="white";
pagebgcolor="blue";
headercolor="#ffffff";
headerbgcolor="#ffffff";
}
with(style2=new mm_style()){
offcolor="black";
offbgcolor="#FFFFFF";
oncolor="red";
onbgcolor="#FFFFFF";
bordercolor="#FFFFFF";
borderstyle="solid";
bordercolor="black";
fontsize=10;
fontstyle="normal";
fontweight="normal";
fontfamily="Verdana, Arial";
subimage="/js/nsiMainMenu/arrow.gif";
high3dcolor="#666666";
low3dcolor="#000099";
pagecolor="white";
pagebgcolor="blue";
headercolor="#ffffff";
headerbgcolor="#cccccc";
}
with(milonic=new menuname("video")){
itemwidth=135;
borderwidth=1;
style=style2;
align="right";
position="absolute";
aI("text=View Samples ---;url=/media/gallery.asp?categoryid=36;")
aI("text=Prod. Capabilities ;url=/video/video_capabilities.asp;")
aI("text=Talent & Producing ;url=/video/talent_producing.asp;")
aI("text=Location Scouting ;url=/video/video_location_scouting.asp;")
aI("text=Script Writing ;url=/video/script_writing.asp;")
aI("text=Job Quote ;url=/video/video_job_quote.asp;")
}
with(milonic=new menuname("postproduction")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=View Samples ---;url=/postprod/post_samples.asp;")
aI("text=Edit Capabilities ;url=/post/post_capabilities.asp;")
aI("text=Media Eencoding ;url=/post/media;_encoding.asp")
aI("text=DVD Authoring ;url=/post/dvd_authoring.asp;")
aI("text=Duplication ;url=/post/duplication.asp;")
aI("text=Job Quote ;url=/post/post_job_quote.asp;")
}
with(milonic=new menuname("gallery")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=Main Categories All ---;url=/media/gallery.asp;")
aI("text=Client Area (Private) ;url=/clients/media/gallery.asp;")
aI("text=Film & Video Reels ;url=/media/gallery.asp?categoryid=36;")
aI("text=Still Portfolios ;url=/media/gallery.asp?categoryid=42;")
aI("text=Stock Sales ;url=/media/gallery.asp?categoryid=34;")
aI("text=Studio Services ;url=/media/gallery.asp?categoryid=15;")
}
with(milonic=new menuname("photography")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=View Samples ---;url=/media/gallery.asp?categoryid=42;")
aI("text=Digital Capabilities ;url=/photography/still_digital_capabilities.asp;")
aI("text=Film Capabilities ;url=/photography/still_film_capabilities.asp;")
aI("text=Location Scout ;url=/photography/still_location_scouting.asp;")
aI("text=Job Quote ;url=/photography/still_job_quote.asp;")
}
with(milonic=new menuname("retouching")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=View Samples ---;url=/media/gallery.asp?categoryid=18;")
aI("text=Image Optimize ;url=/retoughing/image_optimizing.asp;")
aI("text=Upload File ;url=/retoughing/ret_upload.asp;")
aI("text=Job Quote ;url=/retoughing/ret_job_quote.asp;")
}
with(milonic=new menuname("client_list")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=Testimonials ---;url=/clients/testimonials.asp;")
aI("text=Leave Feedback ;url=/clients/feedback.asp;")
aI("text=Get Our Mailings ;url=/clients/promo.asp;")
}
with(milonic=new menuname("our_crew")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=Crew Bios ---;url=/crew/bios.asp;")
aI("text=Join Us ;url=/crew/apply_to_join_us.asp;")
}
with(milonic=new menuname("search")){
position="absolute";
itemwidth=135;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=Search ---;url=/search/index.asp;")
aI("text=Site Map ;url=/search/site_map.asp;")
}
with(milonic=new menuname("$$$")){
position="absolute";
itemwidth=145;
borderwidth=1;
style=style2;
alignment="right";
righttoleft=1;
aI("text=Make Online Payment ---;url=/accounting/online_payment.asp;")
aI("text=Request A Statement ;url=/accounting/statement_request.asp;")
aI("text=eMail Accounting ;url=mailto:accounting@ripnoel.com;")
aI("text=Submit Invoice ;url=/accounting/invoice_submission.asp;")
}
drawMenus();
Conversion help needed. Embeding in table cell & Flash/M
-
- Super Advanced
- Posts: 51
- Joined: Thu Feb 27, 2003 9:47 am
- Location: Denmark
Hi Rip,
Question 1: Try using a menu property called openstyle (same type of property as top or left... defined per menu, not per item). Use
This will also move things like your subimage over to the left side instead of the right, and (I think) change the default alignment for menu items to right aligned.
Question 2: Flash will continue to be a problem... it still doesn't play well with dhtml. You'll have to identify the problematic browser/OS combos and use code to hide the flash when it overlaps with a menu. Henrik has pointed to a message regarding a modification of the code I wrote to hide flahs (and other stuff) in version 3... if I recall, you ended up using that code, right? Anyway, you could try that, or you try the new div-hiding approach Andy has built for integration with the menu; there's a sample here.
Hope that helps,
Kevin
P.S. Your name triggers a memory of a cool-looking "tubes" site design... that was you wasn't it? Did you ever get it running?
Question 1: Try using a menu property called openstyle (same type of property as top or left... defined per menu, not per item). Use
Code: Select all
openstyle="rtl";
Question 2: Flash will continue to be a problem... it still doesn't play well with dhtml. You'll have to identify the problematic browser/OS combos and use code to hide the flash when it overlaps with a menu. Henrik has pointed to a message regarding a modification of the code I wrote to hide flahs (and other stuff) in version 3... if I recall, you ended up using that code, right? Anyway, you could try that, or you try the new div-hiding approach Andy has built for integration with the menu; there's a sample here.
Hope that helps,
Kevin
P.S. Your name triggers a memory of a cool-looking "tubes" site design... that was you wasn't it? Did you ever get it running?
-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
The new hid div feature sample doesn't appear to be working. THe menu file download does not include the js file the menu system references "divhider.js"kevin3442 wrote: Anyway, you could try that, or you try the new div-hiding approach Andy has built for integration with the menu; there's a sample here.