473,725 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Window.Open / Window.Close question

For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write( "<script
language=javasc ript>window.ope n("TSReminder.a spx",null,"heig ht=340,width=64 0,status=no,too lbar=no,menubar =no,location=no ")</script>")

Response.Write( "<script language=javasc ript>window.ope ner =
self</script>")
Response.Write( "<script language=javasc ript>window.clo se()</script>")

Jul 11 '06 #1
11 4942
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write( "<script
language=javasc ript>window.ope n("TSReminder.a spx",null,"heig ht=340,width=64 0,status=no,too lbar=no,menubar =no,location=no ")</script>")

Response.Write( "<script language=javasc ript>window.ope ner =
self</script>")
Response.Write( "<script language=javasc ript>window.clo se()</script>")
Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open("TS Reminder.aspx", null,"height=34 0,width=640,sta tus=no,toolbar= no,menubar=no,l ocation=no");
window.opener = win;
self.close();
}

window.onload = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.RegisterSt artupScritps(Me .Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 11 '06 #2
John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open('TS Reminder.aspx', null,'height=34 0,width=640,sta tus=no,toolbar= *no,menubar=no, location=no');
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:
In your PageLoad do
---------------------------------
Page.RegisterSt artupScritps(Me .Type, [StringScript], True)


I'm assuming that you're refering to add it to:

protected void Page_Load(objec t sender, EventArgs e)
{

}

I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write( "<script
language=javasc ript>window.ope n("TSReminder.a spx",null,"heig ht=340,width=64 0,status=no,too lbar=no,menubar =no,location=no ")</script>")

Response.Write( "<script language=javasc ript>window.ope ner =
self</script>")
Response.Write( "<script language=javasc ript>window.clo se()</script>")

Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open("TS Reminder.aspx", null,"height=34 0,width=640,sta tus=no,toolbar= no,menubar=no,l ocation=no");
window.opener = win;
self.close();
}

window.onload = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.RegisterSt artupScritps(Me .Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #3
Have you checked for popup blockers ?

Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write( "<script
language=javasc ript>window.ope n("TSReminder.a spx",null,"heig ht=340,width=64 0,status=no,too lbar=no,menubar =no,location=no ")</script>")

Response.Write( "<script language=javasc ript>window.ope ner =
self</script>")
Response.Write( "<script language=javasc ript>window.clo se()</script>")
Jul 12 '06 #4
Yes. It works fine on my machine and I not only use the Windows Popup
blocker with SP2, but I also use another that comes with a 3rd party
appication. It doesn't work on various others machines.


Tasos Vogiatzoglou wrote:
Have you checked for popup blockers ?

Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write( "<script
language=javasc ript>window.ope n("TSReminder.a spx",null,"heig ht=340,width=64 0,status=no,too lbar=no,menubar =no,location=no ")</script>")

Response.Write( "<script language=javasc ript>window.ope ner =
self</script>")
Response.Write( "<script language=javasc ript>window.clo se()</script>")
Jul 12 '06 #5
In .NET 2.0:

protected void Page_Load(objec t sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScritp(...)
}
Dave wrote:
John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open('TS Reminder.aspx', null,'height=34 0,width=640,sta tus=no,toolbar= *no,menubar=no, location=no');
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:
>In your PageLoad do
---------------------------------
Page.RegisterS tartupScritps(M e.Type, [StringScript], True)

I'm assuming that you're refering to add it to:

>

I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
>Dave wrote:
>>For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Writ e("<script
language=java script>window.o pen("TSReminder .aspx",null,"he ight=340,width= 640,status=no,t oolbar=no,menub ar=no,location= no")</script>")

Response.Writ e("<script language=javasc ript>window.ope ner =
self</script>")
Response.Writ e("<script language=javasc ript>window.clo se()</script>")
Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open("T SReminder.aspx" ,null,"height=3 40,width=640,st atus=no,toolbar =no,menubar=no, location=no");
window.opene r = win;
self.close() ;
}

window.onloa d = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.RegisterS tartupScritps(M e.Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #6
Thanks Again John for a quick reply. Please keep in mind that I'm
using exactly what you're showing me. If something is in
Brackets...I'm putting Brackets in there as well.
This is what I have:
protected void Page_Load(objec t sender, EventArgs e)
{
Page.RegisterSt artupScripts(Me .Type, [StringScript], True);

}

Below are the comments:

RegisterStartup Scripts = (Blue line) - System.Web.UI.P age does not
contain a definition for 'RegisterStartu pScripts'.
Me = (Blue Line) - The name 'ME' does not exist in the current context.
[StringScript] = (Redline) - ) expected
True = (Redline) - ; expected
On the HTML Page:

<head runat="server">
<title>Untitl ed Page</title>

Function OpenWin()
{
var
win=window.open ("TSReminder.as px",null,"heigh t=340,width=640 ,status=no,tool bar=no,menubar= no,location=no"
window.opener = win;
self.close();
}

window.Onload = OpenWin;
</head>




John Prado wrote:
In .NET 2.0:

protected void Page_Load(objec t sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScritp(...)
}
Dave wrote:
John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open('TS Reminder.aspx', null,'height=34 0,width=640,sta tus=no,toolbar= *no,menubar=no, location=no');
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:
In your PageLoad do
---------------------------------
Page.RegisterSt artupScritps(Me .Type, [StringScript], True)


I'm assuming that you're refering to add it to:




I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Write ("<script
language=javas cript>window.op en("TSReminder. aspx",null,"hei ght=340,width=6 40,status=no,to olbar=no,menuba r=no,location=n o")</script>")

Response.Write ("<script language=javasc ript>window.ope ner =
self</script>")
Response.Write ("<script language=javasc ript>window.clo se()</script>")

Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open("TS Reminder.aspx", null,"height=34 0,width=640,sta tus=no,toolbar= no,menubar=no,l ocation=no");
window.opener = win;
self.close();
}

window.onload = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.RegisterSt artupScritps(Me .Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #7
The correct call to RegisterStartup Script in .net 2.0 is:

Page.ClientScri pt.RegisterStar tupScript(...)

Two things
1. I mistyped the end of the function, it has an "S" that not supose to
be at the end of the call.
2. Remove the brackets "[...]" from your call

Dude, take a look at C# sintax. Without know the basics you will suffer
a lot.

Good luck
Dave wrote:
Thanks Again John for a quick reply. Please keep in mind that I'm
using exactly what you're showing me. If something is in
Brackets...I'm putting Brackets in there as well.
This is what I have:
protected void Page_Load(objec t sender, EventArgs e)
{
Page.RegisterSt artupScripts(Me .Type, [StringScript], True);

}

Below are the comments:

RegisterStartup Scripts = (Blue line) - System.Web.UI.P age does not
contain a definition for 'RegisterStartu pScripts'.
Me = (Blue Line) - The name 'ME' does not exist in the current context.
[StringScript] = (Redline) - ) expected
True = (Redline) - ; expected
On the HTML Page:

<head runat="server">
<title>Untitl ed Page</title>

Function OpenWin()
{
var
win=window.open ("TSReminder.as px",null,"heigh t=340,width=640 ,status=no,tool bar=no,menubar= no,location=no"
window.opener = win;
self.close();
}

window.Onload = OpenWin;
</head>




John Prado wrote:
>In .NET 2.0:

protected void Page_Load(objec t sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScritp(...)
}
Dave wrote:
>>John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open(' TSReminder.aspx ',null,'height= 340,width=640,s tatus=no,toolba r=*no,menubar=n o,location=no') ;
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:

In your PageLoad do
---------------------------------
Page.Registe rStartupScritps (Me.Type, [StringScript], True)
I'm assuming that you're refering to add it to:

>>>
I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.
>
Response.Wr ite("<script
language=ja vascript>window .open("TSRemind er.aspx",null," height=340,widt h=640,status=no ,toolbar=no,men ubar=no,locatio n=no")</script>")
>
Response.Wr ite("<script language=javasc ript>window.ope ner =
self</script>")
Response.Wr ite("<script language=javasc ript>window.clo se()</script>")
>
Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open( "TSReminder.asp x",null,"height =340,width=640, status=no,toolb ar=no,menubar=n o,location=no") ;
window.opene r = win;
self.close() ;
}

window.onloa d = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.Registe rStartupScritps (Me.Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #8
I'm suffering... :-(

John Prado wrote:
The correct call to RegisterStartup Script in .net 2.0 is:

Page.ClientScri pt.RegisterStar tupScript(...)

Two things
1. I mistyped the end of the function, it has an "S" that not supose to
be at the end of the call.
2. Remove the brackets "[...]" from your call

Dude, take a look at C# sintax. Without know the basics you will suffer
a lot.

Good luck
Dave wrote:
Thanks Again John for a quick reply. Please keep in mind that I'm
using exactly what you're showing me. If something is in
Brackets...I'm putting Brackets in there as well.
This is what I have:
protected void Page_Load(objec t sender, EventArgs e)
{
Page.RegisterSt artupScripts(Me .Type, [StringScript], True);

}

Below are the comments:

RegisterStartup Scripts = (Blue line) - System.Web.UI.P age does not
contain a definition for 'RegisterStartu pScripts'.
Me = (Blue Line) - The name 'ME' does not exist in the current context.
[StringScript] = (Redline) - ) expected
True = (Redline) - ; expected
On the HTML Page:

<head runat="server">
<title>Untitl ed Page</title>

Function OpenWin()
{
var
win=window.open ("TSReminder.as px",null,"heigh t=340,width=640 ,status=no,tool bar=no,menubar= no,location=no"
window.opener = win;
self.close();
}

window.Onload = OpenWin;
</head>




John Prado wrote:
In .NET 2.0:

protected void Page_Load(objec t sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScritp(...)
}
Dave wrote:
John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open('T SReminder.aspx' ,null,'height=3 40,width=640,st atus=no,toolbar =*no,menubar=no ,location=no');
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:

In your PageLoad do
---------------------------------
Page.Register StartupScritps( Me.Type, [StringScript], True)
I'm assuming that you're refering to add it to:


I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Wri te("<script
language=jav ascript>window. open("TSReminde r.aspx",null,"h eight=340,width =640,status=no, toolbar=no,menu bar=no,location =no")</script>")

Response.Wri te("<script language=javasc ript>window.ope ner =
self</script>")
Response.Wri te("<script language=javasc ript>window.clo se()</script>")

Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open(" TSReminder.aspx ",null,"height= 340,width=640,s tatus=no,toolba r=no,menubar=no ,location=no");
window.open er = win;
self.close( );
}

window.onlo ad = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.Register StartupScritps( Me.Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #9
I'm suffering... :-(

Thanks for your help all the same.


John Prado wrote:
The correct call to RegisterStartup Script in .net 2.0 is:

Page.ClientScri pt.RegisterStar tupScript(...)

Two things
1. I mistyped the end of the function, it has an "S" that not supose to
be at the end of the call.
2. Remove the brackets "[...]" from your call

Dude, take a look at C# sintax. Without know the basics you will suffer
a lot.

Good luck
Dave wrote:
Thanks Again John for a quick reply. Please keep in mind that I'm
using exactly what you're showing me. If something is in
Brackets...I'm putting Brackets in there as well.
This is what I have:
protected void Page_Load(objec t sender, EventArgs e)
{
Page.RegisterSt artupScripts(Me .Type, [StringScript], True);

}

Below are the comments:

RegisterStartup Scripts = (Blue line) - System.Web.UI.P age does not
contain a definition for 'RegisterStartu pScripts'.
Me = (Blue Line) - The name 'ME' does not exist in the current context.
[StringScript] = (Redline) - ) expected
True = (Redline) - ; expected
On the HTML Page:

<head runat="server">
<title>Untitl ed Page</title>

Function OpenWin()
{
var
win=window.open ("TSReminder.as px",null,"heigh t=340,width=640 ,status=no,tool bar=no,menubar= no,location=no"
window.opener = win;
self.close();
}

window.Onload = OpenWin;
</head>




John Prado wrote:
In .NET 2.0:

protected void Page_Load(objec t sender, EventArgs e)
{
Page.ClientScri pt.RegisterStar tupScritp(...)
}
Dave wrote:
John,
Thanks for your quick reply, but now I'm even more lost than before.
This is how I interprit your instructions:

<head runat="server">
<title>Untitl ed Page</title>

<script language="C#" runat="server">

String scriptString = "function OpenWin() ";
scriptString += "{ ";
scriptString += "var win =
window.open('T SReminder.aspx' ,null,'height=3 40,width=640,st atus=no,toolbar =*no,menubar=no ,location=no');
";
scriptString += "window.ope ner = win; ";
scriptString += "self.close (); ";
scriptString += "} ";
scriptString += "window.onl oad = OpenWin; ";

</SCRIPT>

</head>

This is just full of red squiggly red lines.

You also say:

In your PageLoad do
---------------------------------
Page.Register StartupScritps( Me.Type, [StringScript], True)
I'm assuming that you're refering to add it to:


I also checked Help about Page.RegisterSt artupScrips and it says NOTE:
This method is now obsolete. I checked because it also had a red
squggly red line under it.

I'm really hoping that you give me a quick responce like yesterday.





John Prado wrote:
Dave wrote:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and closes.
That's all you see. TSReminder.aspx doesn't even open. I'm not sure
what's going on here.

Response.Wri te("<script
language=jav ascript>window. open("TSReminde r.aspx",null,"h eight=340,width =640,status=no, toolbar=no,menu bar=no,location =no")</script>")

Response.Wri te("<script language=javasc ript>window.ope ner =
self</script>")
Response.Wri te("<script language=javasc ript>window.clo se()</script>")

Your code will fit best if you do:

Put the lines below in a string:

---------------------------------
function OpenWin(){ var win =
window.open(" TSReminder.aspx ",null,"height= 340,width=640,s tatus=no,toolba r=no,menubar=no ,location=no");
window.open er = win;
self.close( );
}

window.onlo ad = OpenWin;
---------------------------------

In your PageLoad do
---------------------------------
Page.Register StartupScritps( Me.Type, [StringScript], True)
---------------------------------

I'm not sure if this kind of script is a good practice in developing
web, I thought that is a weird action to user

:open a browser wndow:shows another one:closes the opener window

Some situations like yours could easily be fired by this piece of mess
up with window pointers.
Jul 12 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
18716
by: Irvin Amoraal | last post by:
Process: I have a form which uploads a file from client to server written in PHP. When the user presses the submit button, I use the "onSubmit" event to execute javascript to open a child window containing some text and an animated GIF. The javascript returns 'True' and the file is uploaded. All of that works great. Problem: Now I am trying to close the child window after the file has been uploaded. Below is the JavaScript I'm using:
3
5194
by: Steve | last post by:
Hi, I have a nice little script that works well displaying images on my website. It's a script where if you clik a thumbnail image a pop up window opens that contains a larger version of the same image. What I would like to create is a link that can be clicked on to close the window that contains the larger image. This would make it easier for the users to close the window. I have posted the script that I use. Any help would be much...
3
1974
by: Asit | last post by:
<META HTTP-EQUIV="expires" content="0"> <META HTTP-EQUIV="pragma" content="no-cache"> <html> <head> <title>Fidelity NetBenefits</title> </head> <body BGCOLOR="#ffffff"> <script LANGUAGE="JavaScript">
4
3755
by: webdev | last post by:
Hi, I have an application built for the education market in which I open popup windows containing ASP scripts which when the user clicks the 'Update' button, the database is updated and the window loads a confirmation message along with a 'Close this window' link. All has gone well in the early stages of testing, but I've now come across a problem where a number (a considerable number) of users seem to be incapable of clicking in the...
7
3226
by: E Michael Brandt | last post by:
I have been lurking here for some time, and now would like to ask a question of you clever coders: My JustSo PictureWindow 3 Extension for Dreamweaver has stumbled in the face of the new Opera 8. Jspw3 opens a popup window (using varname=window.open(...)) but there are now two problems: 1) Opera8 interprets a top,left of 0,0 to be top left of the browser window rather than of the entire screen, unlike the other modern browsers I've...
8
5653
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var popWindow=window.open('http://www.yahoo.com','','width=600,height=400,toolbar=1,location=1,menubar=1,resizable=1,titlebar=1,directories=1,status=1,scrollbars=1'); the sidebars are disabled. I click on the buttons for bookmarks and history and they do nothing. I...
10
38003
by: Shang Wenbin | last post by:
Hi, When I want to close the current window using window.close() in IE6.0, there will be a confirm box that: The web page you are viewing is trying to close the window. Do you want to close this window? I have to click yes to close the window. How can I close the current window directly without this dialog box? Thank you.
14
2778
by: Paul | last post by:
Hi I have 2 functions in java script, one opens a second window-this works, the other is supposed to close this second window, does not seem to be working. Just wondering if anyone had any ideas. Here is the code, the functions are <script language="javascript"> function openwin(){ win_usr=window.open ("control_numinfo.aspx") } function closewin(){
7
5827
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed to be two techniques for earlier versions. But the window.opener='' ;window.close(); and the window.open('','_parent','') ;window.close(); techniques do not work for me. I.e., I still get confirmation message
0
8888
marktang
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...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
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...
0
9113
tracyyun
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...
1
6702
isladogs
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...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
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
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.