Mac-Safari Help

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
FireWire726
Beginner
Beginner
Posts: 3
Joined: Mon Jan 26, 2004 2:15 pm

Mac-Safari Help

Post by FireWire726 »

Hey,
I was wondering if someone could help me with a problem I was having with my menu not working on the mac. I use Iframes that work fine on latest version of IE and my menu works on Safari in a way. You have to hurry up and click on the menu or it dissapears real fast. My website is http://www.batechcentral.com/ambpa this site is for a competition and I have to fix this problem, since we already took first in our region but this problem almost killed us.

My menu_data code is:

Code: Select all



_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
onbgcolor="#3333FF";
oncolor="#FFFF00";
offbgcolor="#1e1eb5";
offcolor="#FF9933";
bordercolor="#000000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="orange";
pagebgcolor="#1e1eb5";
headercolor="#FF9933";
headerbgcolor="#3333FF";
subimage="images/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center";
top="offset=120"
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.batechcentral.com/ambpa/default2.htm;status=Back To Home Page;");
aI("text=Events;showmenu=EVENTS;");
aI("text=Tours;showmenu=TOURS;");
aI("text=Dining;showmenu=Dining;");
aI("text=Lodging;showmenu=Lodging;");
aI("text=BPA Contacts;showmenu=Contacts;");
}

with(milonic=new menuname("EVENTS")){
style=menuStyle;
overflow="scroll";
aI("text=BPA Events;showmenu=BPAEVENTS;");
aI("text=Sporting Events;showmenu=SPORTINGEVENTS;");
}

with(milonic=new menuname("BPAEVENTS")){
style=menuStyle;
overflow="scroll";
aI("text=By Day;url=http://www.batechcentral.com/ambpa/schedulebyday.htm;");
aI("text=Alphabetically;url=http://www.batechcentral.com/ambpa/schedulebyalphabet.htm;");
aI("text=Awards SlideShow;url=http://www.batechcentral.com/ambpa/awardslideshow.htm;");
}

with(milonic=new menuname("SPORTINGEVENTS")){
style=menuStyle;
overflow="scroll";
aI("text=Anaheim Angels;url=http://www.batechcentral.com/ambpa/anaheimangels.htm;");
aI("text=Anaheim Mighty Ducks;url=http://www.batechcentral.com/ambpa/anaheimmightyducks.htm;");
}

with(milonic=new menuname("TOURS")){
style=menuStyle;
aI("text=Entertainment Tours;showmenu=Entertainmenttours;");
aI("text=Museum And Aquarium Tours;showmenu=museumandaquariums;");
aI("text=Bus Tours;showmenu=bustours;");
}

with(milonic=new menuname("Entertainmenttours")){
style=menuStyle;
aI("text=Knots Berry Farm;url=http://www.batechcentral.com/ambpa/Knottsberryfarm.htm;");
aI("text=Wild Bill's Dinner Theater;url=http://www.batechcentral.com/ambpa/Wildbills.htm;");
aI("text=Universal Studios;url=http://www.batechcentral.com/ambpa/Universalstudios.htm;");
}

with(milonic=new menuname("museumandaquariums")){
style=menuStyle;
aI("text=Long Beach Aquarium;url=http://www.batechcentral.com/ambpa/LongBeach.htm;");
aI("text=Getty Museum;url=http://www.batechcentral.com/ambpa/GettyCenter.htm;");
}

with(milonic=new menuname("bustours")){
style=menuStyle;
aI("text=HollyWood City Tour;url=http://www.batechcentral.com/ambpa/hollywoodcityslideshow.htm;");
aI("text=Laguna Beach/Fashion Island;url=http://www.batechcentral.com/ambpa/lagunaslideshow.htm;");
}

with(milonic=new menuname("Dining")){
style=menuStyle;
aI("text=Fine Dining;showmenu=FineDining;");
aI("text=Casual Dining;showmenu=CasualDining;");
aI("text=FastFood;showmenu=FastFood;");
}

with(milonic=new menuname("FineDining")){
style=menuStyle;
aI("text=Five Crowns©;url=http://www.batechcentral.com/ambpa/fivecrowns.htm;");
aI("text=La Fayette Cafe©;url=http://www.batechcentral.com/ambpa/lafayettecafe.htm;");
aI("text=La Vie En Rose©;url=http://www.batechcentral.com/ambpa/lavieenrose.htm;");
aI("text=Cafe Fracais©;url=http://www.batechcentral.com/ambpa/cafefrancais.htm;");
}

