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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Local HTA File - Viewing local folder - views (large/small icons, etc)

Status
Not open for further replies.

Aubs010

Technical User
Apr 4, 2003
306
GB
Hi,

This may be a bit of a mouthfull, however I will proceed!

I have simplified the names...

On a [tt]NETWORK_DRIVE[/tt], I have folder called [tt]PROJECTS[/tt]

In this folder are 5 folders, for each project:

[tt]PROJ-a[/tt] ~ [tt]PROJ-e[/tt]

Inside each of these folders are 4 more folders (obviously with 4 different folder names), for project information. Each of the folders above have the same sub folders:

[tt]1ProjInfo[/tt] ~ [tt]4ProjInfo[/tt]

A tree-like structure would resemble:
[tt]
NETWORK_DRIVE
|
PROJECTS
|
|-PROJ-a
| |
| |-1ProjInfo
| |-2ProjInfo
| |-3ProjInfo
| |-4ProjInfo
|
|-PROJ-b
| |
| |-1ProjInfo
| |-2ProjInfo
| |-3ProjInfo
| |-4ProjInfo
|
|-PROJ-c
| |
| |-1ProjInfoA
| |-...
[/tt]


I have a HTA file that is used as a 'File Manager' type of thing, to allow very quick and easy access to the projects in this form:


The project Viewer is opened:[tt]
---------+-----------------------------------
| | |
| PROJECT | |
| | |
|---------| |
| PROJ-a | |
| PROJ-b |___________________________________|
| PROJ-c | |
| PROJ-d | |
| PROJ-e | |
| | |
| | |
| | |
---------+-----------------------------------
[/tt]Projects are listed along the left hand side.
All other frames are empty.


'PROJ-a' is selected.[tt]
---------+-----------------------------------
| | Current Project: PROJ-a |
| PROJECT | ---------------+-------------- |
| | | 1ProjInfo | 2ProjInfo | |
|---------| | 3ProjInfo | 4ProjInfo | |
|[COLOR=white black] PROJ-a [/color]| ---------------+-------------- |
| PROJ-b |___________________________________|
| PROJ-c | |
| PROJ-d | |
| PROJ-e | |
| | |
| | |
| | |
---------+-----------------------------------
[/tt]Selected Project is highlighted.
Folder Details appear in the top-right frame.
Since all folders have the same name, one html file will do.


'3ProjInfo' is selected[tt]
---------+-----------------------------------
| | Current Project: PROJ-a |
| PROJECT | ---------------+-------------- |
| | | 1ProjInfo | 2ProjInfo | |
|---------| |[COLOR=white black] 3ProjInfo [/color]| 4ProjInfo | |
|[COLOR=white black] PROJ-a [/color]| ---------------+-------------- |
| PROJ-b |___________________________________|
| PROJ-c | 3ProjInfo | FILES |
| PROJ-d | | APPEAR |
| PROJ-e | | HERE |
| | This Folder | |
| | is online | |
| | | |
---------+-----------------------------------
[/tt]Selected Folder is highlighted.
The folder contents for the current project is listed in the bottom-right frame.


This all works quite well (using javascript and what have you).


The problem I have is...

In the 3rd picture above, where the files are shown, This frame is a direct link to the folder.

e.g. <A HREF="c:\mydocuments\" TARGET="files">3ProjInfo</A>


The files are shown using the 'Standard' view for "Windows Explorer" (large icons).


Anything I do (e.g. change explorers default view to small icons/list/details etc), will not change the fact they are large icons!

If I right mouse button in the folder view, I can select 'View --> Small Icons' and it changes them to small icons, displaying all the file name.

However, if I change to a different folder (e.g. 2ProjInfo) and back again they revert back to the large icons view.


If anyone has any ideas that may help, they would be greatfully received.

Many thanks in advance,



Aubs
 
This is hardly a HTML question since there is a proprietary software (IE, Windows) that is used. In html you cannot define the size of your icons since there is no such thing as icons in html. Look at windows/IE settings or forums for that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top