M
Mr Pixie
I hope someone can help me fix this - I just can't understand why it is not
working:
I have this frameset:
<frameset rows="89,*,50" cols="*" framespacing="0" frameborder="NO"
border="0">
<frame src="Navigation/Navigation.htm" name="topFrame" scrolling="NO"
noresize>
<frame src="Homepage/Homepage.htm" name="mainFrame" scrolling="NO"
noresize>
<frame src="HotNews/Hotnews.htm" name="bottomFrame" scrolling="NO"
noresize>
</frameset>
mainFrame contains an image that I want to flip and an IFrame.
In the IFrame, there are buttons that, when clicked, should change the image
I just mentioned, which is in the mainFrame.
When the button in the IFrame is clicked, it runs a function containing this
line of code:
mainFrame.document.flipForm.flip.src=ImageButtonName;
which should work, because I know it does when I try it from a button within
mainFrame (obviously, dropping the the mainFrame. part).
For some annoying reason, the when the button in the IFrame is clicked it
does not swap the image in the mainFrame. Help!!
working:
I have this frameset:
<frameset rows="89,*,50" cols="*" framespacing="0" frameborder="NO"
border="0">
<frame src="Navigation/Navigation.htm" name="topFrame" scrolling="NO"
noresize>
<frame src="Homepage/Homepage.htm" name="mainFrame" scrolling="NO"
noresize>
<frame src="HotNews/Hotnews.htm" name="bottomFrame" scrolling="NO"
noresize>
</frameset>
mainFrame contains an image that I want to flip and an IFrame.
In the IFrame, there are buttons that, when clicked, should change the image
I just mentioned, which is in the mainFrame.
When the button in the IFrame is clicked, it runs a function containing this
line of code:
mainFrame.document.flipForm.flip.src=ImageButtonName;
which should work, because I know it does when I try it from a button within
mainFrame (obviously, dropping the the mainFrame. part).
For some annoying reason, the when the button in the IFrame is clicked it
does not swap the image in the mainFrame. Help!!