Help for Mac's Safari

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Cheergac
Beginner
Beginner
Posts: 5
Joined: Wed Jan 14, 2004 4:49 am

Help for Mac's Safari

Post by Cheergac »

Hi...can you please look at my site? I am a self taught newbie web person who put together a website for a Cheerleading gym. I recently purchased the Milonic Menu 5.0 and after many long evenings I figured out how to get it to work and fit properly on the layout. I just rec'd an email from a friend who said that my menu doesn't work in Safari. In Safari the first links: GAC news, Programs, School, and All stars work okay but all buttons from schedules > Contact US do not work. The drop down appears on roll over but when you try to select one of the buttons from the drop down the menu disappears. PLEASE HELP! :-) I hope I don't have to go through too much to make it compatible :-(. Thanks a million.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

There is too much javascript for me.

However, I don't see </body> </html> take a look at why I don't see it in view source.

Looking at the menu_data some lines end ;"); and some "); but I don't think that makes any difference.

Anyone else?

maz
Cheergac
Beginner
Beginner
Posts: 5
Joined: Wed Jan 14, 2004 4:49 am

Post by Cheergac »

I know...I have SO much to learn...but I do need to get the menu fixed for Mac. Thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

First and foremost, you are way down level. You're running RC19, we are currently at RC42. Since there is usually more than 1 release to a given RC, that puts you around 30 versions back. Upgrade.

Also, you have 2 <body> tags in there. No good.

Get rid of all that blank space at the top of the page, including the first line. If you really want that in there as a comment (which it is not as it is now), write it as a comment and put it in the proper place.

You admit, "I have SO much to learn", but you've loaded up your page with more Javascript that I'd ever use! Maz' comment is definitely right, and she's also right about the missing ; in some of your _data file code lines. While it should work OK, it's sloppy coding.

You have...

Code: Select all

headercolor="#oooooo";
You really want that to be...

Code: Select all

headercolor="#000000";
You did not give us the version of either Safari or the Mac OS your friend is complaining about.

Even though it probably doesn't sound as such, this is all meant to be constructive. IMHO, you need to some more studying before you tackle a site like this.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I'm on a pc using IE5 and those sections don't work on this either. You have an iframe and they are dropping behind it. I'm sorry, but i don't know anything about how to get it to show over the iframe, though I don't think it's a difficult problem to fix.

Ruth
Cheergac
Beginner
Beginner
Posts: 5
Joined: Wed Jan 14, 2004 4:49 am

Post by Cheergac »

Thanks wow...I didn't expect to get this tone...if you knew me than you might think I have come far...I will take your advice and do it, because I am always looking to more experienced people for help, but you might want to know that it sounds like you want to write me off as one who can improve. sheesh I'm simply helping a person who impacts young people in a great way and cannot afford professional web design.


If you really want that in there as a comment (which it is not as it is now), write it as a comment and put it in the proper place.
The comment is there because some local guy was listing our site on his web design page as his own creation...and I am a volunteer. And the headcolor that you refer to is located where??

you've loaded up your page with more Javascript that I'd ever use!
There is a huge script on the page used temporarily until Monday for a popup box about a practice change. This script is rarely used ...
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Hey,

Glad to help, I just installed Firebird, there is an amazing addon that checks for site design, it validates the page, loading time, spots all kind of errors. Well worth trying.

//<body>// remove this body tag
<body bgcolor="#000000">

Use a Doc type at the top of the page, see the DTD at the top of milonic html page and use that at the top of every html page, then you can use W3 validation service to check your site for errors.

The most likely culprit with the menu is as John said, replace the letter oooooo with the number 000000.

Regards,
maz
Cheergac
Beginner
Beginner
Posts: 5
Joined: Wed Jan 14, 2004 4:49 am

Post by Cheergac »

Thank you!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Ok. The only way I can figure to fix the submenus not showing is to use the divhider.js file. In your html, in the table that has the iframe you need to code it like this.

Code: Select all

<TABLE align=center bgColor=#010080 border=0 cellPadding=0 cellSpacing=0 
      width=792>
        <TBODY>
        <TR>
          <TD width=295><IMG border=0 src="8gac.jpg"> </TD>
          <TD width=497><SCRIPT language=JavaScript src="divhider.js" type=text/javascript></SCRIPT><div id=div1 name=div1  style="position:relative"><IFRAME frameBorder=0 height=424 name=links 
            src="frame.html" 
            style="FILTER: chroma(color=#ff0000)" width=490 
            allowtransparency="true"></IFRAME></div></TD></TR></TBODY></TABLE>
Then you need the divhider.js file which I have here, coded for you site. {LINK REMOVED: 12/30/08 - THIS FILE IS NO LONGER NEEDED FOR THIS TYPE OF SETUP} Do the code on your page as shown, then upload it with the corrections and with the divhider.js file that is in the zip. I tested and it works on ie5, netscape 6, 7 and opera 7. Remember to put your own paths to the files correctly. I just had everything in one desktop folder. Although, it looks as if you have all the files in the same place on your site given your path to files. Hope this helps.

and that #oooooo headercolor is in the menu_data.js file, though I didn't see any use of headers in the menu itself, so not sure that would effect anything.

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

Post by John »

Cheergac wrote:I didn't expect to get this tone...
Recall I said, "...this is all meant to be constructive". I'm sorry if you took it wrong.
Cheergac wrote:...but you might want to know that it sounds like you want to write me off as one who can improve.
I think it's safe to say there's not a person here, including me, who can't improve. Nobody knows it all. As for writing you off - nope. I think that's only happened once here, and it had nothing to do with coding capability. Anyway, look at all the replies you got.
Cheergac wrote:If you really want that in there as a comment (which it is not as it is now), write it as a comment and put it in the proper place.

The comment is there because some local guy was listing our site on his web design page as his own creation...and I am a volunteer.
That's fine, but it is not a comment as it's now written, and all that blank space is a waste.

<!-- This is a comment, and can be placed inside the code -->
John
Cheergac
Beginner
Beginner
Posts: 5
Joined: Wed Jan 14, 2004 4:49 am

Post by Cheergac »

Thanks jgillett and inkeeper9- I will work on it this evening. I appreciate the help.
Post Reply