473,854 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

window.opener.l ocation.reload( )

I have a page that opens a popup window and within the window, some databse
info is submitted and the window closes. It then refreshes the original
window using window.opener.l ocation.reload( ). The problem is that after the
reload, it brings you right to the top of the page. When I click 'refresh"
on the original page, it brings me back to the original viewing position.
Is there a way to duplicate this in from the popup window.

Also, is there a way to run window.opener.l ocation.reload( ) when the popup
window is closed using the X in the upper right hand corner? Thanks!

Darren
Jul 23 '05 #1
19 31091
I haven't tried it between windows, but theoretically, you could capture
the document.body.s crollLeft and document.body.s crollTop (the one you
really need) values from the main window, reload and force those values
back to what they were before the reload.

So:

$pageoffset = document.body.s crollTop;
window.opener.l ocation.reload( );
window.opener.d ocument.body.sc rollTop = $pageoffset;

For your second question, technically the window.onunload event should
give you the event handle you need. However, browser implementations and
aggressive settings to avoid popunders have rendered this event much
less reliable than it might have been in a utopian world where JS wasn't
abused for intrusive advertising.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
I have a page that opens a popup window and within the window, some databse
info is submitted and the window closes. It then refreshes the original
window using window.opener.l ocation.reload( ). The problem is that after the
reload, it brings you right to the top of the page. When I click 'refresh"
on the original page, it brings me back to the original viewing position.
Is there a way to duplicate this in from the popup window.

Also, is there a way to run window.opener.l ocation.reload( ) when the popup
window is closed using the X in the upper right hand corner? Thanks!

Darren

Jul 23 '05 #2
Thanks for the reply. Unfortunately I am fairley new to javascript. Could
you expand on your answer a little. Where exactly would I put this code?
Thanks!
"J Wynia" <jw****@speakea sy.net> wrote in message
news:BL******** ************@sp eakeasy.net...
I haven't tried it between windows, but theoretically, you could capture
the document.body.s crollLeft and document.body.s crollTop (the one you
really need) values from the main window, reload and force those values
back to what they were before the reload.

So:

$pageoffset = document.body.s crollTop;
window.opener.l ocation.reload( );
window.opener.d ocument.body.sc rollTop = $pageoffset;

For your second question, technically the window.onunload event should
give you the event handle you need. However, browser implementations and
aggressive settings to avoid popunders have rendered this event much less
reliable than it might have been in a utopian world where JS wasn't abused
for intrusive advertising.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
I have a page that opens a popup window and within the window, some
databse info is submitted and the window closes. It then refreshes the
original window using window.opener.l ocation.reload( ). The problem is
that after the reload, it brings you right to the top of the page. When
I click 'refresh" on the original page, it brings me back to the original
viewing position. Is there a way to duplicate this in from the popup
window.

Also, is there a way to run window.opener.l ocation.reload( ) when the
popup window is closed using the X in the upper right hand corner?
Thanks!

Darren

Jul 23 '05 #3
First, put the code for your whole "close this window" process, which
will give you something like this:

function close_this_wind ow(){
$pageoffset = document.body.s crollTop;
window.opener.l ocation.reload( );
window.opener.d ocument.body.sc rollTop = $pageoffset;
window.close();
}

That function goes inside a script tag in your <head> tags.

Then, on your <body> tag, you'll attach your function to the "onunload"
event as well as to the "onclick" event of a button. For the body
instance of it, the last line of the function is useless, but lets you
use the same function for manual closing as well as accidental or
toolbar closing.

<body onunload="close _this_window(); ">

<button onclick="close_ this_window();" >Close Window</button>

This is all untested, so it may not work perfectly.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
Thanks for the reply. Unfortunately I am fairley new to javascript. Could
you expand on your answer a little. Where exactly would I put this code?
Thanks!
"J Wynia" <jw****@speakea sy.net> wrote in message
news:BL******** ************@sp eakeasy.net...
I haven't tried it between windows, but theoretically, you could capture
the document.body.s crollLeft and document.body.s crollTop (the one you
really need) values from the main window, reload and force those values
back to what they were before the reload.

