From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/image/tests/images.json | 32 +++++ includes/js/dojox/image/tests/images/extraWide.jpg | Bin 0 -> 49250 bytes includes/js/dojox/image/tests/images/huuuge.png | Bin 0 -> 37958 bytes .../js/dojox/image/tests/images/imageHoriz.jpg | Bin 0 -> 47693 bytes .../js/dojox/image/tests/images/imageHoriz2.jpg | Bin 0 -> 77176 bytes includes/js/dojox/image/tests/images/imageVert.jpg | Bin 0 -> 71533 bytes includes/js/dojox/image/tests/images/spanke.jpg | Bin 0 -> 302741 bytes includes/js/dojox/image/tests/images/square.jpg | Bin 0 -> 82010 bytes includes/js/dojox/image/tests/test_Gallery.html | 67 +++++++++++ includes/js/dojox/image/tests/test_Lightbox.html | 105 ++++++++++++++++ includes/js/dojox/image/tests/test_Magnifier.html | 98 +++++++++++++++ .../js/dojox/image/tests/test_MagnifierLite.html | 91 ++++++++++++++ includes/js/dojox/image/tests/test_SlideShow.html | 68 +++++++++++ .../js/dojox/image/tests/test_ThumbnailPicker.html | 134 +++++++++++++++++++++ 14 files changed, 595 insertions(+) create mode 100644 includes/js/dojox/image/tests/images.json create mode 100644 includes/js/dojox/image/tests/images/extraWide.jpg create mode 100644 includes/js/dojox/image/tests/images/huuuge.png create mode 100644 includes/js/dojox/image/tests/images/imageHoriz.jpg create mode 100644 includes/js/dojox/image/tests/images/imageHoriz2.jpg create mode 100644 includes/js/dojox/image/tests/images/imageVert.jpg create mode 100644 includes/js/dojox/image/tests/images/spanke.jpg create mode 100644 includes/js/dojox/image/tests/images/square.jpg create mode 100644 includes/js/dojox/image/tests/test_Gallery.html create mode 100644 includes/js/dojox/image/tests/test_Lightbox.html create mode 100644 includes/js/dojox/image/tests/test_Magnifier.html create mode 100644 includes/js/dojox/image/tests/test_MagnifierLite.html create mode 100644 includes/js/dojox/image/tests/test_SlideShow.html create mode 100644 includes/js/dojox/image/tests/test_ThumbnailPicker.html (limited to 'includes/js/dojox/image/tests') diff --git a/includes/js/dojox/image/tests/images.json b/includes/js/dojox/image/tests/images.json new file mode 100644 index 0000000..bd0cf96 --- /dev/null +++ b/includes/js/dojox/image/tests/images.json @@ -0,0 +1,32 @@ +{ items: [ + { + "thumb":"images/extraWide.jpg", + "large":"images/extraWide.jpg", + "title":"I'm wide, me", + "link":"http://www.flickr.com/photos/44153025@N00/748348847" + }, + { + "thumb":"images/imageHoriz.jpg", + "large":"images/imageHoriz.jpg", + "title":"I'm a horizontal picture", + "link":"http://www.flickr.com/photos/44153025@N00/735656038" + }, + { + "thumb":"images/imageHoriz2.jpg", + "large":"images/imageHoriz2.jpg", + "title":"I'm another horizontal picture", + "link":"http://www.flickr.com/photos/44153025@N00/714540483" + }, + { + "thumb":"images/imageVert.jpg", + "large":"images/imageVert.jpg", + "title":"I'm a vertical picture", + "link":"http://www.flickr.com/photos/44153025@N00/715392758" + }, + { + "large":"images/square.jpg", + "thumb":"images/square.jpg", + "link" :"images/square.jpg", + "title":"1:1 aspect ratio" + } +]} \ No newline at end of file diff --git a/includes/js/dojox/image/tests/images/extraWide.jpg b/includes/js/dojox/image/tests/images/extraWide.jpg new file mode 100644 index 0000000..2161825 Binary files /dev/null and b/includes/js/dojox/image/tests/images/extraWide.jpg differ diff --git a/includes/js/dojox/image/tests/images/huuuge.png b/includes/js/dojox/image/tests/images/huuuge.png new file mode 100644 index 0000000..ee98a39 Binary files /dev/null and b/includes/js/dojox/image/tests/images/huuuge.png differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz.jpg b/includes/js/dojox/image/tests/images/imageHoriz.jpg new file mode 100644 index 0000000..3948416 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageHoriz.jpg differ diff --git a/includes/js/dojox/image/tests/images/imageHoriz2.jpg b/includes/js/dojox/image/tests/images/imageHoriz2.jpg new file mode 100644 index 0000000..fbbf404 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageHoriz2.jpg differ diff --git a/includes/js/dojox/image/tests/images/imageVert.jpg b/includes/js/dojox/image/tests/images/imageVert.jpg new file mode 100644 index 0000000..1652338 Binary files /dev/null and b/includes/js/dojox/image/tests/images/imageVert.jpg differ diff --git a/includes/js/dojox/image/tests/images/spanke.jpg b/includes/js/dojox/image/tests/images/spanke.jpg new file mode 100644 index 0000000..ec95fb0 Binary files /dev/null and b/includes/js/dojox/image/tests/images/spanke.jpg differ diff --git a/includes/js/dojox/image/tests/images/square.jpg b/includes/js/dojox/image/tests/images/square.jpg new file mode 100644 index 0000000..9094d5a Binary files /dev/null and b/includes/js/dojox/image/tests/images/square.jpg differ diff --git a/includes/js/dojox/image/tests/test_Gallery.html b/includes/js/dojox/image/tests/test_Gallery.html new file mode 100644 index 0000000..320c481 --- /dev/null +++ b/includes/js/dojox/image/tests/test_Gallery.html @@ -0,0 +1,67 @@ + + + + + Testing the Image Gallery + + + + + + + + + + + + + + + + + +

