Hello to all,
I have to ask you a question that is a little running on, I started using Drupal for a few months between exercises and work done, I'm coming to the attention of a lot of ideas and I realize that drupal is really functional and I like a lot. .....
I before I started using drupal, I have always worked using html / css and some jquery, the right to re-use menu, gallery and effects and modify them at will in order to grow in this field, but now I had a some difficulty inserting jquery drupal on my pages,
I tried several methods to insert the javascript but with poor results, I can not understand.
We illustrate how I work to insert an effect of animation menu, try to be coincided to understand my steps and also to make it clear to those who are beginning to approach with jquery ..
The site under construction:
1) I loaded the jquery update module
2) I put the html test menu in an article
3) at the bottom of Article I entered
JS-function <script type="text/javascript"> etc. </ style>
- <style Type="text/css"> @ import url ("# percorso_del_css"); </ style>
4) Added the first of JS template.php with:
example_preprocess_html function (& $ vars) {
$ Options = array (
'Group' => magazeen_lite,
);