Brett
Wed Feb 21 13:20:00 CST 2007
Ok.. NOW it works...
Tried the code on my work pc and it works fine...
I will try it on the home front soon (both IE7)
"Kathleen Anderson [MVP - FrontPage]" <spiderwebwoman@mvps.org> wrote in
message news:eHOu%23sVVHHA.4260@TK2MSFTNGP06.phx.gbl...
> Brett:
> I copied your code, and with the gifs in the same folder as the page with
> the dropdown menu, it works:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <html lang="en">
>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body>
>
> <form>
> <select id="Choice" style="color: #0000FF" size="1" name="mySelect">
> <option value="">Select one</option>
> <option value="awstats.gif">Page 1</option>
> <option value="canceled.gif">Page 2</option>
> </select>
>
> <input type="button" value="Go"
> onclick="window.open(Choice.options[Choice.selectedIndex].value)">
> </form >
> </body>
>
> </html>
>
>
> --
>
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web:
http://www.spiderwebwoman.com/resources/
>
>
> "Brett" <flir48@yahoo.com> wrote in message
> news:deScnaB81-I78UfYUSdV9g@ptd.net...
>> Kathleen,
>> Thanks for your response....I figured also it would work, but it doesn't.
>>
>> Let me explain the setup...
>> I scan every document of importance as a gif file.
>> I then use a 'home only' web site (not viewable anywhere but home) to
>> store
>> information etc,,, as a scanned gif image.. reciepts..etc....for future
>> reference.
>> For the last 8 years.. I've just been using links..and the gif file would
>> open in the "main" frame
>> and it worked fine. This type setup and storage is allowable by the IRS.
>>
>> But now I'm trying to streamline it a bit. and wish to use a text choice
>> list and load the desired gif
>> I wish to show in a frame... (just like my example...)
>>
>> I'm a lotus guy and I could do this with lotusscript easily on a domino
>> server, but the IRS rules say it must
>> be universally read so I'm trying to stay as straight as I can to HTML,
>> (with a little script and css here and there)
>>
>> any help would be appreciated.
>>
>> thx,
>> Brett
>>
>>
>>
>>
>>
>> "Kathleen Anderson [MVP - FrontPage]" <spiderwebwoman@mvps.org> wrote in
>> message news:uzgxOyIVHHA.3500@TK2MSFTNGP05.phx.gbl...
>>> Your script looks fine. Shouldn't page1.gif be page1.htm?
>>>
>>> --
>>>
>>> ~ Kathleen Anderson
>>> Microsoft MVP - FrontPage
>>> Spider Web Woman Designs
>>> web:
http://www.spiderwebwoman.com/resources/
>>>
>>>
>>> "Brett" <flir48@yahoo.com> wrote in message
>>> news:LsKcnbumptwR1EfYUSdV9g@ptd.net...
>>>> Let me put up an example and show you what I have:
>>>>
>>>> <form>
>>>> <select id="Choice" style="color: #0000FF" size="1" name="mySelect">
>>>> <option value="">Select one</option>
>>>> <option value="page1.gif">Page 1</option>
>>>> <option value="page2.gif">Page 2</option>
>>>> </select>
>>>>
>>>> <input type="button" value="Go"
>>>> onclick="window.open(Choice.options[Choice.selectedIndex].value)">
>>>> </form >
>>>>
>>>> I can't make the page1.gif file open.. yet it exists in the same
>>>> directory this html page is exist in.....
>>>>
>>>> Any advise would be appreciated...
>>>>
>>>> thx,
>>>> Brett
>>>>
>>>>
>>>
>>>
>>
>>
>
>