Home  >  Article  >  Web Front-end  >  求问:HTML网页 如何实现点击上方导航栏,下面内容变动?就是说点击导航栏,只变动页面中间,其他不动_html/css_WEB-ITnose

求问:HTML网页 如何实现点击上方导航栏,下面内容变动?就是说点击导航栏,只变动页面中间,其他不动_html/css_WEB-ITnose

不言
不言Original
2018-05-18 11:00:546073browse


HTML网页 如何实现点击上方导航栏,下面内容变动?就是说点击导航栏,只变动页面中间,其他不动  
好比说中间jsp:include

回复讨论(解决方案)

中间页面弄个iframe~把导航栏的target设成那个iframe的name/id

中间页面弄个iframe~把导航栏的target设成那个iframe的name/id  
我是超级薪水,请问怎么把导航栏的target?怎么设?

用frame,iframe或ajax技术都行

引用 1 楼 agul_ 的回复:  
中间页面弄个iframe~把导航栏的target设成那个iframe的name/id  
我是超级薪水,请问怎么把导航栏的target?怎么设?  
a元素的target属性  
假设

引用 2 楼 chikk 的回复:  
引用 1 楼 agul_ 的回复:  
中间页面弄个iframe~把导航栏的target设成那个iframe的name/id  
我是超级薪水,请问怎么把导航栏的target?怎么设?  
 
a元素的target属性  
假设

这个得用js了吧

3Q.....我或许有些明白了= =.

Statement:
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