N
Nina Harris
I would like to give an option to display two file formats to users, one
plain html, the other is a gif
files are all located in a common folder, like c:\temp\first.html and
c:\temp\first.gif
when I populate the drop-down box with the html files, user clicks and it
displays normally on another window or another frame (this part works fine
and I don't wish to change the behaviour)
all I would like to add is the ability to change the default drop-down list
from showing the "first.html" to "first.gif" and to allow them to load
either item or switch between them
currently I can solve it two ways
1. I can preload the drop-down with both the html and gif format (in the
list of option choices)
2. I can have two drop-down lists, one after the other and user selects
between the two
can I somehow combine the above two approaches with a simple switch option?
plain html, the other is a gif
files are all located in a common folder, like c:\temp\first.html and
c:\temp\first.gif
when I populate the drop-down box with the html files, user clicks and it
displays normally on another window or another frame (this part works fine
and I don't wish to change the behaviour)
all I would like to add is the ability to change the default drop-down list
from showing the "first.html" to "first.gif" and to allow them to load
either item or switch between them
currently I can solve it two ways
1. I can preload the drop-down with both the html and gif format (in the
list of option choices)
2. I can have two drop-down lists, one after the other and user selects
between the two
can I somehow combine the above two approaches with a simple switch option?