Re: web page with filename entry

From: Ronx (ronx917_at_hotmail.com)
Date: 11/06/04


Date: Sat, 6 Nov 2004 09:05:26 -0000

My example is pure JavaScript, there is no Active X involved. Is there
anything else on the page that could throw this warning?

If you have Windows XP SP2 installed this will block any JavaScript running
from pages stored on your PC. Try opening Internet Explorer, then
Tools->Internet Options->Advanced
Scroll down to the Security section
Tick the box "Allow active content to run in files on My Computer"

Before you click OK think about why this is set to "off" as a default.

-- 
Ron Symonds   (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.
"CarSalesman" <nikonut@yahoo.com> wrote in message 
news:O4pJ7N7wEHA.384@tk2msftngp13.phx.gbl...
> Ron,
>
> I was able to use your sample text below to set the folder by
> grabbing the first character of the string.  Thank you.
>
> Now, however, Internet Explorer won't let the form run, because
> it perceives it as a "dangerous active x control".    I can bypass the
> warning, and it works fine, but I have to by pass it every time I start
> the form.
>
> I tried going into the IE settings, and set the security settings,
> "initialize and script activex controls not marked as safe" to "enable".
>
> Since the file is currently sitting on my computer, it should 
> automatically
> be included in "local intranet", but I made the same change in "internet"
> and "trusted sites" zones.  Still no good.
>
> Where can I list the filename to eliminate warnings about active x
> on the page?
>
> thank you,
>
> don
>
>
> "Ronx" <ronx917@hotmail.com> wrote in message 
> news:elw$jRxwEHA.2980@TK2MSFTNGP10.phx.gbl...
>> Here is one way of generating the path:
>>
>> var e = document.logon.userid.value;
>> //   Next line of code must be all on one line -
>> //   watch for wrap in the newsgroup
>> document.location.href = "pages/" + e.substring(0,1) + "/"  + 
>> e.substring(1,7) + ".pdf";
>>
>> I do not know how to ensure a new window, except by using a JavaScript 
>> popup window.
>>
>> -- 
>> Ron Symonds   (Microsoft MVP - FrontPage)
>> Reply only to group - emails will be deleted unread.
>>
>>
>> "CarSalesman" <nikonut@yahoo.com> wrote in message 
>> news:%231SmNohwEHA.3288@TK2MSFTNGP14.phx.gbl...
>>> Oh, if I could be a pain in the *** even more...
>>>
>>> How would I modify that action, so that the new file
>>> opens in a new window, instead of the same one?
>>>
>>> thank you,
>>>
>>> don
>>>
>>>
>>>
>>>
>>> "Ronx" <ronx917@hotmail.com> wrote in message 
>>> news:OG0rO8YwEHA.3276@TK2MSFTNGP15.phx.gbl...
>>>> Use a JavaScript gateway script.
>>>>
>>>> Adapt the example at www.rxs-enterprises.org/tests/jspass/simple.htm
>>>>
>>>> -- 
>>>> Ron Symonds   (Microsoft MVP - FrontPage)
>>>> Reply only to group - emails will be deleted unread.
>>>>
>>>>
>>>> "CarSalesman" <nikonut@yahoo.com> wrote in message 
>>>> news:eRs2wHVwEHA.3668@tk2msftngp13.phx.gbl...
>>>>>I am using FP 2003.  I don't know much about scripting
>>>>> languages, so prefer to do this in html, but maybe its not possible.
>>>>>
>>>>> We have files stored on our server.  The users know the
>>>>> file names.  They are all pdf files.  The file names are all
>>>>> 8 characters.
>>>>>
>>>>> I need to build a web page with a text entry box, where
>>>>> the user will then type in the 8 character filename, then
>>>>> press the ENTER key.
>>>>>
>>>>> The form would have the web site and subfolders hard
>>>>> coded, as well as the pdf file extension.  The only thing
>>>>> that changes is the 8 character filename.  Something like:
>>>>>
>>>>> http://www.website.com/folder/folder/ENTEREDDATA.pdf
>>>>>
>>>>> where the capitalized data is entered by the user in a box,
>>>>> but the user doesn't know the rest of the info.
>>>>>
>>>>> HELP!
>>>>>
>>>>> don
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>