From 65dfea09a7d7b7d2d8b723eb2c66240e39d2f9c0 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 1 Aug 2012 14:16:39 +0200 Subject: Added colorbox library. --- vendors/jquery/colorbox/example5/colorbox.css | 52 ++++++++++++ vendors/jquery/colorbox/example5/images/border.png | Bin 0 -> 163 bytes .../jquery/colorbox/example5/images/controls.png | Bin 0 -> 2033 bytes .../jquery/colorbox/example5/images/loading.gif | Bin 0 -> 9427 bytes .../example5/images/loading_background.png | Bin 0 -> 166 bytes vendors/jquery/colorbox/example5/index.html | 87 +++++++++++++++++++++ 6 files changed, 139 insertions(+) create mode 100644 vendors/jquery/colorbox/example5/colorbox.css create mode 100644 vendors/jquery/colorbox/example5/images/border.png create mode 100644 vendors/jquery/colorbox/example5/images/controls.png create mode 100644 vendors/jquery/colorbox/example5/images/loading.gif create mode 100644 vendors/jquery/colorbox/example5/images/loading_background.png create mode 100644 vendors/jquery/colorbox/example5/index.html (limited to 'vendors/jquery/colorbox/example5') diff --git a/vendors/jquery/colorbox/example5/colorbox.css b/vendors/jquery/colorbox/example5/colorbox.css new file mode 100644 index 000000000..91301a9b1 --- /dev/null +++ b/vendors/jquery/colorbox/example5/colorbox.css @@ -0,0 +1,52 @@ +/* + ColorBox Core Style: + The following CSS is consistent between example themes and should not be altered. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative;} +#cboxLoadedContent{overflow:auto;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} +.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;} +.cboxIframe{width:100%; height:100%; display:block; border:0;} +#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;} + +/* + User Style: + Change the following styles to modify the appearance of ColorBox. They are + ordered & tabbed in a way that represents the nesting of the generated HTML. +*/ +#cboxOverlay{background:#000;} +#colorbox{} + #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;} + #cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;} + #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;} + #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) no-repeat 0 -32px;} + #cboxBottomCenter{height:43px; background:url(images/border.png) repeat-x bottom left;} + #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) no-repeat -36px -32px;} + #cboxMiddleLeft{width:14px; background:url(images/controls.png) repeat-y -175px 0;} + #cboxMiddleRight{width:14px; background:url(images/controls.png) repeat-y -211px 0;} + #cboxContent{background:#fff; overflow:visible;} + .cboxIframe{background:#fff;} + #cboxError{padding:50px; border:1px solid #ccc;} + #cboxLoadedContent{margin-bottom:5px;} + #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;} + #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} + #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} + #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} + + #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;} + #cboxPrevious{left:0px; background-position: -51px -25px;} + #cboxPrevious:hover{background-position:-51px 0px;} + #cboxNext{left:27px; background-position:-75px -25px;} + #cboxNext:hover{background-position:-75px 0px;} + #cboxClose{right:0; background-position:-100px -25px;} + #cboxClose:hover{background-position:-100px 0px;} + + .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} + .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;} + .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} + .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;} \ No newline at end of file diff --git a/vendors/jquery/colorbox/example5/images/border.png b/vendors/jquery/colorbox/example5/images/border.png new file mode 100644 index 000000000..df13bb6da Binary files /dev/null and b/vendors/jquery/colorbox/example5/images/border.png differ diff --git a/vendors/jquery/colorbox/example5/images/controls.png b/vendors/jquery/colorbox/example5/images/controls.png new file mode 100644 index 000000000..65cfd1dc9 Binary files /dev/null and b/vendors/jquery/colorbox/example5/images/controls.png differ diff --git a/vendors/jquery/colorbox/example5/images/loading.gif b/vendors/jquery/colorbox/example5/images/loading.gif new file mode 100644 index 000000000..b4695d811 Binary files /dev/null and b/vendors/jquery/colorbox/example5/images/loading.gif differ diff --git a/vendors/jquery/colorbox/example5/images/loading_background.png b/vendors/jquery/colorbox/example5/images/loading_background.png new file mode 100644 index 000000000..9de11f467 Binary files /dev/null and b/vendors/jquery/colorbox/example5/images/loading_background.png differ diff --git a/vendors/jquery/colorbox/example5/index.html b/vendors/jquery/colorbox/example5/index.html new file mode 100644 index 000000000..44fcca860 --- /dev/null +++ b/vendors/jquery/colorbox/example5/index.html @@ -0,0 +1,87 @@ + + + + + ColorBox Examples + + + + + + + +

ColorBox Demonstration

+ +

Elastic Transition

+

Grouped Photo 1

+

Grouped Photo 2

+

Grouped Photo 3

+ +

Fade Transition

+

Grouped Photo 1

+

Grouped Photo 2

+

Grouped Photo 3

+ +

No Transition + fixed width and height (75% of screen size)

+

Grouped Photo 1

+

Grouped Photo 2

+

Grouped Photo 3

+ +

Slideshow

+

Grouped Photo 1

+

Grouped Photo 2

+

Grouped Photo 3

+ +

Other Content Types

+

Outside HTML (Ajax)

+

Flash / Video (Ajax/Embedded)

+

Flash / Video (Iframe/Direct Link To YouTube)

+

Outside Webpage (Iframe)

+

Inline HTML

+ +

Demonstration of using callbacks

+

Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

+ + +
+
+

This content comes from a hidden element on this page.

+

The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

+

Click me, it will be preserved!

+ +

If you try to open a new ColorBox while it is already open, it will update itself with the new content.

+

Updating Content Example:
+ Click here to load new content

+
+
+ + \ No newline at end of file -- cgit v1.2.3