Submitted by tyler on Thu, 10/27/2011 - 16:43
UPDATE: Please read this article for a much more detailed explanation on how to get PhoneGap up and running to communicate with Drupal Services.
This info assumes you have Drupal 6.x, Services 3.x and PhoneGap/Eclipse/Android up and running. If you are new to Drupal Services, head over to the Drupal Services Examples article to get started. This page is a work in progress and I will continue to add more examples when days are 48 hours long.
Submitted by tyler on Mon, 11/08/2010 - 21:52
Submitted by tyler on Tue, 09/28/2010 - 22:29
So the other day I needed to detect when someone clicks on the background image of my drupal zen sub theme. Here is how I did it using jquery:
Submitted by tyler on Thu, 08/12/2010 - 15:30
So today I thought I knew enough about JQuery to easily add a click function to some unordered list menu items in a Drupal Panel... wrong.
Since Panels adds a bunch of its own divs inside the container div, this was not working:
$('div.my_panel > ul.menu > li').click(function () { alert('click'); } );
After a little experimenting, I realized the child selector doesn't work the way I thought. It is a "child" selector I guess, not a "grand child" selector. So instead I used the JQuery 'find' function.
This worked: