Archive for August, 2010

jQuery, disable right click browser menu

August 25, 2010

When working on complex applications with jQuery you get to a point where you need to have your own right click menu. You have the options to disable entire page right click menu or just for a div. Disable for the entire document: $(document).ready(function() {        $(document).bind("contextmenu",function(e){               [...]

Tags: , , ,
Posted in jQuery Comments Off

jQuery, check witch mouse button had been pressed

August 25, 2010

The .click is great, but witch button had been pressed? $(document).click(function(e) {    if ((e.button == 0)  && (e.button == 1)){       // was the left button pressed       alert(‘clicked’);    }    if (e.button == 3){       // was the right button pressed       alert(‘click’);   [...]

Tags: , , , , ,
Posted in jQuery Comments Off

How to display all Global variables in PHP

August 25, 2010

Sometimes when debugging an application you need to see all global variables. In PHP there is an easy way: $defined_vars = get_defined_vars(); print_r($defined_vars);

Tags: , , ,
Posted in PHP & MySQL Comments Off

App Inventor and how easy is to work with it

August 13, 2010

Have you heard about App Inventor? No? Do you want to write your own Android application instead looking on App Market for them and find that none of them are what you are looking for? This is a App Inventor demonstration: Now App inventor is not yet a visual programing language is just a Visual [...]

Tags: , , , , ,
Posted in Android, Android Dev Comments Off

How to Install Flash on your iPhone

August 10, 2010

In the last post I was talking about jailbreakme.com a website where you will find everything you need to escape from the Apple jail and install Apple unapproved apps on your iPhone. You remember that your iPhone dont have Flash (if you dont just browse a flash website and you will see for yourself). Now [...]

Tags: , , , , , , , ,
Posted in Apple, iPhone Comments Off

Jailbreak your iPhone

August 10, 2010

Tired by App Store? Want more? go to JailbreakMe.com from your iPhone browser and be free. What is Jailbreak? “A jailbreak is simply the ability to run apps and use themes and tweaks not approved by Apple. Jailbreaking doesn’t slow down your device or use any extra battery. A jailbreak lets your device be how [...]

Tags: , , , , , ,
Posted in Apple, iPhone, iPhone Apps Comments Off