Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

page detection sort of

9:31 am on May 11, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 21, 2011
posts: 59
votes: 0

Hi .
not sure if this is the right place but here goes.

on my web site i can gain direct access to page 'B' or go in via page 'A' now what i would like to achieve is that when hitting the home button on page 'B' if it was opened direct go to page 'A' or if it was opend from page 'A' return to page 'A' when page 'B' is opened from page 'A' it is opened in a new window by the way so the return to page'A' would be a simple window close

Thanks pete .
9:02 pm on May 11, 2011 (gmt 0)

Senior Member

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

joined:May 26, 2000
votes: 0

There's no way to accomplish that with HTML - it would take scripting and cookies, and probably dependence on the browser's referrer string too, and that is notoriously undependable.

Not sure what you hope to achieve with such complex logic, but my advice would be not to try. The "Home" link on a website is like an essential beacon for navigation the site architecture and your visitors need the experience to be consistent