#9469 closed defect (fixed)
[dojox.image] LightboxNano should work programatically
Reported by: | dante | Owned by: | cb1kenobi |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Dojox | Version: | 1.3.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
as discussed in #dojo, it would be great if a LightboxNano? could act as a generic "popup" for images. Currently (1.3) it requires existing markup during construction. The use case would be using an existing delegated click/UI mechanism, and showing a LightboxNano? from some passed image url originating from some passed node. As one lightbox is only ever showing at once, a single lightbox instance could be used for all existing links on a page (current api) as well as handle the singleton creation.
Attachments (1)
Change History (6)
Changed 12 years ago by
Attachment: | prog-nano.patch added |
---|
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.4 |
---|
Attached is a patch which adds this ability, maintains back compat, and only adds a handful of bytes. One public API exposed show
, with inline docs. Does exactly as I need, would love to see this land in 1.4. please review.
comment:3 Changed 12 years ago by
Status: | new → assigned |
---|
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
same as previous patch but with documentation for the show() function