|
|
|
|
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
|
|
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309 |
Hello. I need to find a way to make a page refresh when you click a link. Can anyone help me? Thanks. 
|
|
|
|
|
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.
|
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
|
Coder
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 <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>
|
|
|
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.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 1336
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 3
|
|
|
|
|
|