重定向和刷新html页面,从其他页面onclick图像

时间:2014-06-26 15:44:24

标签: javascript html telerik

我正在Telerik工具中构建移动应用程序。在页脚上我放置了一些像

这样的图标

联系人,群组,聊天等。当我点击页脚图标时,它重定向正常。我遇到了问题

重定向页面后,它不会自动刷新。需要刷新(模拟器

刷新按钮 - Telerik工具。)

<div class="nav" data-id="oneFooter" id="page-location-footer" data-position="fixed">
            <ul data-role="listview">
                <li>
                    <table>
                        <tr>
                            <td width="35%">
                            <a href="contacts.html">
                                    <img src="images/user.png" alt="Smiley face"  
width="40" height="40">
                                </a>
                            </td>
                            <td width="35%">
                                <a href="groups.html">
                                    <img src="images/images.jpg" alt="Smiley face" 
width="40" height="40">
                                </a>
                            </td>
                          <td width="35%">
                                <a href="metext.html">
                                    <img src="images/chat.png" alt="Smiley face" 
width="40" height="40">
                                </a>
                            </td>
                            <td width="35%">
                                <a href="social.html">
                                    <img src="images/images1.jpg" alt="Smiley face" 
width="40" height="40">
                                </a>
                            </td>
                        </tr>
                    </table>
                </li>
            </ul>
        </div>

所以我需要的是从页面重定向页面到其他页面的图像并获取

刷新重定向的页面。

请务必做......

1 个答案:

答案 0 :(得分:0)

Use the http-equiv meta tag with a refresh value.

(你暗示重定向工作正常的问题,所以我不接触它。)

要让刷新只发生一次,而不是连续一次,你可以在if语句中使用javascript reload(),这取决于HTTP referer [sic] header的值。

相关问题