Permalink
Browse files

1.4b updates

  • Loading branch information...
ericmmartin committed Jul 27, 2010
1 parent 8526493 commit 68d9c3c1acfc9fd0c44b23cc033c28899775fbcd
Showing with 47 additions and 41 deletions.
  1. +3 −2 ChangeLog.txt
  2. +1 −1 demo/css/basic.css
  3. +19 −19 demo/js/jquery.simplemodal.js
  4. +1 −0 test/index.html
  5. +19 −19 test/js/jquery.simplemodal.js
  6. +4 −0 test/js/simplemodal.js
View
@@ -1,11 +1,12 @@
==== SimpleModal ChangeLog ====
== 1.4 ==
- * Date: July 22, 2010
+ * Date: July 28, 2010
* Changed the implementation of the autoResize, autoPosition, and focus options
* The default value for autoResize changed to true
* Added update() function
- * Reworked a number of functions
+ * Added "shortcut" functions for focus(), setContainerDimensions(), setPosition(), and update()
+ * Reworked the code in a number of functions
* Fixed Opera screen painting issues
* Updated jQuery requirement to 1.2.4
* Updated container to shrink/grow as window resizes
View
@@ -19,7 +19,7 @@
/* Container */
#simplemodal-container {height:360px; width:600px; color:#bbb; background-color:#333; border:4px solid #444; padding:12px;}
#simplemodal-container .simplemodal-data {padding:8px;}
-#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; margin-bottom:12px; padding:4px 6px 6px;}
+#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;}
#simplemodal-container a {color:#ddd;}
#simplemodal-container a.modalCloseImg {background:url(../img/basic/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h3 {color:#84b8d9;}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -53,6 +53,7 @@
<li><a href='#' id='test30'>Update 2</a> <pre><code>$('#modalContentTest').modal({blahblah});</code></pre></li>
<li><a href='#' id='test31'>Update 3</a> <pre><code>$('#modalContentTest').modal({blahblah});</code></pre></li>
<li><a href='#' id='test32'>Update 4</a> <pre><code>$('#modalContentTest').modal({blahblah});</code></pre></li>
+ <li><a href='#' id='test33'>AutoResize: true</a> <pre><code>$('#modalContentOverflowTest').modal({autoResize:treu, containerCss:{height:'1000px', width:'1000px'}});</code></pre></li>
<li><a href='#' id='test7'>Modal Function w/ string/HTML - close: false</a> <pre><code>$.modal("&lt;div class='test'&gt;\
&lt;h1&gt;Sample Content&lt;/h1&gt;\
&lt;p&gt;This example uses a custom close.&lt;/p&gt;\
Oops, something went wrong.

0 comments on commit 68d9c3c

Please sign in to comment.