|
| |
|
|
spikejr
Posts: 115 Joined: 2/22/2003 From: Tallahassee, FL Status: offline
|
" back" hyperlink - 4/1/2003 14:13:01
How do I make a " back" hyperlink? Something like (history(-1)). I want to type text that says back, and when it is clicked, the browser goes back. Thanks, Steven
_____________________________
TempoHosting.com
|
|
|
|
HomerBohn
Posts: 101 From: Montgomery Village, MD, USA Status: offline
|
RE: " back" hyperlink - 4/1/2003 14:33:36
for the URL, use javascript:history.back() you can put the number 1 in the brackets, but i' ve used it like this and it does fine... code would look like this... <a href=" javascript:history.back()" >back</a>
_____________________________
Bohnzie Making easy HTML tasks seem impossible since 1979
|
|
|
|
gskywalkers
Posts: 357 Joined: 3/11/2003 Status: offline
|
RE: " back" hyperlink - 4/1/2003 14:35:18
try this code. It acts like the browser back button. <p align=" center" ><input type=" button" value=" Back" onclick=" history.go(-1)" > Just put the cursor where you want it in normal view and then switch to html view and insert the code.
|
|
|
|
spikejr
Posts: 115 Joined: 2/22/2003 From: Tallahassee, FL Status: offline
|
RE: " back" hyperlink - 4/1/2003 14:49:15
Ok, i got it to do what I want it to do. I have a confirmation page that automatically redirects back to where it came from. See it here http://www.tallyzone.com/Restaurants/americancafe.asp BUT, does anybody know how to make it refresh on load. Because now once it is rated, it goes back, but to a non-refreshed page. Try it, then hit refresh and see the rating change.
< Message edited by spikejr -- 4/1/2003 5:04 PM >
_____________________________
TempoHosting.com
|
|
|
|
HomerBohn
Posts: 101 From: Montgomery Village, MD, USA Status: offline
|
RE: " back" hyperlink - 4/1/2003 17:51:50
try this...found this script at javascript.internet.com <SCRIPT LANGUAGE=" JavaScript" > document.write(' <form><input type=button value=" Refresh" onClick=" history.back()" ></form>' ) </script> not sure if it' ll work...here' s the link for the original script so you can toy around with it... http://javascript.internet.com/buttons/refresh-button.html
_____________________________
Bohnzie Making easy HTML tasks seem impossible since 1979
|
|
|
|
spikejr
Posts: 115 Joined: 2/22/2003 From: Tallahassee, FL Status: offline
|
RE: " back" hyperlink - 4/1/2003 19:01:15
Thanks to all thus far. I got it to do half of what I want it to do. I am going to work on incorporating it all in one eventually. -Steven
_____________________________
TempoHosting.com
|
|
|
|
thecharacterguy
Posts: 15 Joined: 9/6/2003 Status: offline
|
RE: " back" hyperlink - 9/6/2003 18:13:03
You can set a meta tags to refresh at settable intervals. <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/"> tells the browser to load http://www.htmlhelp.com/ 10 seconds after the current document has finished loading. Not all browsers support this, so authors should provide an alternate means of moving to the new page where necessary. The Refresh header is sometimes used for "splash screens" or when a page has moved, but the technique is not very effective since users may not even be looking at the window that is to be refreshed and since it messes up the user's history on many browsers. Some search engines penalize pages that use a Refresh of a few seconds or less. - Greetings all from Lakelands in Gaithersburg MD
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|