On 30 January 2011 08:17, KindaCurious <[email protected]> wrote: > Hi all together > To use some jquery in my Theme, I tried to include the jquery library > as it's explained in the wiki, > but when I wrote some functions they didn't work. If I just upload my > own jquery library and link to it, the functions are working. Here is > my theme.php: http://pastebin.com/zyJY3NTb > Is there anyting wrong with the code? I hope someone can help me.
How and where do you add your own functions? Are they getting executed before jQuery is loaded? If you add your script using the Stack class, you can specify that it is dependent on jQuery, and will be loaded afterwards, as described here http://wiki.habariproject.org/en/Dev:Adding_Javascript_and_CSS#Stack_Dependencies -- Michael C. Harris, School of CS&IT, RMIT University http://twofishcreative.com/michael/blog IRC: michaeltwofish #habari -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
