English 中文(简体)
Yahoo UI the popup implementation with YAHOO.widget.Dialog
原标题:
  • 时间:2009-11-19 02:36:01
  •  标签:
  • yui

I used the Yahoo.widget.dialog to implement a popup window. Currently, it popups only on the page which is belongs. If I am working on the other (tab browser) pages. The popup window will be not seen.Could somebody supply some help for this ?Thanks

问题回答

You could either switch to window.alert() or use window.open() to open a new pop-up window containing your content.

Neither one is something I d personally want to experience, but those are your two options for opening a pop-up outside the page. Window.open will get caught by many pop-up blockers so you ll need to watch for that.





相关问题
YUI "Get" utility to parse JSON response?

The documentation page for the YUI "Get" utility says: Get Utility is ideal for loading your own scripts or CSS progressively (lazy-loading) or for retrieving cross-domain JSON data from ...

(YUI uploader) listeners not fiering events

I m trying to use YUI uploader, but I m not able to open the file dialog window when I click the browse button. I m following (more or less) the example on Yahoos demo. Here is my HTML code: <div ...

Make table rows sortable with YUI

Currently I have a table similar to below: <table id="tbl"> <thead> <tr><th>Example Title</th><th>Title2</th></tr> </thead> &...

Yahoo UI the popup implementation with YAHOO.widget.Dialog

I used the Yahoo.widget.dialog to implement a popup window. Currently, it popups only on the page which is belongs. If I am working on the other (tab browser) pages. The popup window will be not seen....

Error on YUI Anim sample

I m getting an error when trying to emulate an YUI Anim sample: <script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script> <script> YUI().use( anim-base , ...

YUI onDragDrop multiple listeners

I was wondering if anyone was aware of an example that shows multiple listeners to the YUI DDProxy, DD, or DDTarget onDragDrop event. Currently I have a hacked up example going. I m using the http://...

热门标签