That's sort of what I figured would be the way to do it.
I found this page http://renaudjoubert.com/en/article/how-add-javascript-drupal-7-jquery I was rather confused by this text (partial quote) "In the present case, the next best way - a proper way - is to embed the
script directly into the Article template of the theme. In doing so, the
script will be available for all nodes created with the Article content
type. Now, that's even better. So how do we do this?"
I thought that sounds rather cumbersome.
That's when I thought I must ask.
Tony
In your theme's info file, put the location/name of your custom .js below any other scripts. Clear your theme cache and it should take effect.
http://drupal.org/node/171205#scripts
Everything else about a theme's info file, such as adding more stylesheets or various other features, is also on this page.
Jake Roufa
208.557.9390
On Fri, Mar 16, 2012 at 6:03 PM, Anthony <tony@tony-mac.com> wrote:--before I start searching away. How to best use JS in Omega? How to integrate some JQuery in Drupal 7 and Omega? Is there an article that quickly comes to mind. Thanks for any tips.
Tony
--Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]
Anthony Stefan Maciejowski
tony maciejowski | analyst/programmer | websites | www.tony-mac.com
Twitter: anntosh | Cell: 323.899.6206 | Linked-In: Anthony Maciejowski
“Hope is not the conviction that something will turn out well, but the certainty that something makes sense, regardless of how it turns out.”
--- Vaclav Havel