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
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
<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
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

<title>Hostboard Re-director</title>
<meta http-equiv="refresh" content="3;url=">
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=""><b>HERE</a></b>
if you are not automaticly re-directed.

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

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
Visit us on Facebook
Member Spotlight
Posts: 69
Joined: January 2001
Forum Statistics
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
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
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
isaac 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2023 VNC Web Services

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