summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Richardson <trentdrichardson@gmail.com>2012-12-02 07:34:43 -0500
committerTrent Richardson <trentdrichardson@gmail.com>2012-12-02 07:34:43 -0500
commita0597a78be23f15fc17a50cc4c0c99ab50790440 (patch)
treefab648a9fc22fa912f5673a0faba745936fea10d
parentf1cb86982f2fae230a69b94d6046e515f2fa6831 (diff)
downloadjQuery-Impromptu-a0597a78be23f15fc17a50cc4c0c99ab50790440.zip
jQuery-Impromptu-a0597a78be23f15fc17a50cc4c0c99ab50790440.tar.gz
jQuery-Impromptu-a0597a78be23f15fc17a50cc4c0c99ab50790440.tar.bz2
Cleanup examples for new versionv4.1
-rw-r--r--demos/survey.html2
-rw-r--r--demos/user_manager.html4
-rw-r--r--index.html16
-rw-r--r--jquery-impromptu.js2
4 files changed, 12 insertions, 12 deletions
diff --git a/demos/survey.html b/demos/survey.html
index 43ff180..ee4ae24 100644
--- a/demos/survey.html
+++ b/demos/survey.html
@@ -79,7 +79,7 @@
}
$.prompt(temp,{
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
var str = "You can now process with this given information:<br />";
$.each(f,function(i,obj){
str += i + " - <em>" + obj + "</em><br />";
diff --git a/demos/user_manager.html b/demos/user_manager.html
index 3f6d556..f9af4de 100644
--- a/demos/user_manager.html
+++ b/demos/user_manager.html
@@ -61,7 +61,7 @@
}
return flag;
},
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
if(v){
//Here is where you would do an ajax post to edit the user
@@ -90,7 +90,7 @@
$.prompt(txt,{
buttons:{Delete:true, Cancel:false},
- callback: function(e,v,m,f){
+ close: function(e,v,m,f){
if(v){
var uid = f.userid;
diff --git a/index.html b/index.html
index b8c7a42..6eb697f 100644
--- a/index.html
+++ b/index.html
@@ -116,7 +116,7 @@
<h2>Get Started</h2>
<h3>Highly Recommended</h3>
- <p>Subscribe to <a href="http://trentrichardson.com" title="TrentRichardson.com">my newsletter</a> and follow me <a href="http://twitter.com/practicalweb" title="Follow me on Twitter">@practicalweb</a>.</p>
+ <p>Subscribe to <a href="http://trentrichardson.com/category/impromptu/" title="TrentRichardson.com">my newsletter</a> and follow me <a href="http://twitter.com/practicalweb" title="Follow me on Twitter">@practicalweb</a>.</p>
<h3>Donation</h3>
<a href="http://carbounce.com" title="Car Bounce" style="float: right; display: inline-block;width:300px;padding: 10px;background-color: #fbfbfb;border: dotted 4px #e8e8e8;color: #9EC45F;font-size: 14px;text-decoration:none;letter-spacing:1px;"><img src="http://carbounce.com/img/logo_small.png" alt="Car Bounce" align="left" style="margin-right: 20px;"/>Try my new app to keep you informed of your car's financing status and value.</a>
@@ -133,12 +133,12 @@
<h3 id="Download">Download</h3>
<ul>
<li><a href="https://github.com/trentrichardson/jQuery-Impromptu" title="Fork it on Github">Github</a></li>
- <li><a href="scripts/mootools-impromptu.3.1.js" title="Download Mootools Impromptu Development">Moopromptu</a></li>
+ <li><a href="https://github.com/trentrichardson/Moopromptu" title="Download Mootools Impromptu Development">Moopromptu</a></li>
</ul>
<h3>Version</h3>
- <p>Version 4.0.1</p>
- <p>Last updated on 03/03/2012</p>
+ <p>Version 4.1</p>
+ <p>Last updated on 12/02/2012</p>
<p>jQuery Impromptu is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly. </p>
<ul>
@@ -533,10 +533,10 @@ $.prompt(statesdemo);</pre>
<h3>Advanced</h3>
<p>The following are example demonstrations of various useful utilities with Impromptu.</p>
<ul>
- <li><a href="demos/user_manager.html" title="User Manager Demo">User Manager</a></li>
- <li><a href="demos/survey.html" title="Survey Demo">Survey</a></li>
- <li><a href="demos/loan_calculator.html" title="Loan Calculator Demo">Loan Calculator</a></li>
- <li><a href="demos/select_filter.html" title="Select Dropdown Search Filter Demo">Select Dropdown Search Filter</a></li>
+ <li><a href="demos/user_manager.html" title="User Manager Demo" target="_BLANK">User Manager</a></li>
+ <li><a href="demos/survey.html" title="Survey Demo" target="_BLANK">Survey</a></li>
+ <li><a href="demos/loan_calculator.html" title="Loan Calculator Demo" target="_BLANK">Loan Calculator</a></li>
+ <li><a href="demos/select_filter.html" title="Select Dropdown Search Filter Demo" target="_BLANK">Select Dropdown Search Filter</a></li>
</ul>
</div>
</div>
diff --git a/jquery-impromptu.js b/jquery-impromptu.js
index a235a1d..d65dee3 100644
--- a/jquery-impromptu.js
+++ b/jquery-impromptu.js
@@ -2,7 +2,7 @@
* jQuery Impromptu
* By: Trent Richardson [http://trentrichardson.com]
* Version 4.1
- * Last Modified: 11/28/2012
+ * Last Modified: 12/02/2012
*
* Copyright 2012 Trent Richardson
* You may use this project under MIT or GPL licenses.