G
Guest
I have now sort of worked out what the difference is between a global
variable and a local variable.
but now I have another problem.
I have setup test pages called main.htm, rightframe.htm and leftframe.htm.
main sets up the frames
right frame has two pull down boxes with numbers from 1 to 5 to select from.
it also has the variables num1 and num2 set to zero.
left frame has nothing in it yet.
it has a script with the effect...
if num1>0 then print the contents of 'num1' at some place in the left
frame page
and if num2>0 then print the contents of 'num2' also some other place in the
left frame page
now if I was to have the variables set global in the main.htm file as I have
been told to do, how do I get to change the value of it from another frame,
i.e. rightframe.htm page ?
if you need to see the page listings let me know.
thank you again.
Jason
(oneday I'll find out how to achieve this!!!)
variable and a local variable.
but now I have another problem.
I have setup test pages called main.htm, rightframe.htm and leftframe.htm.
main sets up the frames
right frame has two pull down boxes with numbers from 1 to 5 to select from.
it also has the variables num1 and num2 set to zero.
left frame has nothing in it yet.
it has a script with the effect...
if num1>0 then print the contents of 'num1' at some place in the left
frame page
and if num2>0 then print the contents of 'num2' also some other place in the
left frame page
now if I was to have the variables set global in the main.htm file as I have
been told to do, how do I get to change the value of it from another frame,
i.e. rightframe.htm page ?
if you need to see the page listings let me know.
thank you again.
Jason
(oneday I'll find out how to achieve this!!!)