Click to See Complete Forum and Search --> : can refresh web page when user clicks on link?


Storm897
01-03-2001, 02:02 AM
Is there a HTML command for refresh?

when the user clicks on a link. I want the current page to refresh.

META tags won't do this.
Java reload() doens't work with netscape.

IS there and HTML REFRESH commmand to make a link that refreshes current page?

------------------
HardwareOC.com (http://www.hardwareoc.com)

DO NOT CLICK HERE! (http://www.omid.org/funny/creepy2.html)

Klashe
01-03-2001, 04:10 PM
Originally posted by Storm897:
Is there a HTML command for refresh?

when the user clicks on a link. I want the current page to refresh.

META tags won't do this.
Java reload() doens't work with netscape.

IS there and HTML REFRESH commmand to make a link that refreshes current page?



Just a question. Why do you want to do that anyways? Most browsers supply a fully functional Refresh/Reload button.



------------------
Happiness is...

P3-800 o/c to 896 GeForce 2 MX SB mp3 5.1
Klipsch ProMedias 2.400 30 gigger Viewsonic 19"

Grizzly
01-03-2001, 04:56 PM
Since javascript's reload doesn't wet your whistle, than the only "cheezball" HTML way of doing that in my mind would be to do the following.

The page that you want to be able to do this in....
Make 2 copies of it. For example:
index.html
index2.html
They're exactly the same, just different names. have a link between them called "refresh" which will link between them ,lol. This is pretty silly, and I can't see it serving any purpose.

I am curious, what's the use of this "refresh" button you want to make without Javascript? Why not instruct someone to reload the page?

Storm897
01-03-2001, 06:03 PM
I have a CGI script that gets random pictures from a folder. Each time the page is refreshed the script is called and a random picture is displayed. Simple right? The problem with this is that it works in IE but not in NETSCAPE !!! big problem if you want to cater to everyone. the java reload command doesnt' work in netscape only IE. When you hit the refresh button at the top of screen it still does not work in netscape only in IE.
However, when you use the meta tag REFRESH command it works in nestcape and IE. But i can't run the meta tag because i don't want to keep refreshing indefinately, i only want to refresh when a user click on a link. This means that everytime the user clicks on the NEXT link i want the page to refresh.

Is there anyway to do this besides the java command which don't work on NETSCAPE?
------------------
HardwareOC.com (http://www.hardwareoc.com)

DO NOT CLICK HERE! (http://www.omid.org/funny/creepy2.html)

[This message has been edited by Storm897 (edited January 03, 2001).]