Error message
Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/tylerfra/public_html/includes/common.inc).
jquery
UPDATE: Please read this article for a much more detailed explanation on how to get PhoneGap up and running to communicate with Drupal Services.
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:
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: