jquery/jquery-mobile — Issue #2670: Page transition/hash go to the wrong page
Author: PokerChang
Created: 2011-10-11 19:00:47+00:00
State: open

This bug repros on both latest and rc1. I have two file x.html and y.html. x.html contains a page called X. y.html contains a page called Y and Z. X has a hyperlink to Y. Y has a hyper link to Z. If I hit y.html directly, the link to Z works as expected. However if I hit x.html first, I can follow the link to Y. But link to Z will go back to X instead of Z! Before I click the link, the browser shows the link as "y.html#z" which is expected. When I click the link, the address bar becomes "x.html#z". I am guessing JQM is doing some magic to transform the url to the base page.

Let me know if I am doing anything wrong. Thanks!

x.html

```html

Go To Y

```

y.html

```html

Open Z

This is Z

Close

```