Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JQuery移动站点导致奇怪的URL结果_Jquery_Url_Mobile - Fatal编程技术网

JQuery移动站点导致奇怪的URL结果

JQuery移动站点导致奇怪的URL结果,jquery,url,mobile,Jquery,Url,Mobile,我正在使用Dreamweaver的一个模板创建一个JQuery移动站点。在主索引页面上,我有一些页面指向子索引,还有几个直接URL 列表中有两个URL: <li><a href="./about-morningside-recovery/">Learn More About Us</a></li> <!-- page redirect --> <li><a href="./morningside-staff/"&

我正在使用Dreamweaver的一个模板创建一个JQuery移动站点。在主索引页面上,我有一些页面指向子索引,还有几个直接URL

列表中有两个URL:

<li><a href="./about-morningside-recovery/">Learn More About Us</a></li>    <!-- page redirect -->
<li><a href="./morningside-staff/">Meet Our Staff</a></li>                  <!-- page redirect -->
通往正确的目的地

http://www.morningsiderecovery.com/mobile-05-08-12/about-morningside-recovery/
第二个,当单击时,会导致以下伪造url,无法解析并将我发送到默认主页:

http://www.morningsiderecovery.com/mobile-05-08-12/#/mobile-05-08-12/morningside-staff/
在IE、Chrome、Firefox(PC)和Safari(Mac和iPhone版本)中,我得到了完全相同的行为

有人知道为什么会发生这种情况吗?我怎样才能让它停止?这个让我完全困惑

非常感谢


Jim Y.

尝试删除
href
->
href=“/about morningside recovery/”
http://www.morningsiderecovery.com/mobile-05-08-12/#/mobile-05-08-12/morningside-staff/