473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Reload webpage

How can I make my website to load other web page when user hits browser back button ?
Dec 23 '07 #1
10 1984
Markus
6,050 Expert 4TB
How can I make my website to load other web page when user hits browser back button ?
Pretty much impossible... especially with HTML and CSS.

Could you explain a little more please?

thanks.
Dec 23 '07 #2
drhowarddrfine
7,435 Expert 4TB
Not just pretty much. The back button is controlled by the browser program and you have no access to it.
Dec 23 '07 #3
Markus
6,050 Expert 4TB
Better get making your own browser then ;)
Dec 23 '07 #4
Thanks for replies,

In fact I want to offer random photos if user checks one of linked categories then decides to come back master page for daily shots using back button not reloading link, before they leave website.
Dec 23 '07 #5
and let me know if I can change page using by some thing like refresh.
Dec 23 '07 #6
Death Slaught
1,137 1GB
Actaully.......in JavaScript you can create a function that when the user clicks a button or whatever you have the onClick attribute on. It will take the user back to the very last page visited.

If that's what you're looking for ask over in the JavaScript forum.

Thanks, Death
Dec 24 '07 #7
Markus
6,050 Expert 4TB
Actaully.......in JavaScript you can create a function that when the user clicks a button or whatever you have the onClick attribute on. It will take the user back to the very last page visited.

If that's what you're looking for ask over in the JavaScript forum.

Thanks, Death
i think (s)he is asking exclusively for the back button supplied by the browser.
Dec 24 '07 #8
i think (s)he is asking exclusively for the back button supplied by the browser.
Yes, just back button :)
Dec 26 '07 #9
Death Slaught
1,137 1GB
I relized that, I was simply giving another option.

Thanks, Death
Dec 26 '07 #10
Markus
6,050 Expert 4TB
Yes, just back button :)
Well, unfortunately it's impossible to prevent them from using it.
Dec 27 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: nao | last post by:
Hi all! I am aware that this question might involve Javascript and MySQL. So far I haven´t found a suitable solution in JavaScript ng´s - maybe becauese php-programmers are more likely to come...
66
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. ...
1
by: Emmanuel | last post by:
Hi, I use a 'reload all' feature in my app, that allow to reload every module. I first try this version : import sys def Reload():
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
4
by: Lonnie Princehouse | last post by:
So, it turns out that reload() fails if the module being reloaded isn't in sys.path. Maybe it could fall back to module.__file__ if the module isn't found in sys.path?? .... or reload could...
4
by: Stefan Mueller | last post by:
I've a webpage with a dynamically created table. If the user presses F5, clicks on the reload button, ... the webpage reloads and the dynamically created table will be resetted. Is there something...
3
by: John Salerno | last post by:
I understand that after you import something once, you can reload it to pick up new changes. But does reload work with from statements? I tried this: from X import * and then did my testing....
1
by: Rob | last post by:
I know this is an old one, considering how many posts I found on it but I just wondered if any best practises had popped up recently, especially as Ajax has increased JavaScript and DHTML's...
14
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I tried a google search but could not find anything. I am trying to cause one webpage to reload when a second web page is closed. The second webpage loads data into a session variable and when...
0
by: Rafe | last post by:
Hi, This seems to be an old question, and I've read back a bit, but rather than assume the answer is "you can't do that", I'd thought I'd post my version of the question along with a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.