通用的 createPopup() 替代品?

A universal createPopup() replacement?(通用的 createPopup() 替代品?)

本文介绍了通用的 createPopup() 替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Currently createPopup() is only supported in IE (See http://help.dottoro.com/ljsxcrhv.php).

Is there a universal createPopup() replacement? Or is conditional code required based on browser detection?

Hopefully, I am looking for something that not only provides the same functionality, but has the same interface or at least could provide the ingredients to create createPopup() clone without too much work.

解决方案

You may want to look at some of the JavaScript libraries out there. Things like Dojo, Yahoo UI, or JQuery can help to encapsulate most of the browser-specific headaches. For example, with Dojo, take a look at http://dojotoolkit.org/api/. This would get you similar functionality to createPopup().

这篇关于通用的 createPopup() 替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:通用的 createPopup() 替代品?

基础教程推荐