Man. I'm all over this site today :)
So I have a menu with 6 entries. Each of these entries has a sub menu. I have written a for loop to handle all the onclicks so I didn't have to write them all out myself. I am now trying to get the cooresponding sub menu div to show up when a btn is rolled over.
Here is the part of my code that I need help with:
I should also mention that I'm a front-end designer. And I have a large background in Flash so my JavaScript is written very similar to AS.Code:for(var i=1; i<=6; i++) {
var btn = document.getElementById('TT'+i); //my li id
var subMenu = document.getElementById('AA'+i); //my sub menus
btn.onmouseover = function() {
dropdownmenu(this, event, 'AA1'); //'AA1' refers to the sub menu div on the html side. I need to replace this with something else... That's where you come in :) Right now every "btn" opens up div AA1.
}
}
This should be an easy one for you experienced coders. I'm not suppost to code and I have been all day. It's frying my little brain...

