Mozilla problem (possibly safari).

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Mozilla problem (possibly safari).

Post by tartar813 »

I am trying to get this installed, we have not gone live with the web site yet. We were going to use the old version but had some issues with Safari on mac. So, am trying the v5.

But, I have to hit refresh on the first screen on safari, after that everything is ok, but when I go to mozilla. I get the menu below the table that I try to put it on.

http://dev.kremp.com is the site. Any suggestions would be helpful

Thank you
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

works well on opera7

Post by tartar813 »

works well on opera7 just not mozilla 1.5.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Note you're quite a few levels back. RC19 is current, with the versions between 17 and 19 going deep, and you're on RC17. Also, Safari still has some problems of its own. Andy has written around many of them, but a few remain. I use Mac at home, and have not seen the refresh issue you describe.

Some other things...

1. I don't recognize 'bottom' as a valid style parameter. See http://milonic.com/forum/viewtopic.php?t=2981 for a good reading list.

2. Why have you ripped up your _data file and placed the pieces in the HTML? I would suggest leaving it together and calling it like the rest of the code.

3. Another possibility is to move the calls to the first items in the <body>
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

The latest release should fix it, or at least work anyhow.

Cheers
Andy
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Updated, still have problem.

Post by tartar813 »

I have updated the following files. mmenus4.js, mmenudom.js, milonic_src.js to the latest RC19 code and still get the menu under the table.

The reason taht I have the javascript in my file is that it is all dynamically generated using sql statement for my data (vb). I'm not much of a programmer but that is the only way I could get it to work.

Thanks
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Post by tartar813 »

jgillett wrote:Note you're quite a few levels back. RC19 is current, with the versions between 17 and 19 going deep, and you're on RC17. Also, Safari still has some problems of its own. Andy has written around many of them, but a few remain. I use Mac at home, and have not seen the refresh issue you describe.

Some other things...

1. I don't recognize 'bottom' as a valid style parameter. See http://milonic.com/forum/viewtopic.php?t=2981 for a good reading list.

2. Why have you ripped up your _data file and placed the pieces in the HTML? I would suggest leaving it together and calling it like the rest of the code.

3. Another possibility is to move the calls to the first items in the <body>
Where do you see bottom as a style parameter? I do a view source etc and don't see it.

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

Post by John »

tartar813 wrote:Where do you see bottom as a style parameter? I do a view source etc and don't see it.
Actually it's in your MainMenu definition...

Code: Select all

with(milonic=new menuname("Main Menu")){
style=menuStyle;
bottom=5;
Must be the fever...

Just looked at the site under OS X 10.2.8 and Safari 1(v85). It came up the first time with no refresh. Don't have Mozilla to try that.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I am looking at it in Safari 1.1 (v100) on OX X 10.3 and it looked fine. The first time it loaded it seemed slightly out of position, when I moused over it, it snapped into position. After clearing everythign and trying it again I could not reproduce it so I believe it was a fluke. But it worked and looked fine. I also tried it on Mac 5.2 and it looked and ran fine.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Found it, thanks

Post by tartar813 »

I removed the bottom, did a search and did not find it a while ago....

removed, still have issue with mozilla and displaying below.

http://dev.kremp.com/florashop/menumozilla.jpg

Is what I get with Mozilla.

Also, the safari above is what I got before. Instead of mousing over, i hit refresh and it was fine. Not that worried about safari, just need the mozilla to work. Any other suggestions?

Thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I think the problem is with your tables.

Some browsers will not allow you to position the menu using valign or align so you'll have to use the top left position of the table cell.

This shouldn't be a problem because you should be able to pad the table with empty cells.

I also noticed that your menu is absolute positioned, this means it will move about. Setting it to relative should fix it in place.

Something like this should do it.

Code: Select all

with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative"
aI("text=Home;url=default.asp;status=Back To Home Page;");
aI("text=Occassions;showmenu=Occassions;");
aI("text=Products;showmenu=Products;");
aI("text=Tips and Resources;showmenu=tips;");
aI("text=Contact Us;url=contact.asp;status=Contact us;");
aI("text=About Us;showmenu=aboutus;");
aI("text=Shopping Cart;url=shopping_cart.asp;");
aI("text=Sign In;url=youraccount.asp;");
}
drawMenus();

Cheers
Andy
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Additional

Post by tartar813 »

I had to remove the position relative because of the position on IE and all the others. I will try and do the nested tables in there and see what I can do about puting that back in. I will reply back here this evening.

Thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

position=relative is crucial to embedding the menu inside a table cell.

If you've got problems with it, let us know and see if we can sort them out for you.

Cheers
Andy
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

still got some problems.

Post by tartar813 »

ok, couple of things.

1. I cut my logo in half to make sure that I had two seperate tables.
2. I added the position=relative;
3. looks better but still, the background for the table wraps around to the next line, don't know why. When the following part of the code is removed, looks perfect. But with the menu added I get problems with the wraping of the image.

Any ideas.

Thanks in advance.

<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
itemheight=10 ;
menuwidth=660 ;
orientation="horizontal";
overfilter="";
position="relative";

aI("text=Home;url=default.asp;status=Back To Home Page;");
aI("text=Occassions;showmenu=Occassions;");
aI("text=Products;showmenu=Products;");
aI("text=Tips and Resources;showmenu=tips;");
aI("text=Contact Us;url=contact.asp;status=Contact us;");
aI("text=About Us;showmenu=aboutus;");
aI("text=Shopping Cart;url=shopping_cart.asp;");
<% if session ("loggedin")=false or Session("LoggedIn")="" then %>
aI("text=Sign In;url=youraccount.asp;");
<%end if%>
<% if Session("loggedin") = true then %>
aI("text=Your&nbsp;Account;showmenu=youraccount;");
<%end if%>
}
drawMenus();
</script>
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Any ideas?

Post by tartar813 »

Thanks
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Still problems

Post by tartar813 »

Just updated to rc20 and still have issue with something wrapping, Causing my table to be too large that the background image wraps.

http://dev.kremp.com, looks fine without the menu inserted into the table.
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Idea

Post by tartar813 »

How about I change my nav bar to Graphic buttons and use popups off of the buttons? Would that work?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Idea

Post by John »

tartar813 wrote:How about I change my nav bar to Graphic buttons and use popups off of the buttons? Would that work?
Works for me! See http://westcgi.west.asu.edu/sai/.
John
tartar813
Advanced
Advanced
Posts: 18
Joined: Mon Nov 03, 2003 9:43 pm

Got it

Post by tartar813 »

Pretty stupid. the v3 code required a small trans.gif to go to https. That was still in there..... removed, no problem.

Thanks for all your help.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Glad you're running now :!:
John
Post Reply