View Single Post
Old 06-23-2002, 06:13 AM   PM User | #1
rasiris
New to the CF scene

 
Join Date: Jun 2002
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rasiris is an unknown quantity at this point
Help Plz -->JavaScrpit XpertZ

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
rasiris is offline   Reply With Quote