Hey Guys
You guys have any idea on how and where to insert the Jquery in the nice menus?
- Login or register to post comments
- 2177 reads
-
Your feedback


Recent comments
- I have contributed a module
20 weeks 6 days ago - Improved Image menu
39 weeks 3 days ago - Great code!
41 weeks 1 day ago - Code Search is ready
50 weeks 4 days ago - I would love to see an
1 year 2 weeks ago - Thank you very much for your
1 year 3 weeks ago - Commented code
1 year 3 weeks ago - We are glad to know that the
1 year 3 weeks ago - Enhancements to codes
1 year 3 weeks ago - We have developed a module
1 year 4 weeks ago



Well, this is not the best way to achive it. You have to trigger a Jquery action when certain event occurs like displaying nice menu. You can add your custom Jquery function/event/action in the header by including in .tpl.php file. When an event occurs, it triggers an action. Make sure the .js file shows up in the header section of the page using firebug.
Regards.
You have explained the process but i need to know which part should i have to insert my jquery. I tried inserting my jquery in the "nice_menus.js" file but nothing happened :( . After wasting hell lot of time in this i found beta4 released in nice menus so i upgraded my nice menu from 6.3 to beta4 . After that some power came to my menu bar, jquerry was working but affected my CSS :( after that i was like totally --->("0.0"). So i made a quick undo and started to do my own jquery but i got stucked in the insertion. Please enlightnen me .
Thanks in Advance
Hi
Create a separate .js file and add it to .tpl.php files. This will do.
Regards.
Hi,
Were you able to fix this?
Regards.
Yes, i have fixed ...