将网页定位到特定网页的新窗口 [英] Target web page to new window for specific web page

查看:98
本文介绍了将网页定位到特定网页的新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在一个网站上工作.我有一个印度页面,我也有相同的菜单.我想打开所有针对新窗口的菜单Web链接.我的意思是,当我访问印度页面时,所有菜单链接都定位到新窗口.这意味着除了印度页面之外,我还应定位到同一窗口.

我需要帮助.怎么可能?

任何形式的链接,建议和特别的专家建议都将受到高度赞赏.


谢谢与问候,
Balkrishna Raut


I am working on a web site. i have an india page and i have menu for the same. i want to open all my menu web links targeted to new window. i mean when i am accessing india page my all menu links targeted to new window. That means other than india page i should targeted to same window.

i need help. how it is possible?

Any kind of link, suggestion and specially expert advice would be highly appreciated.


Thanks & Regards,
Balkrishna Raut

推荐答案


将服务器端控件用于导航,即超链接.并在代码中检查值是否为India(如果值是India),然后分配目标运行时.
假设代码是
< asp:超链接id ="abc" .... =" xmlns:asp =#unknown">
然后在代码中
abc.target ="_ Blank";

其他
abc.target ="_ self";

use the server side control for the navigatino i.e. hyperlink. and in code check the value is India or not if the value is India then assign the target runtime.
suppose the code is
<asp:hyperlink id="abc" ....="" xmlns:asp="#unknown">
then in code
abc.target="_Blank";

else
abc.target="_self";


这些链接可能对您有帮助
RESPONSE.REDIRECT INTO新窗口
新窗口
These links may helps you
RESPONSE.REDIRECT INTO A NEW WINDOW
NEW Window


这篇关于将网页定位到特定网页的新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