practical web design & development

Archive for June, 2009

jQuery iFramer gets JSON Support

It didn’t take long to make a couple tweaks to iFramer. You can now specify a returnType in the options as json. Doing so will return a json object of the returned data from the form. Here’s how to call it: $(‘#myform’).iframer({ returnType: ‘json’, onComplete: function(data){ //param data is a json object } }); If [...]

1) Use Opera Desktop browser with the small screen view (View->Small Screen). 2) Use Firefox Developer Toolbar do use the Handheld Stylesheet (CSS->Display CSS By Media Type->Handheld). 3) Avoid Caching things that shouldn’t be cached. If you’re using a lot of GET requests or sometimes posting forms, be careful of caching. An easy way to [...]

Impromptu 2.7 is Here!

jQuery Impromptu 2.7 is now available. I’ve added a few new features: $.prompt.getCurrentState() $.prompt.getCurrentStateName() option.timeout Option.url didn’t make the cut simply because I’ve not figured out the best way to approach this. I’ll post any progress on this solution.

Meet jQuery iFramer

jQuery iFramer is a plugin made to submit forms with a hidden iframe. Say for instance you have an Impromptu popup that contains a few form fields and a file upload. The file upload is the kicker to needing such a plugin, since you can’t upload files via old fashion ajax. Well using a simple [...]

Lately it seems like Impromptu has been growing at a pretty rapid pace, and much of the reason behind it are community contributions and the fact that I’m using it nearly every day. I realize there are pro’s and con’s to moving at a fast pace, which is why I’ve done my best to maintain [...]