Skip to content

Commit

Permalink
Updating for 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
SitePenDavidWalsh committed Mar 21, 2012
1 parent 28bd90f commit 9cbc329
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -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();
});
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Expand Up @@ -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
----------
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 9cbc329

Please sign in to comment.