Home > Web Front-end > HTML Tutorial > 做了个A标签指向iframe,出了点问题,觉得是缓存问题_html/css_WEB-ITnose

做了个A标签指向iframe,出了点问题,觉得是缓存问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:46:20
Original
1345 people have browsed it

<a href="iframe/gong.html" target="Riframe" tabindex="1">公司简介</a><a href="iframe/xiang.html" target="Riframe" tabindex="3">项目合作</a><iframe name="Riframe" height="350px;" width="100%" scrolling="no" frameborder="0" src='iframe/gong.html' >            </iframe>
Copy after login

我点公司简介和项目合作都好使,但是再点一次就不显示了。比如说我进入页面点了一下项目合作的链接,iframe里显示了项目合作的内容,再点击公司简介也正常...,  但我再次点项目合作时,iframe就什么都不显示了,再点回公司简介,也什么都不显示,刷新一下都好用,就是说点一次好使,我觉得是 缓存问题。想问问怎么解决?


回复讨论(解决方案)

缓存也不至于不显示吧?因该是显示旧的东西吧?
看看有没有报错  貌似没遇到过

晕,有时候好使有时候就不好使

.....   我这里一切正常..

HTML没问题

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template