Hi guys!
I have the following code that tweaks a div’s location based on the screen with (so it shows up under the button whose onmouseover event calls it).
It works on IE but not on FireFox. Any way to fix this? Thanks!
-Duffy
onmouseover=”document.getElementById(‘Layer2’).style.left=((screen.width – 800)/2)+ 541 ; [other stuff that works] ; [other stuff that also works]”
(If you’re wondering about the numbers, 800 = main table width, 541 is the offset in pixels from the main table’s left side that I want it to be, less half the screen width (the /2) puts in right where I want it.
Anyone who can help has my eternal gratitude.
Cheers!