Framesets
(1)
Constants
(1)
HTA
(1)

External function file linked to HTA and frames.

Asked By CharlesEF
09-Jan-10 12:54 AM
Hi All

I have an HTA containing framesets and frames consisting of 1 top, 1
left and 1 right frame.  I have a  statement to load an external
js file in the HTA and each frame web page.  In this external file I
have defined some variables that I want to be global to all frames/web
pages.

After the HTA is loaded I can execute a function from the external
file just by using the function name.  This works like it should.  I
have some ADO constants defined in the external file also.  The ADO
code and queries are in a different frame/web page but it does not
complain about the constants missing a value.  In other words, it
works as it should. (as far as I understand)

Now for the problem, if I want to use or set a variable value that was
defined as global in the external file I am forced to use
top.variableName instead of just variableName.

Can anyone shed any light on this or point me to a link that can help
me understand?


Thanks for any help,

Charles

Hi All,Since no one has responded yet maybe I did not explain my problem

CharlesEF replied to CharlesEF
09-Jan-10 10:23 PM
Hi All,

Since no one has responded yet maybe I did not explain my problem well
enough.  If anyone has any questions please post them and I will do my
best to answer them.


Thanks,

Charles
Post Question To EggHeadCafe