help with frames and variables, i can not work this out.

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!!!)
 
S

Steve Easton

I just posted a sample in reply to your last post.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top