Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small polish

  • Loading branch information...
commit 7122c9ed2f351aa7fc1465b77fa57f72a237bf41 1 parent 988397b
@jplarson authored
Showing with 5 additions and 3 deletions.
  1. +2 −0  Demo/css/public.css
  2. +2 −2 Demo/index.php
  3. +1 −1  README.md
View
2  Demo/css/public.css
@@ -96,6 +96,8 @@ body {
border-radius: 10px;
background: -moz-linear-gradient(top, #900, #C00 30%, #400 90%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #900000), color-stop(0.9, #400000), color-stop(0.3, #c00000));
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#A00000, endColorstr=#400000);
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#A00000, endColorstr=#400000)";
box-shadow: 4px 4px 3px #888;
text-align: left;
}
View
4 Demo/index.php
@@ -70,8 +70,8 @@ function DisplayDemoPage() {
window.addEvent('domready', function() {
App.popUp1 = new PopUpWindow('Static Content', { contentDiv: 'staticDiv', width: 200 });
App.popUp2 = new PopUpWindow('AJAX Loding');
- App.popUp3 = new PopUpWindow('CSS Styling', { contentDiv: 'zenDiv', className: 'zenPopUpWindow', onClose: function() { console.log('closed!'); } });
- App.popUp4 = new PopUpWindow('Resizable', { contentDiv: 'resizeDiv', isResizable: true, onResize: function(d, e) { console.log(d); } });
+ App.popUp3 = new PopUpWindow('CSS Styling', { contentDiv: 'zenDiv', className: 'zenPopUpWindow' });
+ App.popUp4 = new PopUpWindow('Resizable', { contentDiv: 'resizeDiv', isResizable: true });
});
</script>
</body>
View
2  README.md
@@ -9,7 +9,7 @@ Supports dragging, closing, resizing, CSS styling, and loading content from AJAX
How to Use
----------
-PopUpWindow at it's heart requires only a title and a content for the body to use. The content can be supplied as a string of HTML,
+PopUpWindow at its heart requires only a title and a content for the body to use. The content can be supplied as a string of HTML,
a DOM element, or the response from an AJAX call. The simplest example is to pull the content as a DOM element (presumably on domready, so that it doesn't show in the normal page flow):
#HTML
Please sign in to comment.
Something went wrong with that request. Please try again.