Hi everyone ! I want to ask a question to see if anybody knows the answer to this puzzle ( related to a cascade menus script)
the commands:
menu.style.pixelTop = obj.getBoundingClientRect().top + obj.offsetHeight + Bdy.scrollTop
menu.style.pixelLeft = obj.getBoundingClientRect().left + Bdy.scrollLeft
Don't work on an Earthlink browser. In 1 computer I was playing around and I found that the following commands:
menu.style.pixelTop = obj.getBoundingClientRect().top + obj.offsetHeight + Bdy.scrollTop +50
menu.style.pixelLeft = obj.getBoundingClientRect().left + Bdy.scrollLeft +605
do work, but they don't in the explorer.
So, is there a way to combine a script into working in both browsers ???
Thanks for all your time guys
the commands:
menu.style.pixelTop = obj.getBoundingClientRect().top + obj.offsetHeight + Bdy.scrollTop
menu.style.pixelLeft = obj.getBoundingClientRect().left + Bdy.scrollLeft
Don't work on an Earthlink browser. In 1 computer I was playing around and I found that the following commands:
menu.style.pixelTop = obj.getBoundingClientRect().top + obj.offsetHeight + Bdy.scrollTop +50
menu.style.pixelLeft = obj.getBoundingClientRect().left + Bdy.scrollLeft +605
do work, but they don't in the explorer.
So, is there a way to combine a script into working in both browsers ???
Thanks for all your time guys