dojox.image.Gallery

+ +

From FlickrRestStore:

+
+ + + + + diff --git a/includes/js/dojox/image/tests/test_Lightbox.html b/includes/js/dojox/image/tests/test_Lightbox.html new file mode 100644 index 0000000..15b34c8 --- /dev/null +++ b/includes/js/dojox/image/tests/test_Lightbox.html @@ -0,0 +1,105 @@ + + + + dojox.image.Lightbox Tests | The Dojo Toolkit + + + + + + + + + + + + + + +
+

a Dojo based Lightbox implementation:

+ +

Individual

+

+ tall + 4:3 image + Broken link + large than viewport? +

+ +

Grouped:

+

+ wide image + square + wide image + Broken link +

+ +

Alternate Group:

+

+ wide image + square + 4:3 image + tall +

+ +

From dojox.data.FlickrStore:

+ +
+
+ + + +
+ + + diff --git a/includes/js/dojox/image/tests/test_Magnifier.html b/includes/js/dojox/image/tests/test_Magnifier.html new file mode 100644 index 0000000..fef1ddd --- /dev/null +++ b/includes/js/dojox/image/tests/test_Magnifier.html @@ -0,0 +1,98 @@ + + + Testing image + + + + + + + + + + + +

dojox.image.Magnifier test page

+ +

They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.

+

This widget is based on dojox.image.MagnifierLite, an image-only variant on this dojox.gfx + based Widget. The idea was/is to include addational surfaces in some kind of _Templated GFX widget, based on _Widget.

+

+ Scale= 2.34, 5.67, and 8.90:
+ + + + +

+ +

+ + I Am Some inline text.
lorem ipsum.
+

+ +

A Transparent .png:
+ + +

+ +

Programatic:
+ + + + + +
+ +

+ +

Remote file (GTA:LCS/psp map):
+ + +
Everybody loves Zelda, right?
+ +

+ +

+ +

+ + + diff --git a/includes/js/dojox/image/tests/test_MagnifierLite.html b/includes/js/dojox/image/tests/test_MagnifierLite.html new file mode 100644 index 0000000..6e6ccd7 --- /dev/null +++ b/includes/js/dojox/image/tests/test_MagnifierLite.html @@ -0,0 +1,91 @@ + + + Testing image + + + + + + + + + +

dojox.image.MagnifierLite test page

+ +

They are just images. It's entirely unobtrusive to add magnification to an image, and style it accordingly.

+ +

This is the base class for dojox.image.Magnifier, a dojox.gfx-based extension + this portion does not require the dojox.gfx package, but is limited to CSS-based styling. +

+ +

+ Scale= 2.34, 5.67, and 8.90:
+ + + + +

+ +

+ + I Am Some inline text.
lorem ipsum.
+

+ +

A Transparent .png: (url unavailable in release versions, need build-utils package, or svn)
+ + +

+ +

Programatic: (destroy() removes this.domNode)
+ + + + + +
+ +

+ +

Remote file (GTA:LCS/psp map):
+ + +
Everybody loves Zelda:
+ +

+ + + diff --git a/includes/js/dojox/image/tests/test_SlideShow.html b/includes/js/dojox/image/tests/test_SlideShow.html new file mode 100644 index 0000000..9200c4b --- /dev/null +++ b/includes/js/dojox/image/tests/test_SlideShow.html @@ -0,0 +1,68 @@ + + + + + Testing dojox.image.SlideShow + + + + + + + + + + + + +

dojox.image.SlideShow

+ +

from dojo.data.ItemFileReadStore

+
+ + This SlideShow should display five photos, and loop. It should also + open a URL when the image is clicked. The widget should also resize to + fit the image. +
+ +

from dojox.data.FlickrRestStore

+ This SlideShow should display five photos, and not loop. It should also not + open a URL when the image is clicked. AutoLoading of images is also disabled. + The time between images in a SlideShow is 1 second. The widget should not resize to fit the image +
+ + + diff --git a/includes/js/dojox/image/tests/test_ThumbnailPicker.html b/includes/js/dojox/image/tests/test_ThumbnailPicker.html new file mode 100644 index 0000000..90cdf2e --- /dev/null +++ b/includes/js/dojox/image/tests/test_ThumbnailPicker.html @@ -0,0 +1,134 @@ + + + + + Testing the ThumbnailPicker + + + + + + + + + + +

dojox.image.ThumbnailPicker

+ +
+ When you click on a thumbnail image, it's information is placed here +
+ +

From FlickrRestStore:

+ This ThumbnailPicker should have 8 thumbnails, with each of them linking + to a URL when clicked on. The cursor should also change when over an image. +
+ +

From ItemFileReadStore:

+ This ThumbnailPicker should have 5 thumbnails. Clicking on a thumbnail should NOT + open a URL, and the cursor should not change when over an image that is not an arrow. + +
+
+ +

From FlickrRestStore:

+ This ThumbnailPicker should have 6 thumbnails, with each of them linking + to a URL when clicked on. The cursor should also change when over an image. + Unlike the ThumbnailPicker above, when these links are clicked on, this page + changes, instead of a popup window. + +
+ +

From ItemFileReadStore, and vertical:

+ This ThumbnailPicker should have 5 thumbnails. Clicking on a thumbnail should NOT + open a URL, and the cursor should not change when over an image that is not an arrow. + The thumbnails should also be aligned vertically. +
+ + + -- cgit v1.2.3