jquery doesnt work in my template, any suggestions?

2 views
Skip to first unread message

motix

unread,
Oct 4, 2011, 10:09:53 AM10/4/11
to BlackMaster
Hello, i try to apply slideshow jQuery script
http://www.motixdesign.com/index2.php
to wordpress, I am trying to make it work, it seems like i put js code
corectly, but for some reason, it cant see any js scripts. i included
those js scripts in js folder in my template and referenced it in
functions.php file as:

if ( !is_admin() ) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/
libs/jquery/1.4.2/jquery.min.js"), false);
wp_enqueue_script('jquery');

wp_register_script('hoverIntent',
get_bloginfo('template_directory') . "/js/
jquery.hoverIntent.minified.js");
wp_enqueue_script('hoverIntent');

....and so on

anyone has an idea what might cause a problem? thanks for reply

motix

unread,
Oct 5, 2011, 11:52:45 AM10/5/11
to BlackMaster
i fixed that problem, the issue was with right directory and files
permissions

I am curious if i could make an animated gallery but just for one
large picture, instead of 3 small ones.
I looked into different jquery fancybox files looking for a width of
the box, but could not find one, anyone knows if this could be easy to
do inside jquery? any suggestions? thanks for help.

link to example i am working with --> http://www.motixdesign.com/
Reply all
Reply to author
Forward
0 new messages