Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

structuring an hta 2

Status
Not open for further replies.

ahogg

Technical User
Nov 4, 2003
13
TH
Hi,

This is a sort of "best practice" question. I'm developing an hta that manages a file system hierarchy (actually, it takes input for the user and generates a web page from that input).

I've structured it like this:

One table (2x2).
- first row devoted to cosmetic stuff
- second row:
1. menu: present all the time
2. content area

The menu allows the type of content the user is going to add, so I've been using the onclick event for each item in the menu to call a Sub that loads the contents of each module into the content area, but that means that all my code is concentrated in the .hta file and it's not very easy to maintain that way.

I'd like to have the code for each module in each separate page, but all the modules need access to some "global" variables, and I don't know how to get the modules to share these globals without being in the same script.

Thanks in advance!

Anthony
 
dilettante,
I'm in the +800 zone! so minimal overlap in office hours. But, we are on the net which knows no boundary... Management under good hand is comforting. Take care.
- tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top