Phonegap – iOS push notifications
March 12th, 2013 - omar
This tutorial is inspired from this one. A few changes were made to have things working with the 2.5 version of cordova.
Posted in Uncategorized | No comments »
March 12th, 2013 - omar
This tutorial is inspired from this one. A few changes were made to have things working with the 2.5 version of cordova.
Posted in Uncategorized | No comments »
March 10th, 2013 - kaore
A javascript date picker that enables users to easily pick dates or date ranges.
Posted in Uncategorized | No comments »
February 23rd, 2013 - kaore
Here we will see how to upload an image without a page refresh using an iframe and some javascript. There are a bunch of jquery plugins that do this, but you’ll see here that there is nothing really complicated about it and it can easily be achieved with a couple of javascript lines.
Posted in Uncategorized | 3 comments »
December 19th, 2012 - kaore
Here is a function that transitions a pane element to a new one by using either a drag of your mouse or a pan/slide gesture on touch enabled devices.
Give it a try if you are looking for a simple solution to handle pane transition or a tab navigation system without using a fully featured …
Posted in Uncategorized | 1 comment »
November 21st, 2012 - kaore
The last post was about deploying the plugin offering the same functionality on and android device, here is how to get the iOS version running. Find the github page of the plugin here. There’s also a more detailed procedure here
Get a basic phonegap project running
Get the plugin files. Copy the …
Posted in Uncategorized | No comments »
November 5th, 2012 - kaore
Here is an edit of the readme file found in the LocalNotification plugin for phonegap on Android. I’ve stumbled on a couple of issues which were not covered there and decided to make a version of the step through that worked for me. Assuming you already have a basic project setup (with a 2.0-ish …
Posted in Uncategorized | 5 comments »
July 20th, 2012 - kaore
With this plugin, put links to cibul events in your posts and they will be converted into event renders like such:
La Java des Balkans
The template used is customizable, and the css can be modified in the plugin’s admin page. Find the plugin page here.
Posted in Uncategorized | No comments »
December 3rd, 2011 - kaore
Here is a little function that can be used to turn urls found in text on a page into clickable links. I assembled it and tweaked it taking bits and pieces from several forums.
See it running here
/* doLinks script */
function linkify(inputText, options) {
this.options = {linkClass: ‘url’, targetBlank: true};
this.options …
Posted in Uncategorized | 10 comments »
July 8th, 2011 - kaore
In this article we’ll use the google maps v3 API to show two draggable markers on a map linked with a line. As the markers are dragged, we want the line position to be updated so that it appears to always be linked and we also want to an updated indicator displaying the distance …
Tags: Google Maps, javascript, jQuery
Posted in Uncategorized | 4 comments »
October 19th, 2010 - kaore
Maxmind provides a useful database and API for server side IP Geolocation. It is useful when you don’t want your server to hang on external services each time fetching a location from an IP address is needed. This posts goes through the installation process of the database with a PHP extension on an Ubuntu …
Tags: Geolocation, php, ubuntu
Posted in Geolocation | 3 comments »