homepage Welcome to WebmasterWorld Guest from 54.227.89.236
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
"Back" button not grayed out
when new window opens
myrrh




msg:4151550
 3:46 am on Jun 12, 2010 (gmt 0)

I've noticed recently on at least two different sites when I arrive on those sites in a new browser window (as when I click on a link in an email), the "Back" button is not grayed out as it traditionally has been. Clicking on the Back button in those situations takes me to another page on that site (i.e. the home page).

How is this done?

 

tedster




msg:4151574
 6:21 am on Jun 12, 2010 (gmt 0)

My first suspicion is <link rel="prev" href="page.html"> in the <head> - not sure about that, however.

myrrh




msg:4151823
 11:43 pm on Jun 12, 2010 (gmt 0)

My first suspicion is <link rel="prev" href="page.html"> in the <head> - not sure about that, however.


I tried that and it did not work.

tedster




msg:4151827
 11:48 pm on Jun 12, 2010 (gmt 0)

Does this happen on all browsers?

myrrh




msg:4151829
 12:06 am on Jun 13, 2010 (gmt 0)

I have only Firefox and IE and it does not happen on IE.

kaled




msg:4151924
 12:44 pm on Jun 13, 2010 (gmt 0)

Most likely it's a javascript redirect...

location.replace() should be used and will ensure that the back button remains gray, however, if location.href is assigned instead, the back button will be enabled.

Opera may behave differently - I haven't checked for years but it certainly used to.

Kaled.

penders




msg:4151934
 1:41 pm on Jun 13, 2010 (gmt 0)

Most likely it's a javascript redirect...


Yes, I would also guess that it was some kind of redirect. Is the URL in the link that you click on different to the URL that you ultimately end up at?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved