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

Mozilla problem (possibly safari).


Poster: tartar813
Dated: Monday November 3 2003 - 21:36:47 GMT

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

works well on opera7


Poster: tartar813
Dated: Monday November 3 2003 - 22:05:57 GMT

works well on opera7 just not mozilla 1.5.


Poster: John
Dated: Monday November 3 2003 - 22:12:28 GMT

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://www.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>


Poster: Andy
Dated: Monday November 3 2003 - 22:18:07 GMT

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

Cheers
Andy

Updated, still have problem.


Poster: tartar813
Dated: Tuesday November 4 2003 - 1:28:14 GMT

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


Poster: tartar813
Dated: Tuesday November 4 2003 - 1:52:05 GMT

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://www.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


Poster: John
Dated: Tuesday November 4 2003 - 2:58:51 GMT

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


Poster: Hergio
Dated: Tuesday November 4 2003 - 4:53:51 GMT

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.

Found it, thanks


Poster: tartar813
Dated: Tuesday November 4 2003 - 11:44:05 GMT

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


Poster: Andy
Dated: Tuesday November 4 2003 - 12:48:03 GMT

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

Additional


Poster: tartar813
Dated: Tuesday November 4 2003 - 19:42:38 GMT

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


Poster: Andy
Dated: Tuesday November 4 2003 - 20:05:44 GMT

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

still got some problems.


Poster: tartar813
Dated: Wednesday November 5 2003 - 2:06:47 GMT

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>

Any ideas?


Poster: tartar813
Dated: Wednesday November 5 2003 - 20:44:02 GMT

Thanks

Still problems


Poster: tartar813
Dated: Wednesday November 5 2003 - 22:04:50 GMT

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.

Idea


Poster: tartar813
Dated: Wednesday November 5 2003 - 22:10:53 GMT

How about I change my nav bar to Graphic buttons and use popups off of the buttons? Would that work?

Re: Idea


Poster: John
Dated: Wednesday November 5 2003 - 23:39:20 GMT

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/.

Got it


Poster: tartar813
Dated: Thursday November 6 2003 - 2:42:45 GMT

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.


Poster: John
Dated: Thursday November 6 2003 - 14:54:36 GMT

Glad you're running now :!: