Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix readme, new screenshot of skin

  • Loading branch information...
commit 14e1f7aa6014fd4a0e31521b204fb60cb708205c 1 parent 073df27
@DimitarChristoff authored
Showing with 15 additions and 11 deletions.
  1. +14 −10 README.md
  2. +1 −1  Source/baseBox.js
View
24 README.md
@@ -15,7 +15,7 @@ A MooTools 1.3 modal box class which works fine with CSS3 features like:
Tested on
---------
-IE6, IE7, IE8, IE9, FF3, FF4, Chromium 10, Safari 4.0.4
+IE6, IE7, IE8, IE9, FF3, FF4, Chrome 11, Safari 4.0.4, Opera 11.10
**note**: IE6, IE7 and IE8 just fade the box up and need CSS ruleset to fall back on,
like (background-image: url(yourgradient.gif); and so forth).
@@ -56,12 +56,13 @@ Events and pointers
The following events are raised that youcan reference from your instance
-- onOpen - fires when doBox opens.
-- onContentLoaded - fires on setHTML method
-- onBeforeClose - fires before clean up when closing so you can garbage collect or whatever
-- onClose - fires after the box is closed
-- onMoving - fires when moving the box starts
-- onMoved - fires when stopped moving
+- `onOpen` - fires when doBox opens.
+- `onContentLoaded` - fires on setHTML method
+- `onBeforeClose` - fires before clean up when closing so you can garbage collect or whatever
+- `onClose` - fires after the box is closed
+- `onMoving` - fires when moving the box starts
+- `onMoved `- fires when stopped moving
+- `onResize` - fires after resizeBox has modified the baseBox dimensions
`this.modal` stores a pointer to the instance for scripting.
`this.wrap` stores a pointer to the instance for scripting
@@ -69,8 +70,6 @@ The following events are raised that youcan reference from your instance
Extendability
-------------
-![Screenshot](http://fragged.org/img/baseLightBox.jpg)
-
This also provides baseBox.lightBox - a mini class that extends baseBox as an example and
displays an image in a lightbox style modal. [View extended example](http://jsfiddle.net/dimitar/6creP/36/)
@@ -81,4 +80,9 @@ displays an image in a lightbox style modal. [View extended example](http://jsfi
The lightbox version relies on Asset.js (it is but an example) and will lazyload the image, determine
the size and set with lightBox width then compute the height automatically as per usual.
-You can add logic here that reduces image dimensions to fit the window width and height without scrolling.
+You can add logic here that reduces image dimensions to fit the window width and height without scrolling.
+
+Screenshots
+-----------
+![Screenshot](http://fragged.org/img/baseLightBox.jpg)
+![Screenshot](http://fragged.org/img/baseBoxSShot2.jpg)
View
2  Source/baseBox.js
@@ -2,7 +2,7 @@
---
name: baseBox
description: a MooTools 1.3 modal box class, powered by CSS and with scale transitions
-version: 1.0.1
+version: 1.15
authors:
- Dimitar Christoff

0 comments on commit 14e1f7a

Please sign in to comment.
Something went wrong with that request. Please try again.