I was using views slideshow module and it is worked fine, and this is shows a block with SingleFrame.
I made a little module with jQuery tools what is show a block, and it is working how I like. The important part is:
drupal_add_css(drupal_get_path('module', 'pfemt') . '/css/pfemt.css');
drupal_add_js(drupal_get_path('module', 'pfemt') . '/js/jquery.tools.min.js');
drupal_add_js(drupal_get_path('module', 'pfemt') . '/js/pfemt.js');
/* There is some links */
I downloaded the jquery.tools from the official place. My pfemt.js is simple:
Drupal.behaviors.pfemt = function (context) {
$('.pfemt li a').tooltip();
}
If I like to use this to blocks together I get the following js error:
$(settings.targetId).cycle is not a function
The test page location: http://pfe.amon.hu. It is a Hungarian page. There is links around the tree there should be the tooltip. If you go for example to the http://pfe.amon.hu/node/8 page (where is no tree), the slideshow is working perfectly (I know I must write some css.)
I tried to find the solution in google and in the issues but nothing. Thanks for the help!
sajt
Comments
The jquery.tools.min.js is
The jquery.tools.min.js is overwrite the cycle function. I do not know how. I used only the tooltip part of this and everything is working.