MonthMay 2012

Use A JavaScript Confirm Dialog To Give Users Option Between Mobile or Desktop View

The idea was to use the native look of the confirm box to give the user an option between viewing the site in a mobile view or stay on current view. I used a setTimeout method so i can have it fire 3 seconds after the pages has rendered in all its glory. The code below is pretty simple and straight forward.

window.onload = function(){
		setTimeout(confirmMobile, 3000);
	function confirmMobile(){
		var toView = window.confirm("View Mobile Version?");
		if (toView){

Tested on iOS 4+ and Android 2.3.4+

Mobile Portfolio Built with Sencha Touch

I wanted to play with Sencha Touch the other night and built out a simple portfolio. This app can be downloaded from my github account.

I will only display the JS code that makes the entire Sencha app, you can view the css, and html from the download.

Continue reading

Facebook Style Slide Out Menu in jQuery Mobile

I wanted to recreate the slide out menu in the Facebook iPhone app. I also wanted implement it in a jQuery mobile layout. This is what I came up with.

Continue reading

© 2018 Aldomatic

Theme by Anders NorenUp ↑