Jump to content


Photo

Refreshing Browser


  • Please log in to reply
3 replies to this topic

#1 Ratna

Ratna

    Newbie

  • Members
  • Pip
  • 39 posts

Posted 19 March 2006 - 05:54 AM

Hello friends,

How can we refresh browser ?(for example in each minute ,second etc)?
I hope, a lot of experts will answer me.

Thanks
PROGRAMMERS ARE ARTISTS

#2 kbroka

kbroka

    Good things come to those who wait...

  • National Committee
  • PipPipPip
  • 283 posts

Posted 19 March 2006 - 08:12 AM

QUOTE(Ratna @ Mar 19 2006, 11:24 AM) View Post

Hello friends,

How can we refresh browser ?(for example in each minute ,second etc)?
I hope, a lot of experts will answer me.

Thanks


Hello,

You want to set your browser to refresh every time or you want to make pages like auto referesh in each second or minute ? anyway here is details:

To auto referesh in browser, You can include following script in the pages.

<script>
function refreshPeriodic()
{
// Reload the page every 10 seconds
location.reload();
timerID = setTimeout("refreshPeriodic()",10000);
}
timerID = setTimeout("refreshPeriodic()",10000);
</SCRIPT>

To set your browser to refresh every time or every visit (in the standard browsers):

Netscape Navigator:

1. From the Edit menu, select Preferences.
2. In the Category list on the left, double-click Advanced.
3. Select Cache.
4. Under Document in Cache is Compared to Document on Network, select Every Time.
5. Select OK to close the dialog box.


Internet Explorer:

1. From the Tools menu, select Internet Options.
2. Under Temporary Internet Files, select Settings.
3. Under Check for newer versions of stored pages, select Every visit to the page.
4. Select OK to close the dialog box.


KB Roka
(Web Developer)
www.wnso.org.np
www.kbroka.com
Email: wnsonepal@gmail.com

#3 Ratna

Ratna

    Newbie

  • Members
  • Pip
  • 39 posts

Posted 19 March 2006 - 02:06 PM

QUOTE(kbroka @ Mar 19 2006, 08:12 AM) View Post

QUOTE(Ratna @ Mar 19 2006, 11:24 AM) View Post

Hello friends,

How can we refresh browser ?(for example in each minute ,second etc)?
I hope, a lot of experts will answer me.

Thanks


Hello,

You want to set your browser to refresh every time or you want to make pages like auto referesh in each second or minute ? anyway here is details:

To auto referesh in browser, You can include following script in the pages.

<script>
function refreshPeriodic()
{
// Reload the page every 10 seconds
location.reload();
timerID = setTimeout("refreshPeriodic()",10000);
}
timerID = setTimeout("refreshPeriodic()",10000);
</SCRIPT>

To set your browser to refresh every time or every visit (in the standard browsers):

Netscape Navigator:

1. From the Edit menu, select Preferences.
2. In the Category list on the left, double-click Advanced.
3. Select Cache.
4. Under Document in Cache is Compared to Document on Network, select Every Time.
5. Select OK to close the dialog box.


Internet Explorer:

1. From the Tools menu, select Internet Options.
2. Under Temporary Internet Files, select Settings.
3. Under Check for newer versions of stored pages, select Every visit to the page.
4. Select OK to close the dialog box.







#########################################

Thanks Roka ji,
I got my solutions.
I am very begineer on JavaScript.
Would u give me some instructions for designing clock using javascript.

Hope, u will help me again.

Thanks.
PROGRAMMERS ARE ARTISTS

#4 kbroka

kbroka

    Good things come to those who wait...

  • National Committee
  • PipPipPip
  • 283 posts

Posted 20 March 2006 - 09:00 AM

QUOTE(Ratna @ Mar 19 2006, 07:36 PM) View Post

QUOTE(kbroka @ Mar 19 2006, 08:12 AM) View Post

QUOTE(Ratna @ Mar 19 2006, 11:24 AM) View Post

Hello friends,

How can we refresh browser ?(for example in each minute ,second etc)?
I hope, a lot of experts will answer me.

Thanks


Hello,

You want to set your browser to refresh every time or you want to make pages like auto referesh in each second or minute ? anyway here is details:

To auto referesh in browser, You can include following script in the pages.

<script>
function refreshPeriodic()
{
// Reload the page every 10 seconds
location.reload();
timerID = setTimeout("refreshPeriodic()",10000);
}
timerID = setTimeout("refreshPeriodic()",10000);
</SCRIPT>

To set your browser to refresh every time or every visit (in the standard browsers):

Netscape Navigator:

1. From the Edit menu, select Preferences.
2. In the Category list on the left, double-click Advanced.
3. Select Cache.
4. Under Document in Cache is Compared to Document on Network, select Every Time.
5. Select OK to close the dialog box.


Internet Explorer:

1. From the Tools menu, select Internet Options.
2. Under Temporary Internet Files, select Settings.
3. Under Check for newer versions of stored pages, select Every visit to the page.
4. Select OK to close the dialog box.







#########################################

Thanks Roka ji,
I got my solutions.
I am very begineer on JavaScript.
Would u give me some instructions for designing clock using javascript.

Hope, u will help me again.

Thanks.


For clock using javascript you can go with this link: http://www.dynamicdr.../dynamicindex6/ I hope you will get there lot of JavaScript code with demos.

Welcome...........
KB Roka
(Web Developer)
www.wnso.org.np
www.kbroka.com
Email: wnsonepal@gmail.com




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users