Closed Bug 506740 Opened 16 years ago Closed 16 years ago

Write a JEP for jetpack.panels

Categories

(Mozilla Labs :: Jetpack Prototype, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: avarma, Assigned: aza)

References

()

Details

jetpack.panels should allow authors to create an opaque "pop-up panel" or "pop-up window" that hovers an IFRAME over existing content. The IFRAME should be able to be anchored to any major visible part of the browser, such as a status bar panel or a web page element.
Priority: -- → P1
Target Milestone: 0.5 → 0.6
Assignee: nobody → aza
Target Milestone: 0.6 → 0.5
jetpack.panel window = open() open({ anchor: DOMElement/none // If none, then screen. top/left/right/bottom: int // If none, then either center of screen, or under mouse. Also, in relation to the anchor element. width: int height: int, transient: true(bool) // If false, will close when you click outside of it/escape key is pressed restoreFocus: true(bool) //When the panel is closed, refocus last thing takeFocus: true(bool) / Currently focused element will be unfocused whenever the popup is opened or closed, url: blah, html: blah, style: inline CSS/link to CSS file }); window.contentDocument window.contentWindow window.close() window.hide() window.show() https://developer.mozilla.org/en/XUL/PopupGuide/Panels https://developer.mozilla.org/en/XUL/PopupGuide/OpenClose https://developer.mozilla.org/en/XUL/PopupGuide/Positioning
Aza, Can you post as a JEP and close this bug? Thanks!
Aza wrote the initial version of this JEP <https://wiki.mozilla.org/Labs/Jetpack/JEP/23>. I'm now updating and revising in the process of planning and executing the implementation over in bug 494238. But although the document will change significantly over the course of the revision process, I think the original intent of this bug has been satisfied, so resolving it.
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.