Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Control Back Button for certain frame

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-13-07, 23:56
johnnysc johnnysc is offline
Registered User
 
Join Date: Nov 2004
Posts: 28
Control Back Button for certain frame

I have a website in PHP that has 2 frames, I main frame with all content and a bottom frame with a music player. I use frames because as people navigate through the site i dont want the player to have to reload, as it's streaming music. The only problem with this is on the player.php page i have a drop down which changes the station of the player. If i were to change channels which reloads the page and executes the right station and then click on a link in the main page everything works fine. But if i were to hit the back button twice the player will get reloaded.

My question is there some sort of php code or any code that will control what the browser back button controls. I only want it to control the main frame and not handle the bottom frame at all.
Reply With Quote
  #2 (permalink)  
Old 04-16-07, 06:59
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 734
Unfortunately you cannot control browser history. When you go back it will reload the whole page and thus reload all the frames (as it should). Do you have an example of this website so we can see what is happening?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On