So:

$pageoffset = document.body.s crollTop;
window.opener .location.reloa d();
window.opener .document.body. scrollTop = $pageoffset;

For your second question, technically the window.onunload event should
give you the event handle you need. However, browser implementations and
aggressive settings to avoid popunders have rendered this event much less
reliable than it might have been in a utopian world where JS wasn't abused
for intrusive advertising.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
I have a page that opens a popup window and within the window, some
databse info is submitted and the window closes. It then refreshes the
original window using window.opener.l ocation.reload( ). The problem is
that after the reload, it brings you right to the top of the page. When
I click 'refresh" on the original page, it brings me back to the original
viewing position. Is there a way to duplicate this in from the popup
window.

Also, is there a way to run window.opener.l ocation.reload( ) when the
popup window is closed using the X in the upper right hand corner?
Thanks!

Darren


Jul 23 '05 #4
I put all this code in the popup window. Everything works except for the
scroll position. Do I need to pass the scroll position from the parent
window to the popup somehow?

"J Wynia" <jw****@speakea sy.net> wrote in message
news:ws******** ************@sp eakeasy.net...
First, put the code for your whole "close this window" process, which will
give you something like this:

function close_this_wind ow(){
$pageoffset = document.body.s crollTop;
window.opener.l ocation.reload( );
window.opener.d ocument.body.sc rollTop = $pageoffset;
window.close();
}

That function goes inside a script tag in your <head> tags.

Then, on your <body> tag, you'll attach your function to the "onunload"
event as well as to the "onclick" event of a button. For the body instance
of it, the last line of the function is useless, but lets you use the same
function for manual closing as well as accidental or toolbar closing.

<body onunload="close _this_window(); ">

<button onclick="close_ this_window();" >Close Window</button>

This is all untested, so it may not work perfectly.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
Thanks for the reply. Unfortunately I am fairley new to javascript.
Could you expand on your answer a little. Where exactly would I put this
code? Thanks!
"J Wynia" <jw****@speakea sy.net> wrote in message
news:BL******** ************@sp eakeasy.net...
I haven't tried it between windows, but theoretically, you could capture
the document.body.s crollLeft and document.body.s crollTop (the one you
really need) values from the main window, reload and force those values
back to what they were before the reload.

So:

$pageoffse t = document.body.s crollTop;
window.opene r.location.relo ad();
window.opene r.document.body .scrollTop = $pageoffset;

For your second question, technically the window.onunload event should
give you the event handle you need. However, browser implementations and
aggressive settings to avoid popunders have rendered this event much less
reliable than it might have been in a utopian world where JS wasn't
abused for intrusive advertising.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:

I have a page that opens a popup window and within the window, some
databse info is submitted and the window closes. It then refreshes the
original window using window.opener.l ocation.reload( ). The problem is
that after the reload, it brings you right to the top of the page. When
I click 'refresh" on the original page, it brings me back to the
original viewing position. Is there a way to duplicate this in from the
popup window.

Also, is there a way to run window.opener.l ocation.reload( ) when the
popup window is closed using the X in the upper right hand corner?
Thanks!

Darren



Jul 23 '05 #5
Since you said you're learning, I'll try to explain rather than just
give you the fix. If it still doesn't make sense, reply and I'll give
you the fixed line.

There was a bug in the function. If you look at the first line inside
the function, and compare the DOM address (the document.body.. . part) to
the DOM address in the 3rd line, you should see the problem.

The 3rd line is setting the opener document's scroll location. However,
the first one isn't getting the scroll location from the opener
document's scroll location. Rather it's getting it from the current
document, which in this case, is the popup.

