473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Display given URL in a popup and refresh every n seconds

I have the below script which ll display a box to accept url and time.
I need to add some code to it so that it should open the accepted url in a popup and display it every n seconds given as input.

appreciate ur help, Thanks

[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Free Automatic Page Refresher - Refresh All Live Internet Content Easily</TITLE>
<META NAME="Description" CONTENT="Refresh live internet or refresh auction urls content and auctions with this auto automatic update page refresher.">
<SCRIPT LANGUAGE="javascript" SRC="nav.js"></SCRIPT>
</HEAD>

<BODY BGCOLOR="#cccccc" leftmargin=2 topmargin=2>
<form>
<table cellpadding=0 cellspacing=0 border=0>
<tr><td style="font-family: verdana; font-size: 10px;">
Url:<input type="text" id="urlid" style="font-family: verdana; font-size: 10px;" size=75>
Refresh<input type="text" id="refreshid" size=3 style="font-family: verdana; font-size: 10px;"> secs</b>
<input type="button" id="view" value="Start" style="font-family: verdana; font-size: 10px;" onClick="viewPage(); return false;">
<input type="button" id="view" value="Stop" style="font-family: verdana; font-size: 10px;" onClick="stop(); return false;">
Display Countdown<input type="checkbox" checked id="dc" value="Disp" onClick="displayCountdown();">
</td></tr></table>
</font>
</form>

</BODY>
</HTML>[/HTML]
Sep 6 '07 #1
1 1743
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

Please use a good thread title. Also remember to use code tags when posting code. Thanks!

To open a popup, use window.open(). To reload the page, use location.reload. You will need to set intervals for the refresh. For that, use window.setInterval().

Make an attempt. If you get stuck. post your code here.
Sep 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Roy Chastain | last post by:
I have a aspx web page that is a long running task (1 - 2 min's). I would like to display an actual progress such as X out of Y items processed. I assume that the correct way to start about this...
2
by: Joe Shum | last post by:
Hi All: I am pretty new at ASP.NET development. Currently I need to build a Web Server app using C# and ASP.NET to automatically and repeatly refresh data changes at fixed intervals (2 to 30...
0
by: Brad White | last post by:
Overview: I have a custom web app that has an 'Inbox' that refreshes every 30 seconds. One user uses Outlook to host the web page. Using IE, the refresh works fine. If the user is working in...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
8
by: Grzegorz | last post by:
Hi! my problem: I open a pop-up window and try to refresh it contents every 30 seconds. the code below works in Firefox browser but in IE i get Permission Denied error. any suggestions how to...
18
by: Auto | last post by:
Hello, I would like to know how do display an image into a Gridview (ASP.NET 2.0) taken directly from a DataBase, NOT using an URL, like described in this article: ...
10
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
2
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.