-1

i am trying to implement A J CAROUSEL SLIDER in a popup opened via thick box.

have tried a lot but still not got any success. its working in HTML while calling direct but while calling via popup it doesn't work.

Can any body help me out of this, even a small help also will be appreciated.

4

1 回答 1

0

您应该在该弹出窗口中分别加载插件和 jquery。弹出窗口是一个新页面,所有 js 和 css 文件也应该在那里加载

所以你的弹出代码应该是这样的:

<html>
  <head>
    <link rel="stylesheet" href="path-to/css.css" />
    <script src="path-to/jQuery.js"></script>
    <script src="path-to/jQuery.jCarousel.js"></script>
    <script>
      // jCarousel init
    </script>
  </head>
  <body>
  </body>
</html>
于 2012-10-29T07:12:57.473 回答