I'm really impressed with sisyphus.js and its usage of HTML5 localStorage. It makes it so users won't need to re-enter data into a form when they close the window.
It's super easy to implement, you only need to include the following in your header:
The following code makes it so I don't have to mention specifically what page needs to load before a script runs. This is good for having the same function on several different pages in Jquery Mobile.
var pageId = $(this).closest('div.diagramPage').attr('id');
In Wordpress, the following is the error message that occurs at the top of the page:
Not Found
The requested URL /jquery-1.6.3.min.js was not found on this server. www.4llw4d.freefilesblog.com
I fixed this error by editing the all-in-one SEO plugin's code (all_in_one_seo_pack.php). I'm pretty sure the following part of the code is the culprit:
I've been displaying the ajax loading message when loading a php file (especially when there's a chance it won't run instantly).
I've been doing the following:
$.mobile.showPageLoadingMsg ();
$('#phpDiv').load('file.php',function(){
$('#phpDiv').trigger('create');
});
$.mobile.hidePageLoadingMsg ();
"showPageLoadingMsg" will start to display the ajax loading message and "hidePage~" will close it. The stuff in the middle loads what the php file returns into a div, then creates DOM contents for it with the trigger('create') function.
// this will make sure the datebox closes when the dialog closes $(document).delegate('#closeButton', 'click', function() { $(".ui-datebox-container").hide(); $(".ui-datebox-screen").hide(); });
Make sure your #closeButton is the same as the button which closes the dialog.
This project is a modification of the TodoMVC (used to sample how a language is structured by making a To-Do list). It adds database support and ends up being a very cool To-Do list.