Previous Thread
Next Thread
Print Thread
Rate Thread
#109558 11/20/2002 11:52 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
Hello. smile

I need to find a way to make a page refresh when you click a link. Can anyone help me? laugh

Thanks. thumbsup

Sponsored Links
#109559 11/20/2002 11:54 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Code
<a href="javascript:window.reload()">Refresh</a>
That should work. Most browsers will just pull the page out of the cache again, however, so a larger function that adds a random query string (to throw off the caching) might be needed.


UBB.classic: Love it or hate it, it was mine.
#109560 11/22/2002 7:37 PM
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Non-JavaScript way...

Refresh or redirect someone depends on what URL you use. Just set the numeric value to something higher otherwise it will auto refresh wink

Code
<html>
<head>
<title>Hostboard Re-director</title>
<meta http-equiv="refresh" content="3;url=http://www.hostboard.com/cgi-bin/ultimatebb.cgi">
</head>
<body>
The page you requested does not exist.
Hold on while we transport you back to an
active Hostboard page or you can click
<a href="http://www.hostboard.com/cgi-bin/ultimatebb.cgi"><b>HERE</a></b>
if you are not automaticly re-directed.
</body>
</html>

#109561 11/23/2002 12:11 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
Quote
quote:
Originally posted by 1QuickSI:
Non-JavaScript way...
Not quite. It would actually be something like what Charles was talking about, i.e. http://www.domain.com/page_to_refresh.html?acufd37fdjef84fjef


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)