By mxer269 on
Hi guys,
I am new to JQuery so sorry if I don't get it... but how do I add JQuery to a block? I have the latest JQuery UI module installed and I have a code written that I want displayed in a block. This is the code:
Accordion Using jQuery
Put your mouse over each head to toggle the new elements
Today's Events
orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit
New Places For Rent
orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit
Test
orem ipsum dolor sit amet, consectetuer adipiscing elit orem ipsum dolor sit amet, consectetuer adipiscing elit
So I just want to know how to display this in a block. Where do I add the add drupal js command?
Also, I should probably mention that the blocks I want displayed are associated with Views, so those settings willl need to be displayed as well.
Thanks for the help!
Comments
You might want to check out
You might want to check out the Views Accordion module.