English 中文(简体)
在html,甚至在使用其他浏览器时,如何在互联网上打开一个新的窗口?
原标题:in html, how to open a new window in IE even when using other browser?
  • 时间:2012-01-12 03:42:47
  •  标签:
  • html
  • browser
<a   href="http://192.168.1.1" 
onclick="Popup=window.open( http://192.168.1.1 , Popup , toolbar=no,location=no,directories=
no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=300,left=300,top=23 ); 
return false;" > 
<button type="button">button</button></a> 

If i m browser this page in firefox, it pop up a new window in firefox when i click button. if in chrome, then it pop up in chrome.

What if i want the pop up window always open in IE even when im browser this page in other browser? Thanks!

问题回答

浏览器不能启动其他方案,除非安装了假肢。

你可以这样做。 它打破了沙箱模式——幼.、火ox等,在一个安全沙箱中执行,它能够做许多事情。 它可以将文件保存到硬盘上(恶意密码可能超出你的办公室),因为它可以公开任意起诉或启动程序(恶意守则可能产生病毒/恶意)。 Java没有能力这样做。

如前所述,浏览器不能在没有花钱或类似功能的情况下启动其他方案。

I think your best bet is to detect IE on the other page. I don t believe there s a way to force IE. You could provide the link for them to easily copy and paste into IE, such as in a text box that is fully selected when they click in it.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签