So, nothing needs to be passed per-se. It's just that the popup is
fetching the scroll location from the wrong place (mostly because I
wasn't thinking about the 2 window portion when I typed up the line to
get the scrolling info.

Darren wrote:
I put all this code in the popup window. Everything works except for the
scroll position. Do I need to pass the scroll position from the parent
window to the popup somehow?

"J Wynia" <jw****@speakea sy.net> wrote in message
news:ws******** ************@sp eakeasy.net...
First, put the code for your whole "close this window" process, which will
give you something like this:

function close_this_wind ow(){
$pageoffset = document.body.s crollTop;
window.opener .location.reloa d();
window.opener .document.body. scrollTop = $pageoffset;
window.close( );
}

That function goes inside a script tag in your <head> tags.

Then, on your <body> tag, you'll attach your function to the "onunload"
event as well as to the "onclick" event of a button. For the body instance
of it, the last line of the function is useless, but lets you use the same
function for manual closing as well as accidental or toolbar closing.

<body onunload="close _this_window(); ">

<button onclick="close_ this_window();" >Close Window</button>

This is all untested, so it may not work perfectly.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
Thanks for the reply. Unfortunately I am fairley new to javascript.
Could you expand on your answer a little. Where exactly would I put this
code? Thanks!
"J Wynia" <jw****@speakea sy.net> wrote in message
news:BL***** *************** @speakeasy.net. ..
I haven't tried it between windows, but theoretically, you could capture
the document.body.s crollLeft and document.body.s crollTop (the one you
really need) values from the main window, reload and force those values
back to what they were before the reload.

So:

$pageoffs et = document.body.s crollTop;
window.open er.location.rel oad();
window.open er.document.bod y.scrollTop = $pageoffset;

For your second question, technically the window.onunload event should
give you the event handle you need. However, browser implementations and
aggressiv e settings to avoid popunders have rendered this event much less
reliable than it might have been in a utopian world where JS wasn't
abused for intrusive advertising.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
>I have a page that opens a popup window and within the window, some
>databse info is submitted and the window closes. It then refreshes the
>original window using window.opener.l ocation.reload( ). The problem is
>that after the reload, it brings you right to the top of the page. When
>I click 'refresh" on the original page, it brings me back to the
>original viewing position. Is there a way to duplicate this in from the
>popup window.
>
>Also, is there a way to run window.opener.l ocation.reload( ) when the
>popup window is closed using the X in the upper right hand corner?
>Thanks!
>
>Darren

Jul 23 '05 #6
Darren wrote:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.l ocation.reload( ). The problem is that after the reload, it brings you right to the top of the page. When I click 'refresh" on the original page, it brings me back to the original viewing position. Is there a way to duplicate this in from the popup window.

Also, is there a way to run window.opener.l ocation.reload( ) when the popup window is closed using the X in the upper right hand corner? Thanks!

Darren


Here are three demo files that offer a possible solution.
Testing is up to you.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">

body {
font: 120% bold monospace;
}

</style>
<script type="text/javascript">

var subwin = null;
function open_subwin()
{
subwin = window.open(
'subwin.html',
'subwin',
'left=200,top=2 00,' +
'width=240,heig ht=200,' +
'status,scrollb ars,resizable'
);
if (subwin && !subwin.closed)
subwin.focus();
}

function saveYpos()
{
var y_scroll =
window.pageYOff set ?
pageYOffset :
document.docume ntElement
&& 'undefined' != typeof document.docume ntElement.scrol lTop ?
document.docume ntElement.scrol lTop :
document.body ?
document.body.s crollTop :
null;
if (y_scroll)
window.name = 'YSCROLL@' + y_scroll;
window.location .reload(true);
}

window.onload = function(m)
{
if (m = window.name.mat ch(/YSCROLL@(\d+)/))
window.scrollTo (0, m[1] || 0);
window.name = '';
}

</script>
</head>
<body>
<form style="padding: 1200px 0;">
-1<br>-2<br>-3<br>-4<br>-5<br>-6<br>-7<br>-8<br>-9<br><br>
<input
type="button"
value="add data"
onclick="open_s ubwin()">
</form>
</body>
</html>

[subwin.html]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">

body {
margin: 50px 10px;
}

</style>
<script type="text/javascript">

window.onunload = function()
{
if (opener
&& !opener.closed
&& opener.saveYpos )
{
opener.saveYpos ();
}
}

</script>
</head>
<body>
<form
action="f_actio n.html"
method="post"
onsubmit="windo w.onunload=null ">
<input
type="text"
name="newdata"
value="new data">
<input
type="submit"
value="done">
</form>
</body>
</html>

[f_action.html]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">

if (opener
&& !opener.closed
&& opener.saveYpos )
{
opener.saveYpos ();
}
self.close();

</script>
</head>
<body>
</body>
</html>

Jul 23 '05 #7
I changed the third line to window.opener.d ocument.body.sc rollTop =
$pageoffset;

and this still does not scroll back to the original position. Sorry for the
trouble!

Darren

"J Wynia" <jw****@speakea sy.net> wrote in message
news:Rf******** ************@sp eakeasy.net...
Since you said you're learning, I'll try to explain rather than just give
you the fix. If it still doesn't make sense, reply and I'll give you the
fixed line.

There was a bug in the function. If you look at the first line inside the
function, and compare the DOM address (the document.body.. . part) to the
DOM address in the 3rd line, you should see the problem.

The 3rd line is setting the opener document's scroll location. However,
the first one isn't getting the scroll location from the opener document's
scroll location. Rather it's getting it from the current document, which
in this case, is the popup.

So, nothing needs to be passed per-se. It's just that the popup is
fetching the scroll location from the wrong place (mostly because I wasn't
thinking about the 2 window portion when I typed up the line to get the
scrolling info.

Darren wrote:
I put all this code in the popup window. Everything works except for the
scroll position. Do I need to pass the scroll position from the parent
window to the popup somehow?

"J Wynia" <jw****@speakea sy.net> wrote in message
news:ws******** ************@sp eakeasy.net...
First, put the code for your whole "close this window" process, which
will give you something like this:

function close_this_wind ow(){
$pageoffse t = document.body.s crollTop;
window.opene r.location.relo ad();
window.opene r.document.body .scrollTop = $pageoffset;
window.close ();
}

That function goes inside a script tag in your <head> tags.

Then, on your <body> tag, you'll attach your function to the "onunload"
event as well as to the "onclick" event of a button. For the body
instance of it, the last line of the function is useless, but lets you
use the same function for manual closing as well as accidental or toolbar
closing.

<body onunload="close _this_window(); ">

<button onclick="close_ this_window();" >Close Window</button>

This is all untested, so it may not work perfectly.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:

Thanks for the reply. Unfortunately I am fairley new to javascript.
Could you expand on your answer a little. Where exactly would I put
this code? Thanks!
"J Wynia" <jw****@speakea sy.net> wrote in message
news:BL**** *************** *@speakeasy.net ...
>I haven't tried it between windows, but theoretically, you could
>capture the document.body.s crollLeft and document.body.s crollTop (the
>one you really need) values from the main window, reload and force
>those values back to what they were before the reload.
>
>So:
>
>$pageoffse t = document.body.s crollTop;
>window.ope ner.location.re load();
>window.ope ner.document.bo dy.scrollTop = $pageoffset;
>
>For your second question, technically the window.onunload event should
>give you the event handle you need. However, browser implementations
>and aggressive settings to avoid popunders have rendered this event
>much less reliable than it might have been in a utopian world where JS
>wasn't abused for intrusive advertising.
>
>-------------------------------------
>J Wynia
>Myriad Intellect, Inc.
>"Web technology that earns its keep."
>www.myriadintellect.com
>-------------------------------------
>
>Darren wrote:
>
>
>>I have a page that opens a popup window and within the window, some
>>databse info is submitted and the window closes. It then refreshes
>>the original window using window.opener.l ocation.reload( ). The
>>problem is that after the reload, it brings you right to the top of
>>the page. When I click 'refresh" on the original page, it brings me
>>back to the original viewing position. Is there a way to duplicate
>>this in from the popup window.
>>
>>Also, is there a way to run window.opener.l ocation.reload( ) when the
>>popup window is closed using the X in the upper right hand corner?
>>Thanks!
>>
>>Darren

Jul 23 '05 #8
You need to change the 1st line, not the 3rd. In general, you're trying
to ask the original page just how far down it's currently scrolled,
saving that number, doing your other stuff, and, when you close your
popup window reload the original page and move it back to where it was.
So, you need to make sure it's fetching the original location before
anything else will work.

Darren wrote:
I changed the third line to window.opener.d ocument.body.sc rollTop =
$pageoffset;

and this still does not scroll back to the original position. Sorry for the
trouble!

Darren

"J Wynia" <jw****@speakea sy.net> wrote in message
news:Rf******** ************@sp eakeasy.net...
Since you said you're learning, I'll try to explain rather than just give
you the fix. If it still doesn't make sense, reply and I'll give you the
fixed line.

There was a bug in the function. If you look at the first line inside the
function, and compare the DOM address (the document.body.. . part) to the
DOM address in the 3rd line, you should see the problem.

The 3rd line is setting the opener document's scroll location. However,
the first one isn't getting the scroll location from the opener document's
scroll location. Rather it's getting it from the current document, which
in this case, is the popup.

So, nothing needs to be passed per-se. It's just that the popup is
fetching the scroll location from the wrong place (mostly because I wasn't
thinking about the 2 window portion when I typed up the line to get the
scrolling info.

Darren wrote:
I put all this code in the popup window. Everything works except for the
scroll position. Do I need to pass the scroll position from the parent
window to the popup somehow?

"J Wynia" <jw****@speakea sy.net> wrote in message
news:ws***** *************** @speakeasy.net. ..
First, put the code for your whole "close this window" process, which
will give you something like this:

function close_this_wind ow(){
$pageoffs et = document.body.s crollTop;
window.open er.location.rel oad();
window.open er.document.bod y.scrollTop = $pageoffset;
window.clos e();
}

That function goes inside a script tag in your <head> tags.

Then, on your <body> tag, you'll attach your function to the "onunload"
event as well as to the "onclick" event of a button. For the body
instance of it, the last line of the function is useless, but lets you
use the same function for manual closing as well as accidental or toolbar
closing.

<body onunload="close _this_window(); ">

<button onclick="close_ this_window();" >Close Window</button>

This is all untested, so it may not work perfectly.

-------------------------------------
J Wynia
Myriad Intellect, Inc.
"Web technology that earns its keep."
www.myriadintellect.com
-------------------------------------

Darren wrote:
>Thanks for the reply. Unfortunately I am fairley new to javascript.
>Could you expand on your answer a little. Where exactly would I put
>this code? Thanks!
>
>
>"J Wynia" <jw****@speakea sy.net> wrote in message
>news:BL*** *************** **@speakeasy.ne t...
>
>
>
>>I haven't tried it between windows, but theoretically, you could
>>capture the document.body.s crollLeft and document.body.s crollTop (the
>>one you really need) values from the main window, reload and force
>>those values back to what they were before the reload.
>>
>>So:
>>
>>$pageoffs et = document.body.s crollTop;
>>window.op ener.location.r eload();
>>window.op ener.document.b ody.scrollTop = $pageoffset;
>>
>>For your second question, technically the window.onunload event should
>>give you the event handle you need. However, browser implementations
>>and aggressive settings to avoid popunders have rendered this event
>>much less reliable than it might have been in a utopian world where JS
>>wasn't abused for intrusive advertising.
>>
>>-------------------------------------
>>J Wynia
>>Myriad Intellect, Inc.
>>"Web technology that earns its keep."
>>www.myriadintellect.com
>>-------------------------------------
>>
>>Darren wrote:
>>
>>
>>
>>>I have a page that opens a popup window and within the window, some
>>>databs e info is submitted and the window closes. It then refreshes
>>>the original window using window.opener.l ocation.reload( ). The
>>>proble m is that after the reload, it brings you right to the top of
>>>the page. When I click 'refresh" on the original page, it brings me
>>>back to the original viewing position. Is there a way to duplicate
>>>this in from the popup window.
>>>
>>>Also, is there a way to run window.opener.l ocation.reload( ) when the
>>>popup window is closed using the X in the upper right hand corner?
>>>Thanks !
>>>
>>>Darren
>
>


Jul 23 '05 #9
Darren wrote:
I changed the third line to window.opener.d ocument.body.sc rollTop =
$pageoffset;

and this still does not scroll back to the original position. Sorry for the trouble!

Darren


Read *all* responses, please!

If you're not going to, kindly make that clear up front
so people won't waste their time trying to help you...

Rob

Jul 23 '05 #10

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

Similar topics

3
4590
by: sentinel | last post by:
Hi all, I'm trying to reload a frame from a pop-up, but really cannot figure this out. Within my index.htm file, I make a link to call a pop-up frame with a javascript function that calls the following code from an external javascript source file, dynamically created with PHP document.write('<a href="javascript:void(0);"
1
11120
by: Debbie Davis | last post by:
Hi there, I'm not very good at javascript but I'm using the following to close a child window and refresh a parent window after updating a database. It's within an ASP page. CODE <SCRIPT> function CloseWindow() { if (window.opener && !window.opener.closed) { window.opener.document.location.reload(); window.close();
2
5104
by: Snolly | last post by:
Hi all, Here is my issue. I have a web page (lets call it page1) with an iframe in it that then opens a pop-up window (page2). The pop-up window is used to edit some data that was loaded into page1 so I want to use onunload to reload page1 to keep the data synchronized. At first I was using just window.opener.parent.location = window.opener.parent.location;
2
3484
by: alex bazan | last post by:
I'm popping a window to a page with a different dns than the parent, and i want the opener's location reloaded when this window is closed. With Mozilla it seems that all the opener's methods and properties are protected because the dns are different. A security exception (permission denied) is thrown every time i try to exec an "opener.location.reload()" from the pop up window. An alternative would be catching the window closing from...
5
2866
by: Hemanth | last post by:
Hello there, I'm running a script that opens a popup window (which is basically a form with checkboxes and a submit button). When I click the submit button I want to run a PHP script and target the result to main page (I mean, update the parent page). My popup form looks like this: <form name="form1" action="run.php" method="get" target="???">
2
23517
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent window to open a child window thru javascript window.open 2) I have some functionality in the child window that changes the data
3
6341
by: Dan M | last post by:
Is it possible to redirect or refresh the contents of Page1 from within Page2 where Page2 was opened by Page1?
1
3642
by: JJ | last post by:
Hi All, How in ASP.NET, from PopUp window: 1) - save Data in Database; and after 2) a) - Reload the opener window b) -close PopYp window. Note:
7
24555
by: Raffi | last post by:
I'm facing a tricky (at least for me) page reload/refresh scenario and need some help. I'm working on a web application which is primarily used with MSIE. The application has a main window with an i-frame in it. The i-frame contains various dynamic links for opening data entry popups. One of these popups has a couple of i-frames itself. These i-frames also have links to scripts which make changes to a server side database. I need for...
0
9899
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
9750
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,...
0
11024
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...
1
10740
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,...
0
9510
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7909
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
7076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5937
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4149
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.