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

might be a bug... dont know... (tabindex couse problems...)


Poster: dekel
Dated: Tuesday February 17 2004 - 16:24:29 GMT

i have the menu inside a table (like the example) and also i have a form in that page.
i want that when someone click `tab` on his keyboard the pointer will move to the next input i want, so i added `tabindex=num`:
Code:
<input name=name size=15 tabindex=1>
<input name=name size=15 tabindex=2>


the problem is that i dont go to the next input as in the 'tabindex', i go to the menu... :(
i dont have an example on the net atm, maby i'll have one later...
do you know anything about it ?

p.s.
without the tabindex everything goes great :) but... what if i must use it ?

thanks, Dekel


Poster: Maz
Dated: Tuesday February 17 2004 - 17:14:50 GMT

Do you have another tabindex 1 or 2 on the same page that is confusing it?

Tabindex works fine for me out of a table, although I did have another tabindex confusing it at one point, so I changed the numbers to avoid the confusion.

Regards,
maz


Poster: Ruth
Dated: Wednesday February 18 2004 - 2:22:10 GMT

Didn't you ask about that before? Did you try actually putting the menu in that table cell, your main menu, and take it out of the menu_data file. When I tried to fix the problem that solved it.

Ruth


Poster: dekel
Dated: Friday February 20 2004 - 17:45:52 GMT

yes... it's exactly what i did...
but still... the tabindex doesn't work :(


Poster: Maz
Dated: Friday February 20 2004 - 22:03:45 GMT

I had tabindex going to html link instead of tabindex=2 so I gave the html link a higher tabindex number and it worked.

Regards,
maz


Poster: Ruth
Dated: Saturday February 21 2004 - 1:49:03 GMT

Just to make sure, the code will be like this in your cell
Code:
<TD align=right vAlign=top height="25px"
                  width=650>&nbsp;&nbsp;<script type="text/javascript">
                  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>
This part would be removed from the menu_data file so it doesn't appear twice on the page, and the
Code:
<SCRIPT language=JavaScript src="menu_data.htm"
                  type=text/javascript></SCRIPT>
will be put back with the other files in the head.

Looking at your file that's up one thing I noticed is that you seem to have two tabindex=8 you have that for the text area and also for the button [but I know nothing about forms, never having used them] I used that page from the old link and put the coding as I showed it here and the tab index does work, until you get to tabindex=4, for some reason at that point it takes two hits on tab to get it from 3 to 4, two from 4 to 5 and 3 from 5 to 8. I'm unable to see where it's actually going. If you could put up the new files it would probably help someone who knows more about forms to help you.


Poster: Maz
Dated: Saturday February 21 2004 - 2:02:28 GMT

Yes, a URL would help.


Poster: Ruth
Dated: Saturday February 21 2004 - 2:19:55 GMT

Here's the old one Maz which might give you a head start for the new one, you are the forms person. I know nothing, as shultz would say!
:lol:

http://www.parnas.co.il/contact.php

Ruth


Poster: kevin3442
Dated: Saturday February 21 2004 - 3:55:38 GMT

innkeeper9 wrote:
..I know nothing, as shultz would say!...

Oh my, now you're dating yourself! I guess I am too, since I know what you're talking about!

Kevin


Poster: Ruth
Dated: Saturday February 21 2004 - 4:18:28 GMT

Not only dating myself, but can't spell either! :lol:

Ruth


Poster: Maz
Dated: Saturday February 21 2004 - 5:31:35 GMT

I tabbed through the form without any problem, must have fixed it.

maz


Poster: Ruth
Dated: Saturday February 21 2004 - 19:07:22 GMT

That's interesting. I've got IE5.01 and not only does it not tab...well it does but I have to hit it twice to get to each next line but the menu disappears as soon as I mouseover the one that shows a submenu.

Ruth