Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 25 Jun 2005 11:28:01 -0700,    group: microsoft.public.inetsdk.programming.scripting.vbscript        back       


Pop-ups suppression and frames delete   
#1
i have a small app and it seems that even while developing and testing any
script in the pages does not execute, but rather IE throws up a pop-up msg 
warning
and i need to respond to these dialogs before i can have the script parts 
execute.
 
i dont see this type of problem in general while using the internet. is 
there any
way, or how do most sites prevent this annoying problem?
 
#2
i have a link on a page displayed in one of the  frames and cannot find a 
way using VBscript to  show the new page completely on it's own, without it 
being placed
back into the frame where the link was originally requested from. How do i 
clear
the entire frameset page and display the new page?? It's done on nearly every
site on the web, but yet i do not see it in any html or script tutorials.
 
help would be very appriciated. thank you
  
 
thank you
date: Sat, 25 Jun 2005 11:28:01 -0700   author:   jerry_ys

Re: Pop-ups suppression and frames delete   
jerry_ys wrote:
> #1
> i have a small app and it seems that even while developing and
> testing any script in the pages does not execute, but rather IE
> throws up a pop-up msg warning
> and i need to respond to these dialogs before i can have the script
> parts execute.
>
> i dont see this type of problem in general while using the internet.
> is there any
> way, or how do most sites prevent this annoying problem?

Internet Options -> Advanced tab -> Security

Enable the option: "Allow active content to run in files on My Computer"

>
> #2
> i have a link on a page displayed in one of the  frames and cannot
> find a way using VBscript to  show the new page completely on it's
> own, without it being placed
> back into the frame where the link was originally requested from. How
> do i clear
> the entire frameset page and display the new page?? It's done on
> nearly every site on the web, but yet i do not see it in any html or
> script tutorials.
>

TARGET Attribute | target Property (A, AREA, BASE, ...) (Internet Explorer)
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/target.asp

<a href='some.url' target='_top' ...>go to some.url</a>


-- 
Michael Harris
Microsoft MVP Scripting
date: Sat, 25 Jun 2005 12:36:59 -0700   author:   Michael Harris \(MVP\) mikhar at mvps dot org

Re: Pop-ups suppression and frames delete   
"Michael Harris (MVP)" wrote:

> jerry_ys wrote:
> > #1
> > i have a small app and it seems that even while developing and
> > testing any script in the pages does not execute, but rather IE
> > throws up a pop-up msg warning
> > and i need to respond to these dialogs before i can have the script
> > parts execute.
> >
> > i dont see this type of problem in general while using the internet.
> > is there any
> > way, or how do most sites prevent this annoying problem?
> 
> Internet Options -> Advanced tab -> Security
> 
> Enable the option: "Allow active content to run in files on My Computer"
> 
> >
> > #2
> > i have a link on a page displayed in one of the  frames and cannot
> > find a way using VBscript to  show the new page completely on it's
> > own, without it being placed
> > back into the frame where the link was originally requested from. How
> > do i clear
> > the entire frameset page and display the new page?? It's done on
> > nearly every site on the web, but yet i do not see it in any html or
> > script tutorials.
> >
> 
> TARGET Attribute | target Property (A, AREA, BASE, ...) (Internet Explorer)
> http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/target.asp
> 
> <a href='some.url' target='_top' ...>go to some.url</a>
> 
> 
> -- 
> Michael Harris
> Microsoft MVP Scripting
> 


> thank you michael. but regarding the first question, why is it as i'm developing
IE blocks and warns of any scripts in the html, etc., but for example when i
read and post msg's here no such blocks appear and i'm sure this site 
contains many
scripts and other active content. you are not suggesting with your first 
answer that
the server sets the clients internet options settings, or are you?  

thanks again

> 
> 
>
date: Mon, 27 Jun 2005 07:28:19 -0700   author:   jerry_ys

Re: Pop-ups suppression and frames delete   
>> thank you michael. but regarding the first question, why is it as
>> i'm developing
> IE blocks and warns of any scripts in the html, etc., but for example
> when i read and post msg's here no such blocks appear and i'm sure
> this site contains many
> scripts and other active content. you are not suggesting with your
> first answer that
> the server sets the clients internet options settings, or are you?



If you are developing *.htm and opening the files directly in IE from the 
file system, that's the local 'My Computer' security zone.  Deploying and 
accessing via http from a web server is the Intranet (within your local 
network) or Internet (outside your local network) security zone.

The browser applies different client security based on the security zone.

-- 
Michael Harris
Microsoft MVP Scripting
date: Mon, 27 Jun 2005 16:33:27 -0700   author:   Michael Harris \(MVP\) mikhar at mvps dot org

Re: Pop-ups suppression and frames delete   
"Michael Harris (MVP)" wrote:

> >> thank you michael. but regarding the first question, why is it as
> >> i'm developing
> > IE blocks and warns of any scripts in the html, etc., but for example
> > when i read and post msg's here no such blocks appear and i'm sure
> > this site contains many
> > scripts and other active content. you are not suggesting with your
> > first answer that
> > the server sets the clients internet options settings, or are you?
> 
> 
> 
> If you are developing *.htm and opening the files directly in IE from the 
> file system, that's the local 'My Computer' security zone.  Deploying and 
> accessing via http from a web server is the Intranet (within your local 
> network) or Internet (outside your local network) security zone.
> 
> The browser applies different client security based on the security zone.
> 
> -- 
> Michael Harris
> Microsoft MVP Scripting
> 
> Thank you i assumed something like that which makes sense. It is interesting though since it knows which zone your in, and in my case i'm developing an app
entirely on the local computer, without even being connected to the 
internet, that it's not smart enough to suppress this warning altogether 
since generally it's built in intelligence is impressive. 
It still requires that active content switch be turned on before suppressing 
the msg.
I hope i have interpreted your advice correctly. thanks!
  
> 
>
date: Tue, 28 Jun 2005 11:03:04 -0700   author:   jerry_ys

Re: Pop-ups suppression and frames delete   
>> Thank you i assumed something like that which makes sense. It is
>> interesting though since it knows which zone your in, and in my case
>> i'm developing an app
>> entirely on the local computer, without even being connected to the
>>> internet, that it's not smart enough to suppress this warning
>> altogether since generally it's built in intelligence is impressive.
>> It still requires that active content switch be turned on before
>> suppressing the msg.
>> I hope i have interpreted your advice correctly. thanks!


For all IE knows, you saved the page locally from a malicios web site for 
offline viewing and then disconnected from the web.


-- 
Michael Harris
Microsoft MVP Scripting
date: Tue, 28 Jun 2005 16:15:33 -0700   author:   Michael Harris \(MVP\) mikhar at mvps dot org

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us