I am not sure this is the right place to ask this question. I have a
web page composed with two frames (left and right). Then in my
frmae2(right one) , I open a pop-up window by javscript:
window.open(... ). I hope the pop-up window has the same size of the
frame2, therefore I use the document.body.i nnerHeight and InnerWidth
(this is on IE 6), but My question is how can I get the left-top
position of the frame2 so that I can use the moveTo() to superimpose the
pop-up window over the frame2. It will make the popup looks like laid
top of frame2 at least from the openning of the main window. I can not
find anything about the frame.height and .width. Can anyone give me a
clue?
C Chang
web page composed with two frames (left and right). Then in my
frmae2(right one) , I open a pop-up window by javscript:
window.open(... ). I hope the pop-up window has the same size of the
frame2, therefore I use the document.body.i nnerHeight and InnerWidth
(this is on IE 6), but My question is how can I get the left-top
position of the frame2 so that I can use the moveTo() to superimpose the
pop-up window over the frame2. It will make the popup looks like laid
top of frame2 at least from the openning of the main window. I can not
find anything about the frame.height and .width. Can anyone give me a
clue?
C Chang
Comment