CodeCruncher Posted May 28, 2007 Share Posted May 28, 2007 Hi all I'm new to to forum and to PHP. I have a small site written in PHP I'm getting a lot of complaints from my users that when they use the back button on there browser that it doesn't take them to the same spot on the page. It takes them back to the top of the page then they have to scroll down and find where they where at. How do I solve this issue is there some code to hold a marker or tag? or would this even be handled with PHP Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/ Share on other sites More sharing options...
redarrow Posted May 28, 2007 Share Posted May 28, 2007 why does the user have to use the back button in the first place? Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/#findComment-263406 Share on other sites More sharing options...
Wildbug Posted May 28, 2007 Share Posted May 28, 2007 Aren't users wonderful? Do you use refresh code, a no-cache pragma, or anything else that might reload the page every time it's visited? Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/#findComment-263409 Share on other sites More sharing options...
CodeCruncher Posted May 28, 2007 Author Share Posted May 28, 2007 Because I have multiple pages. My users are not Internet savvy so I need to make things as easy for them as possible. So if they like using the back button then I need to make it work for them. Besides that I use the back button all the time and i get angry when a site I'm on will do the same thing. It is very frustrating trying to find the spot you where at after going back. So can anyone help me with this issue?? Thanks for any help Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/#findComment-263410 Share on other sites More sharing options...
CodeCruncher Posted May 28, 2007 Author Share Posted May 28, 2007 Aren't users wonderful? Do you use refresh code, a no-cache pragma, or anything else that might reload the page every time it's visited? The only thing I can think of that would reload the page are the ad's EDIT----------------------------------------------------------------------------------- I noticed that on this site when I hit the back button I go back to the very same spot how is that handled? Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/#findComment-263414 Share on other sites More sharing options...
Wildbug Posted May 28, 2007 Share Posted May 28, 2007 Do they report what browser they're using? (Probably not.) If you're not doing anything out of the ordinary to reload the page (and it might be the ad code), then the problem is their browser, and they'll need to find one that works the way they expect it to. Quote Link to comment https://forums.phpfreaks.com/topic/53300-help-needed-with-code-to-hold-marker-for-back-buttion/#findComment-263417 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.