English 中文(简体)
jquery 1.6.2 and 1.4.2 issue. how to fix this?
原标题:jquery 1.6.2 and 1.4.2 issue.. how to fix this?
  • 时间:2011-10-10 01:49:06
  •  标签:
  • jquery

I have a few jquery thinngs added to my site like gallery, callendar, autocomplete the problem is that all works except that when I click on a image the main image is not changing. I used to click on a thumbnail and in a larger div I get the larger picture displayed, but this thing isn t working since I replaced jquery 1.4.2 with 1.6.2. What is the difference between them and how can I fix this?

这里是主要页上我的彩礼的js代码,在汽车上盖毯的颜色,以及显示相关产品的小umb子。

 <script type="text/javascript">
    $(function() {
      $( #newsflash-text ).cycle({
        timeout: 5000,  // milliseconds between slide transitions (0 to disable auto advance)
        fx:       fade , // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        pause:   1,   // true to enable "pause on hover"
        cleartypeNoBg:   true, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
        pauseOnPagerHover: 0 // true to pause when hovering over pager link
      });
      $( #slideshow ).cycle({
        timeout: 5000,  // milliseconds between slide transitions (0 to disable auto advance)
        fx:       fade , // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        pause:   1,   // true to enable "pause on hover"
        pager: #pagerslide ,
        cleartypeNoBg:   true, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
        pauseOnPagerHover: 0 // true to pause when hovering over pager link
      });

//for scroll box
$( #scroll-box ).cycle({
  timeout: 0,  // milliseconds between slide transitions (0 to disable auto advance)
  fx:      scrollHorz , // choose your transition type, ex: fade, scrollUp, shuffle, etc...
  prev:    #arrowprev , // selector for element to use as click trigger for next slide
  next:    #arrownext , // selector for element to use as click trigger for previous slide
  cleartypeNoBg:   true, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
  height:         150, // container height
  pauseOnPagerHover: 0 // true to pause when hovering over pager link
});

// for slideshow with thumb image
$( #img-slide-large ).cycle({
  fx:      fade ,
  speed:   slow ,
  timeout: 6000,
  pager:   #nav-thumb ,
  pagerAnchorBuilder: function(idx, slide) {
    // return sel string for existing anchor
    return  #nav-thumb li:eq(  + (idx) +  ) a ;
  }
});
});
</script>

是否有办法解决这一问题? 如果我去掉了1.6.2 j,安装了1.4.2,那么这一小部分工作却失败了汽车。 把这2个 j格案卷合并起来,以便所有要素都发挥作用吗? 感谢。

最佳回答

Done! 我刚刚尝试另外释放了1.4.4件酒吧。 现在一切都在进行。 因此,如果在X需要1.2.2版本时,如果你有这些问题,Y需要1.5.2版本,那么就只能尝试用释放之间的间隔代替你释放。

问题回答

http://jquery.malsup.com/rix/download.html“rel=“nofollow”http://jquery.malsup.com/rix/download.html





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签