homepage Welcome to WebmasterWorld Guest from 54.197.183.230
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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

5+ Year Member



 
Msg#: 4151548 posted 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

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4151548 posted 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

5+ Year Member



 
Msg#: 4151548 posted 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

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4151548 posted 11:48 pm on Jun 12, 2010 (gmt 0)

Does this happen on all browsers?

myrrh

5+ Year Member



 
Msg#: 4151548 posted 12:06 am on Jun 13, 2010 (gmt 0)

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

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4151548 posted 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

WebmasterWorld Senior Member penders us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4151548 posted 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