Hi,
client wants for a window with no toolbars to open (technical and
'esthetical' reasons) after the window, user clicks on, is being
closed.
I told them about security settings in browsers and no cross-browsers
solutions and all of that we know, but they have told me they have
seen that before and how then the annoying pop-up windows work? . . .
After reading and searching . . . I still don't see how to get it
right
This is what I have (see below) which is still prompts you with the
message:
"The Web page you are viewing is trying to close the window."
"Do you want to close the window?"
"[YES|NO]"
// Page1_WithBrows werToolbars.jsp
// - - - - - - - - - - - - - - - - - Page1_With Browswer Toolbars
<html>
<head>
<title>Page1_Wi thBrowswerToolb ars</title>
<script type="text/javascript" language="Javas cript">
<!--
function newWindow(popWi n){
// __
window.opener = self;
window.close();
// __
popWindow = window.open(pop Win, 'popWin',
'width=700,heig ht=600,resize=y es,toolbar=no,l ocation=no,scro llbars=yes');
popWindow.focus ();
}
-->
</script>
</head>
<body bgcolor="ffffff ">
<center><h1>Pag e1 With Browser Toolbars</h1>
<br />
<br />
<a href="javascrip t:newWindow('./Page2_WithNoToo lbars.jsp')">cl ick
here to open window with no tool bars</a>
</center>
</body></html>
// Page2_WithNoToo lbars.jsp
// - - - - - - - - - - - - - - - - - Page2 With No Toolbars
<html>
<head>
<title>Page2_Wi thNoToolbars</title>
<script type="text/javascript" language="Javas cript">
<!--
function CloseParent(){
var hwnd = window.open('', 'Page1_WithBrow swerToolbars'); // notice,
no page included, only the title of the window you want to hijack
hwnd.close();
}
-->
</script>
</head>
<body onload="ClosePa rent()">
<center><h1>Pag e2_WithNoToolba rs</h1></center>
</body></html>
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 21 1999
On 21 Jul 2004 13:00:58 -0700, Albretch wrote:
Read in c.l.j.programme r client wants for a window with no toolbars to open
reader wants on-topic posts
<script type="text/javascript" language="Javas cript">
Which this is not. What makes you think
Java programmers are qualified or able
to abswer JS questions? Most Java programmers
would not even recognize the mistake in that line.
Would you ask the baker about that problem
you are having with the roof on your house?
<http://groups.google.c om/groups?q=group: comp.lang.javas cript>
In future, please do not post JS questions to c.l.j.p.,
please do not cross-post to three groups (in case you
were wonderring if you might be that important - no,
you are not).
F'Ups set to c.l.js.
--
Andrew Thompson http://www.PhySci.org/ Open-source software suite http://www.PhySci.org/codes/ Web & IT Help http://www.1point1C.org/ Science & Technology
Albretch said: Hi,
client wants for a window with no toolbars to open (technical and 'esthetical' reasons) after the window, user clicks on, is being closed.
I told them about security settings in browsers and no cross-browsers solutions and all of that we know, but they have told me they have seen that before and how then the annoying pop-up windows work? . . .
Those annoying pop-up windows don't close the original window.
Lee <RE************ **@cox.net> wrote in message news:<cd******* **@drn.newsguy. com>... Those annoying pop-up windows don't close the original window.
Well, actually some do.
Andrew Thompson <Se********@www .invalid> wrote in message news:<1h******* *************** *******@40tude. net>... Would you ask the baker about that problem you are having with the roof on your house?
Your parallelism I find more off-topic (and I would say stupid) than
my inquiry.
Proof?
I did a javascript group:comp.lang .java.programme r search and got
14,100 (including mine)
'"public class" group:comp.lang .javascript' gives you 359
'"public class" group:comp.lang .javascript -applet'; 108
'"public class" group:comp.info systems.www.aut horing.html'; 12
There must be a reason why javascript qs are more than 100% likely
posted on a java group than java qs are posted in JS/design ones. I
have constantly seen people asking HTML and Javascript questions to
server side java developers here in this group.
They usually complain about HTML/design people being cranky.
In future, please do not post JS questions to c.l.j.p., please do not cross-post to three groups (in case you were wonderring if you might be that important - no, you are not).
F'Ups set to c.l.js.
Thank you for letting me know how important I should think I am.
Now, do you want to become my mother too?
Albretch wrote: I did a javascript group:comp.lang .java.programme r search
Great. But Java != JavaScript.
There must be a reason why javascript qs are more than 100% likely posted on a java group than java qs are posted in JS/design ones.
There must be a reason why articles x-posted to more than one group
are often not appropriate for any of them.
I have constantly seen people asking HTML and Javascript questions to server side java developers here in this group.
Java and JS questions are off-topic for ciwah, unless they pertain to
the markup used to include them in an html document.
Now, do you want to become my mother too?
Do you want to get plonked?
--
Brian (remove ".invalid" to email me) http://www.tsmchughs.com/
Albretch said: Lee <RE************ **@cox.net> wrote in message news:<cd****** ***@drn.newsguy .com>... Those annoying pop-up windows don't close the original window.
Well, actually some do.
Not in my browser
> Your parallelism I find more off-topic (and I would say stupid) than my inquiry.
Andrew's post was off-topic I guess *but you started it* :-P He was simply
pointing out your mistake, so that you/others wouldn't make the same mistake
in the future. He could said it more succinctly and in a nicer way, but at
least he got his point across ... Proof?
I did a javascript group:comp.lang .java.programme r search and got 14,100 (including mine)
'"public class" group:comp.lang .javascript' gives you 359 '"public class" group:comp.lang .javascript -applet'; 108
'"public class" group:comp.info systems.www.aut horing.html'; 12
I did a "depression " group:sci.med.c ardiology search and got 886 results.
Then I did an "atherosclerosi s" group:alt.suppo rt.depression.m edication
search and got 62 results
I must remember from now on to post all depression related questions to
sci.med.cardiol ogy as well
There must be a reason why javascript qs are more than 100% likely posted on a java group than java qs are posted in JS/design ones. I have constantly seen people asking HTML and Javascript questions to server side java developers here in this group.
I'd take a guess that a large proportion of those would be
- posts like yours
- posts by newbies who don't realise the difference between Java and
Javascript
- posts containing the word Javascript but are not related to Javascript
(e.g. posted JSP code that has js code in it)
Thank you for letting me know how important I should think I am.
Now, do you want to become my mother too?
Waah
Brian <us*****@juliet remblay.com.inv alid> wrote in message news:<10******* ******@corp.sup ernews.com>... Albretch wrote:
I did a javascript group:comp.lang .java.programme r search Great. But Java != JavaScript.
Jeez! I new these guys would be able to even challenge Einsteins
equation.
They are so smart!!!
There must be a reason why articles x-posted to more than one group are often not appropriate for any of them.
I have constantly seen people asking HTML and Javascript questions to server side java developers here in this group.
Java and JS questions are off-topic for ciwah, unless they pertain to the markup used to include them in an html document.
Now, do you want to become my mother too?
Do you want to get plonked?
Reinforcing exactly my point.
Brian, you have really broken my heart, I could not sleep well
because of your language.
In article <f8************ **************@ posting.google. com>, lb*****@hotmail .com enlightened us with... Hi,
client wants for a window with no toolbars to open (technical and 'esthetical' reasons) after the window, user clicks on, is being closed.
I told them about security settings in browsers and no cross-browsers solutions and all of that we know, but they have told me they have seen that before and how then the annoying pop-up windows work? . . .
They work in IE with no blocking software installed.
My browser, Netscape 7, blocks all that shit. So do many others,
including Firefox, Mozilla, and Opera.
IE on the lowest security setting allows a popup to close the opener,
IIRC.
What the client wants sounds best suited to an intranet application
where the users all have IE and can make the site "trusted". Is this the
case? If not, don't bother. Most internet users do not want popups and
none of them are going to trust your application to close the opener
from a popup. The very concept of such a thing is alien for Opera users,
since new "windows" are able to be opened in one browser instance.
Trying to close the opener might well close the entire application.
Now, if it IS an intranet application and the users have IE, try making
the site trusted in the low security settings. That might make the
message go away.
HTH
--
--
~kaeli~
Once you've seen one shopping center, you've seen a mall. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lukeo |
last post by:
I'm shelling out to an .asp (or htm) page from an application. I want
to show this in a window without the address bar, etc...
Is there a way I can redirect this page using javascript to a page
where I can set the window height, statusbar=no, etc?
Thanks,
-Luke
|
by: net |
last post by:
I know how to make a page open itself at a certain size and location - I
use:
<html>
<head><script language="Javascript">
window.resizeTo(370,220);
window.moveTo(10,10);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
|
by: Ed Schimmel |
last post by:
Hi All,
I have a small question considiring the opening of a new window in
javascript. As you all know the code below will open a new without any
bars. But when I tried this code in IE6 it won't run. I have looked for
some documentation but couldn't find all the 'new' parameters for IE6 to
open a window without any bars. As far as I know the second argument
in window.open is no longer there.
Maybe some people can help me with my...
|
by: Albretch |
last post by:
Hi,
client wants for a window with no toolbars to open (technical and
'esthetical' reasons) after the window, user clicks on, is being
closed.
I told them about security settings in browsers and no cross-browsers
solutions and all of that we know, but they have told me they have
seen that before and how then the annoying pop-up windows work? . . .
|
by: cgia |
last post by:
I would like to return error message in a pop up window. Window.open
would be great, but it can only be associated to the onclick event of
the button: button.Attributes.Add("onclick",...
Any ideas?
I thought of creating a invisible button on the form, pressing it
programmatically, and hopefully this will fire the event above.
Any other ideas?
| |
by: gabon |
last post by:
Hi guys, is there a way to get the available size inside the window?
technically a kind of otherHeight - (toolbarsH + scrollbarsH + etc).
Thanks, chr
|
by: Uriah Piddle |
last post by:
Hi Gang,
With your help, I can show a thumbnail image in a new browser window. But I
would like to open the browser without all of the toolbars and sized
smaller -- something like what you get when you click on a product image at
the Amazon site.
Here is the code line I am using now:
<a href="ShowImage.aspx?Image=Explorer" target="_blank" />
|
by: Jeff |
last post by:
I have this pop up window code:
<script type="text/javascript">
function popUp(obj){
var win=window.open(obj.href,obj.innerHTML,"width=500,height=500");
alert('This test alert will not pop in IE');
win.focus();
return false;
}
|
by: bnashenas1984 |
last post by:
I have a page which opens a little popup to show recieved messages but when ever the page tries to open the popup the user should click on the yellow message on top of internet explorer and click on ( allow popup ) otherwise the popup will not be showed
Is there any way to open this window without getting permission?
<script type="text/javascript" >...
|
by: jmdolinger |
last post by:
Hi all,
Sorry if this has been covered before, but is there anyway that one
could remove menubars/toolbars from an existing browser window,
without having to popup a new window using window.open(), and
supplying the feature string?
Thanks for any input/replies!
Jason
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |