Posted on 08 October 2011.
To turn an element into a scrollview, simply add a data-scroll=”true” to the element. By default, a scrollview can scroll in both the horizontal and vertical directions. If the user drags the view horizontally (left or right), or vertically (up or down), scrolling will be locked so that it only scrolls in that one dimension. If the user drags the view diagonally, he will be able to scroll in both directions at the same time.

Continue Reading
Posted in Mobile / Tablet
Posted on 08 October 2011.
OVERVIEW
iScroll was born because mobile webkit (on iPhone, iPod, Android and Pre) does not provide a native way to scroll content inside a fixed width/height element. This unfortunate situation prevents any web-app to have aposition:absolute header and/or footer and a scrolling central area for contents. Continue Reading
Posted in JavaScript - Ajax
Posted on 08 October 2011.
JQuery Mobile includes 5 touch based events to make navigating your site with a mobile device a little easier. The 5 events are:- Continue Reading
Posted in Mobile / Tablet
Posted on 08 October 2011.
Designing and coding a sponsors page is part of the developer’s life (at least the lucky developer’s life, if it is about a personal site of theirs). It, however, follows different rules than those for the other pages of the site. You have to find a way to fit a lot of information and organize it clearly, so that the emphasis is put on your sponsors, and not on other elements of your design.
Continue Reading
Posted in JavaScript - Ajax
Posted on 08 October 2011.
Slides is a slideshow plugin for jQuery that is built with simplicity in mind. Packed with a useful set of features to help novice and advanced developers alike create elegant and user-friendly slideshows.
Continue Reading
Posted in JavaScript - Ajax
Posted on 08 October 2011.
Time after time I find JavaScript code that has bugs caused by lack of proper understanding of how functions work in JavaScript (a lot of that code has been written by me, by the way.) JavaScript has functional programming characteristics, and that can get in our way until we decide to face and learn it. Continue Reading
Posted in Mobile / Tablet
Posted on 08 October 2011.
As with any new technology, getting started is often the hardest part.
With this frustration in mind, we have put together some of my handiest tips, tricks and code snippets related to thejQuery Mobile library. Continue Reading
Posted in Mobile / Tablet
Posted on 08 October 2011.
In my Introduction to jQuery Mobile, I mentioned that I had plans for a simple MVC framework using jQuery Mobile and that I would release it if there was enough interest (there was!). While it’s not completely finished yet, I’ve decided to release it in hopes that others find use in it and can perhaps even contribute towards it’s development. Continue Reading
Posted in Mobile / Tablet, PHP
Posted on 08 October 2011.
Bert Altenburg, author of AppleScript for Absolute Starters, in co-operation with Alex Clarke and Philippe Mougin, has released a book for newcomers to Cocoa programming using Objective-C and XCode. Continue Reading
Posted in MAC, Mobile / Tablet
Posted on 08 October 2011.
The Objective-C 2.0 Essentials online book contains 34 chapters of detailed information intended to provide everything necessary to gain proficiency as an Objective-C programmer for both Mac OS X and iPhone development. Continue Reading
Posted in MAC, Mobile / Tablet
Posted on 08 October 2011.
Based on another message I remember reading you should be able to open
the phonegap.plist and look for ExternalHost and add *.mydomain.com.
Again, I’m not the iOS expert so someone else will probably have a
better solution.
Posted in Mobile / Tablet
Posted on 07 October 2011. Tags: sort if else, sortif
In addition to the enlarged if – else statement that you will use in most cases, there is also a short structure for an if – else statement. This format uses the so-called “ternary operator ‘. The syntax of this shorthand structure is as follows:
Continue Reading
Posted in PHP
Posted on 07 October 2011. Tags: array
I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an ID number and the value is a count. This is fine for most instances, however I want a function that gets the human-readable name of the array and uses that for the key, without changing the value. Continue Reading
Posted in PHP
Posted on 07 October 2011. Tags: characters, greek
if you have problems with greek character encoding use this functions.
Continue Reading
Posted in PHP
Posted on 07 October 2011.
jQuery Mobile: Touch-Optimized Web Framework for Smartphones & Tablets
A unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.

Continue Reading
Posted in Programming
Posted on 07 October 2011. Tags: crossdomain, json, php api
I am trying to request JSON from Google Places API, but I am still getting the cross-domain request error after firstly including:
Continue Reading
Posted in JavaScript - Ajax, PHP