Opened 10 years ago

Closed 6 years ago

#9383 closed enhancement (invalid)

[patch] [cla] Slideshow Widget Fullscreen Image support

Reported by: David Leonardi Owned by: David Leonardi
Priority: high Milestone: future
Component: DojoX Widgets Version: 1.3.0
Keywords: slideshow, dynamicscale, dojox.image.slideshow Cc:
Blocked By: Blocking:

Description (last modified by bill)

Included is a modification of the slideshow widget to support fullscreen image support. It features a new mode, "dynamicscale" , which enables fullscreen support of images if properly used, along with some minor modifications.

CSS still needs some attention, but another patch will be released shortly to fix a problem which arises in firefox and makes the container of the slideshow 100% width of the body.

Example usage of fullscreen mode, programmatically:

var slideshow = new dojox.image.SlideShow({
				startwidth: 1440,
				startHeight: 900,
				slideShowInterval: 10,
				loop: true,
				imageLargeAttr: "unescapedUrl",
				autoLoad: true,
				id: 'defaultslideshow',
				autoStart: false,
				dynamicScale: true
				}).placeAt(dojo.body());
		
			
			dojo.style(dijit.byId("defaultslideshow").domNode, {
				"position": "absolute",
				"left": "0px",
				"top": "0px",
				"width": "100%",
				"height": "100%",
				"text-align": "left",
				"margin": "0px",
				"padding": "0px",
				"z-index": "-1",
				"border": "none"
				});

Attachments (5)

SlideShow.css (3.0 KB) - added by David Leonardi 10 years ago.
SlideShow.html (883 bytes) - added by David Leonardi 10 years ago.
buttons.png (1.6 KB) - added by David Leonardi 10 years ago.
buttons.gif (1.2 KB) - added by David Leonardi 10 years ago.
SlideShow.js (21.9 KB) - added by David Leonardi 9 years ago.
Updated fullscreen algorithm

Download all attachments as: .zip

Change History (14)

Changed 10 years ago by David Leonardi

Attachment: SlideShow.css added

Changed 10 years ago by David Leonardi

Attachment: SlideShow.html added

Changed 10 years ago by David Leonardi

Attachment: buttons.png added

Changed 10 years ago by David Leonardi

Attachment: buttons.gif added

comment:2 Changed 10 years ago by dante

Owner: changed from dante to Shane O'Sullivan

comment:3 Changed 9 years ago by Jared Jurkiewicz

You may want to take a look at dijit._editor.plugins.FullScreen? and dojox.widget.Standby. Both include support for going 'fullscreen' (Full viewport of browser window). You can probably swipe said code.

comment:4 Changed 9 years ago by bill

Milestone: tbd1.5
Summary: Slideshow Widget Fullscreen Image support[patch] [cla] Slideshow Widget Fullscreen Image support

Marking as 1.5 to clear TBD tickets from 1.4 list.

comment:5 Changed 9 years ago by bill

Description: modified (diff)

Changed 9 years ago by David Leonardi

Attachment: SlideShow.js added

Updated fullscreen algorithm

comment:6 Changed 9 years ago by David Leonardi

@jaredj : IMO the code used in the widgets you suggested not necessarley the best. To any extent, what both of them share IS the fact that they both use dijit.getviewport() .

I've updated that chunk of code to be much simpler and added a feauture which autocenters the image each time it is scaled.

If any further tweaks are necessary, ill be happy to provide them, but i'd be happy to see this enter trunk sometimes :)

comment:7 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:8 Changed 8 years ago by bill

Milestone: 1.6future

(sadly) punting seemingly abandoned ticket and meta tickets to future

comment:9 Changed 6 years ago by Kitson Kelly

Owner: changed from Shane O'Sullivan to David Leonardi
Status: newpending

I am afraid this component is abandoned by the developer and the patch is stale. If you are still interested in the patch, if you could submit something against trunk and we can look at looking on applying it.

comment:10 Changed 6 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.