开发者

Why this jquery plugin not working with 1.4.2

http://plugins.jquery.com/project/semantictabs

What is the means of this Status - Recommended for 1.0.x

I'm using this plugin code as it is http://plugins.jquery.com/files/jquery.semantictabs.js_4.txt

then this ( I'm also using prototype.js onsite)

jQuery.noConflict();

   jQuery(document).ready(function(){
$("#mytabset").semantictabs({
  panel:'.mypanelclass',            //-- Selector of individual panel body
  head:'headelement',             //-- Sel开发者_如何学编程ector of element containing panel header, i.e. h3
  active:':first'                         //-- Which panel to activate by default
});
});


Try changing

$("#mytabset").semantictabs({
  panel:'.mypanelclass', //-- Selector of individual panel body
  head:'headelement', //-- Selector of element containing panel header, i.e. h3
  active:':first' //-- Which panel to activate by default
});

to

jQuery("#mytabset").semantictabs({
  panel:'.mypanelclass', //-- Selector of individual panel body
  head:'headelement', //-- Selector of element containing panel header, i.e. h3
  active:':first' //-- Which panel to activate by default
});


Looks like a typo to me, or it doesn't refer to the jQuery version at all, but to the version range of the plugin itself. The latest release is from January this year - I don't think anybody will develop a plugin for JQuery 1.0.x nowadays.

I'd just try it out. Chances are it works.

Re your update: You seem to be using it already. Is there something that doesn't work?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