var srcElement = event.srcElement; this command works vith IE
function showMenu(menuToShow) { var srcElement = event.srcElement; var xPos = parseInt(srcElement.offsetLeft); var yPos = parseInt(srcElement.offsetTop); menuToShow.style.left = xPos + (srcElement.width); menuToShow.style.top = yPos; }
Modified
All Replies (2)
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
Thanks. Will try