Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating for 1.7

  • Loading branch information...
commit 9cbc329bde3cb6e45f90adaae60d97ea364c57d8 1 parent 28bd90f
@SitePenDavidWalsh SitePenDavidWalsh authored
Showing with 11 additions and 6 deletions.
  1. +6 −5 README.md
  2. +4 −0 changelog.md
  3. +1 −1  package.yml
View
11 README.md
@@ -14,18 +14,19 @@ LightFace instances can be created at any time. There are no arguments other th
#JS
/* create LightFace instance */
var modal = new LightFace({
- width: 'auto',
+ width: "auto",
height: 400,
draggable: true,
- title: 'Hello from LightFace!',
- content: '<p>This is the LightFace content!</p>',
+ title: "Hello from LightFace!",
+ content: "<p>This is the LightFace content!</p>",
buttons: [
- { title: 'Close', event: function() { this.close(); }, color: 'blue' }
+ { title: "Close", event: function() { this.close(); }, color: "blue" }
],
resetOnScroll: true
});
+
/* open when link is clicked */
- document.id('launchModal').addEvent('click',function(e){
+ document.id("launchModal").addEvent("click", function(e){
e.stop();
modal.open();
});
View
4 changelog.md
@@ -3,6 +3,10 @@ LightFace
The following changes have been made to LightFace.
+03/21/2012
+----------
+ + Updated overlay to have visibility:hidden to work best with Moo 1.4+
+ + Tag updated from .96 to .97
11/17/2010
----------
View
2  package.yml
@@ -1,6 +1,6 @@
name: LightFace
author: davidwalsh
-current: 0.96
+current: 0.97
category: Interface
tags: [lightbox,facebook,overlay,modal]
docs: http://davidwalsh.name/js/lightface
Please sign in to comment.
Something went wrong with that request. Please try again.