Home > Web Front-end > HTML Tutorial > html框架里的站内搜索_html/css_WEB-ITnose

html框架里的站内搜索_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:39:09
Original
1568 people have browsed it










   有几百个html网页,放在首页的框架里。框架左边是网页名右边是网页,点击左边的网页名右边就显示相对应的网页。
    现在想在这个首页加一个功能,就是可以搜索某个网页名或者页内文字,点击搜索结果后仍然在首页,以框架的方式显示出来。请问应该怎样做?有适合的模板可以共享下吗 ?















    

回复讨论(解决方案)

在首页框架中加一个input搜索框和一个点击按钮就可以了。

将target设置为iframe的name就会在iframe中显示搜索结果

上楼的方法正确。

Related labels:
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