with(milonic=new menuname("CasualDining")){
style=menuStyle;
aI("text=Marie Callender Pie Shop©;url=http://www.batechcentral.com/ambpa/mariecallenderpieshop.htm;");
aI("text=Sizzler©;url=http://www.batechcentral.com/ambpa/sizzler.htm;");
aI("text=Chuck E. Cheese's©;url=http://www.batechcentral.com/ambpa/chuckecheeses.htm;");
aI("text=Coco's Family Restuarant©;url=http://www.batechcentral.com/ambpa/cocosfamilyresturant.htm;");
aI("text=Denny's©;url=http://www.batechcentral.com/ambpa/dennys.htm;");
}

with(milonic=new menuname("FastFood")){
style=menuStyle;
aI("text=Jody-Maroni's Sausage Kingdom©;url=http://www.batechcentral.com/ambpa/jodymaronissausagekingdom.htm;");
aI("text=Andrews Burgers©;url=http://www.batechcentral.com/ambpa/AndrewsBurgers.htm;");
aI("text=Anaheim Orient Express©;url=http://www.batechcentral.com/ambpa/anaheimorientexpress.htm;");
aI("text=Albertos Mexican Food©;url=http://www.batechcentral.com/ambpa/albertosmexicanfood.htm;");
}

with(milonic=new menuname("Lodging")){
style=menuStyle;
aI("text=Anaheim Marriot;url=http://www.batechcentral.com/ambpa/anaheimmarriot.htm;");
aI("text=Hilton;url=http://www.batechcentral.com/ambpa/hilton.htm;");
aI("text=Holiday Inn;url=http://www.batechcentral.com/ambpa/hollidayinn.htm;");
}

with(milonic=new menuname("Contacts")){
style=menuStyle;
aI("text=Bpa National Staff;url=http://www.batechcentral.com/ambpa/Contacts.htm;");
aI("text=Designers;url=http://www.batechcentral.com/ambpa/Designers.htm;");
}

drawMenus();

I don't believe anything is wrong but it maybe any help would be appreciated.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I know there were some safari issues, but you are at rc 30 which was built dec 10, since then there have been 15 releases some of them with two or three of a single number with various bug fixes. The menu is now on rc45. I'm sure someone will check to see if something in your code is the problem but you do need to get the newest release candidate to get all the fixes that have taken place.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Note that v5 is not (yet) frames-friendly. It may be later, but we're not particularly frames-friendly here, anyway. Stay tuned.

There is some unsupported frames code here in the Forum you might want to try. Find it with a Search.

Also note you are down-level. You're running RC30, and RC45 is current. That translates to a lot of missed fixes and updates.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Ok, I have to know how the menu drops over the flash like that? It doesn't hide it or anything, it just goes over the top.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

BTW, what release of OS X and Safari are you running?
John
FireWire726
Beginner
Beginner
Posts: 3
Joined: Mon Jan 26, 2004 2:15 pm

Post by FireWire726 »

Hi, sorry it took me a while to get back to you, Well you see my secret to getting the Menu over the flash is to use IFrames, While this works with the newest version of IE it does not with Mac and it does go behind the flash.

Aslo I do believe it was os ten, not sure not a mac guy and used the computer graphic classes computer. The only reason I know its ten is because i've seen pics of ten once before.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

There are many versions of OS X and Safari. Please be exact.
John
FireWire726
Beginner
Beginner
Posts: 3
Joined: Mon Jan 26, 2004 2:15 pm

Post by FireWire726 »

I can not be exact, because I am not completely sure, I will find out but for now I have added a flash menu at the bottom of the page just as another form of navigation.

Thanks, anways...

I updated my menu, so if anyone can check it for me and let me know what versions your using that would be great... Thanx
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Hi,

I don't know javascript and you have a lot there.

I have this weeks latest update that came for Safari and Java. (all those safari bug reports must have made a difference)

When I open main menu and mouse over the submenu the second submenu item disappears. But then it gradually becomes more stable, its obvious then that the rolling text has something to do with it because I'm on a slow connection.

Why do you have onload? Is that doing something, would the milonic script be better in the head or is it a menu conflict with the submenu and your java?

I think it has to do with the rolling text on the same horizontal plane as the lower submenu items. I would look for a way of placing the menu on a highter plane. Maybe its placing the rolling text in a div, placing the menu in the head or using a different rolling text script that does not interfere, I really don't know but there are a few suggestions to think about.

Regards,
maz
fulmer
Super Advanced
Super Advanced
Posts: 39
Joined: Mon Dec 08, 2003 9:00 am
Location: Hachioji, Japan
Contact:

Post by fulmer »

Safari doesn't like it when a div or an iframe width is set to 100%. I've got mine set to 75% and it works fine.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Are you running 10.3.3 of OS X? Safari was one of the updated items, but I'm not sure exactly what was done. I'm seeing a few old issues back, which I'm not happy with (not menu related), but maybe yours was fixed.
John
Post Reply