Opened 11 years ago

Closed 6 years ago

#6312 closed enhancement (patchwelcome)

LightBox should be an option for the dojox.image.Gallery

Reported by: guest Owned by: dante
Priority: high Milestone: 1.9
Component: Dojox Version: 1.0
Keywords: dojox, image, gallery, lightbox Cc:
Blocked By: Blocking:

Description (last modified by dante)

dojox.image.Gallery really needs some more options for the linkAttr.

1) Using dojox.image.LightBox? should be an option for handling the linkAttr. This tigher integration makes a lot of sense I think....

2) Additionally, it would be nice to be able to specify any js function as the link target. Something like onclick.... I tried using javascript:alert('test') as the linkAttr, but it still opens a new tab because of the target="_blank" code.

Change History (5)

comment:1 Changed 11 years ago by Adam Peller

Owner: changed from Adam Peller to dante

comment:2 Changed 11 years ago by bill

Milestone: tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

comment:3 Changed 11 years ago by dante

Description: modified (diff)
Milestone: tbdfuture

this is possible now, just not automatically. pushing to future pending a SlideShow? change coming.

comment:4 in reply to:  3 Changed 8 years ago by Jovanovic

Replying to dante:

this is possible now, just not automatically. pushing to future pending a SlideShow? change coming.

Hi, i try to remove "_target" attribute on <a> element to execute js function in same page that open a lightbox but i can't do. I searched to use subscribe or event and get children when image changing but nothing event do this.

comment:5 Changed 6 years ago by dylan

Milestone: future1.9
Resolution: patchwelcome
Status: newclosed

Given the time this has been open, I'm closing it, and setting the status to patch welcome. We would gladly consider a patch.

Note: See TracTickets for help on using tickets.