如何通过单击“我的页面”中的“帮助”按钮来显示虚拟页面? [英] How Do I Display A Dummy Page By Clicking On Help Button In My Page?
本文介绍了如何通过单击“我的页面”中的“帮助”按钮来显示虚拟页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请发布有关的代码,当我点击我的菜单中的帮助时,如何显示虚拟页面....我想在mvc4项目中实现它..
解决方案
< ul
< span class =code-attribute> < li > < a href = # > 主页< / a > < / li >
< li > < a href = # > 产品< / a > < / li >
< li < span class =code-keyword>> < a href = https://www.google.com target = 容器 > 帮助< / a > < / li >
< / ul >
< iframe 名称 = 容器 > < / iframe >
你需要设置名称属性为iframe的anchor标签的target属性值
Please post the code regarding, how can i display a dummy page when i clicked on help which is present in my menu.... i want to implement it in mvc4 project..
解决方案<ul <li><a href="#">Home</a></li> <li><a href="#">Product</a></li> <li><a href="https://www.google.com" target="container">Help</a></li> </ul> <iframe name="container"></iframe>
You need to set the "target" attribute value of "anchor" tag with the name attribute of "iframe"
这篇关于如何通过单击“我的页面”中的“帮助”按钮来显示虚拟页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文