Recently I was working on one mobile web application at client place. and had requirement to show data in metro/WP7 style layout. Here is the link to the demo page. check out on your mobile device.
Recently I was working on jQueryMobile and had one requirement where I want to use the data-dom-cache="true" attribute for jQueryMobile page. I need the DOM to be cached but at the same time I wat the DOM to be expired in some time. for example 2 hours.
I end up creating the new attribute dom-cache-expires="120" and Here is the function to handle this scenario.
-> if the page is visited and time exceeds the dom-cache-expires minutes, it will make server request. or simply reloads the page. -> if there is no attribute on page do nothing and behave normally. -> if page is visited under the defined schedule (after first visit) , it will not make server request and cached DOM is referred.
I have developed a web using jQuery mobile a4.1 which has following things to notice: 1. Passing Querystring Parameter 2. Dynamic content 3. Leveraging jQuery Mobile Ajax Navigation framework 4. URL can be bookmarked and DOM is generated how it should be.
I have seen lot of people asking question about above topics ( I am one of them)
So I wrote the article explaining above things with code example.
I have created one page having two image sliders horizontally. its tested on iPhone and iPad , works well. though browser fallback needs to be developed.
I checked different posts in this forum about image carousal, but when i test it on mobile devices, its very slow and animation/sliding is not as smooth as desired.
this particular approach does not have animation but sliding is easy. this kind of image slider can be found on Bing App and weather channel app on iPad.
check Demo page at URL below , (just a POC , but works well.)
I want to migrate from a3 to a4 to provide support for IE and wp7.
It is described somewhere in Release notes of 4.1 that says,
"An error was causing jQuery Mobile to fail in IE8 & 9, but we’ve resolved the error by adding an activeElement conditional and pages now render suprisingly well. There are a few style tweaks needed to make this perfect, especially on form elements, but jQuery Mobile now works in IE 7, 8 and 9."
However a4.1 demo site works well in IE7 , I'm having the issue with my web.
rendering is good, but CPU is 100% occupied and results IE crash.
Does anyone have any style suggestion, I tried everything from all form solutions.
1. click first item under overview - "Intro to jQuery Mobile" from the listitem view. 2. now once that page is loaded, click home on top - right corner. this will show you home page again. 3. Do this for 6-7 times.
I was working with jQuery mobile and had thought in my mind to create some sort of UI to make server request. the UI looks like(i tried!!) Twitter app or facebook app refresh style.
I have demo running, which uses the jQuery UI drag to accomplish this. Note that this is only proof of concept, UI is working but there is no server call.
try it on mobile device. I have tested it on iphone , ipad.
Recently I was working on jQuery mobile and thought of creating a control that looks similar to the one on iphone while you go to app store.
since jquery moblie supports touch events, I optimized slider script to support swipe left-right events.
Test swipe left and swipe right events on following URL. it works grate on mobile devices. However sliding easing is not smooth. I'm sure any jQuery master will modify script and make it work properly.
Currently i'm working on jQuerymobile with following example scenario.
consider I have article categories, articles for selected category and actual article content. Now, I want the List view on screen which shows the article categories and when i click on any category it shows list-view of all articles for selected category. and so on.
Question is : How should I pass parameter to another page to open articles for selected category.? I want the ajax driven system and I dont want to create multiple pages for different categories. I want one page articlesForCategory.aspx which displays articles based on parameter passed. data is loaded from webservice dynamically.