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

probs in menu (page include form / question about itemwidth)


Poster: dekel
Dated: Sunday January 25 2004 - 14:39:27 GMT

here are my 3 questions (i'm using ver 5.0 RC 43)
-----------------------------
1) i have some page with form inside it. altho i have "tabindex" in the <input type=text> when i'm in 1 textbox, and i click on the tab key, the cursor isn't going to the next textbox... it goes to the menu, and only after the next tab that i click it goes to the next textbox.
it happens only on ie6. also checked it on NS 7 and it's o.k.

2) is it possible to put something like "itemwidth=like_father" so a submenu width will be the same width of the item who open this submenu?
if so, how to do this ?

3) i have some people who complains that they can't view my menu (i know they all use IE5) there is any reason for that ? i thought all browsers can handle this menu...

lots of thanks :) dekel


Poster: Ruth
Dated: Sunday January 25 2004 - 17:40:05 GMT

A link would help so that those with IE 5 could go and see if they see the menu and if not try and check your files and see what the problem might be. I see the menu on any pages I go that have it, and I have ie5

Ruth


Poster: dekel
Dated: Sunday January 25 2004 - 17:54:10 GMT

you can find the menu in here...
http://www.parnas.co.il/contact.php (this contains also the form)
about the second problem... go to the "english" and move your mouse over "projects"

thanks, Dekel


Poster: Ruth
Dated: Sunday January 25 2004 - 19:43:37 GMT

#1 can't help here, I know nothing about forms at all. :?
#3..The problem I think is that you are trying to display the menu in a table, but are only using the file instead of the method shown here http://www.milonic.com/menusample.php?sampleid=9 What you need to do is put the 'mainmenu' actually in the table cell like this
Code:
<TD align=right style="HEIGHT: 25px" vAlign=top
                  width=650>&nbsp;&nbsp;
                  <script>with(milonic=new menuname("Main Menu")){
openstyle="rtl";
style=menuStyletop;
alwaysvisible=1;
itemheight=23;
orientation="horizontal";
position="relative"
aI("url=index.php;text=òì äîùøã;");
aI("text=ôøåéé÷èéí;showmenu=0;");
aI("url=members.php;text=ëðéñú ì÷åçåú;");
aI("url=address.php;text=ëúåáú;");
aI("url=contact.php;text=öåø ÷ùø;");
aI("url=index.php?eng;text=English;");
}
drawMenus();</SCRIPT>
                </TD>
Note the position="relative"; added to that section, and make sure you remove that whole menu from the menu_data.js file. Then in the head of the page where you have the code for the menu calls you would add the call for the menu_data.js file.
Code:
<SCRIPT language=JavaScript src="milonic_src.js"
type=text/javascript></SCRIPT>

<SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js"
type=text/javascript></SCRIPT>
The same thing has to be done on your english page. And, you could keep all the files together if you say named them hebrew_data.js and english_data.js. Just a thought

#2. I don't think you can do it like that. However, if you used images for your main menu items, you would have a specific width of the image for each item and could then code the submenu for that item with that width. You might have to fiddle with it because of the padding set and such.

Also, you should download the newer releases, there has been a newer 43, two 44 and we are on 45 now. So the milonic_src.js and mmenudom.js and mmenuns4.js have all been modified with bugs fixed and such.

Now I have a question, not that I Iknow that it makes a difference, but how come the url is listed before the text in the menu item? I've never seen that.

--**[Off the topic. But, I wonder how many visitors don't go to the site because they speak english but on entering they have to download the hebrew and have it installed? Many people just don't download stuff, they just leave. I was wondering if an entry page with say link to hebrew and link to english? Yes, they would be ask to download because the hebrew link would be in hebrew BUT they could read the english and click without a download. Not sure that it matters...I downloaded because I was trying to see the problem for the menu but I probably wouldn't have had I just reached the site on a search for something that gave your site as one of the results.]**--

Ruth


Poster: Ruth
Dated: Sunday January 25 2004 - 21:51:41 GMT

#1 About the form.

I tried that page on my computer with the fix for the table placement and the tab works without going back to the menu. Not sure if that's only because it's on my desktop and not the web, but maybe the issue will clear up when you fix the table placement.

Ruth