jQuery TOOLS 可滚动找不到其导航器
所以,这里有一个小问题:)
我正在使用 jQuery 工具 来制作一个整洁的小可滚动画廊。工作得非常好,直到我将相关导航器一个节点移离可滚动 div 太远。
Aaand.. 现在他们不想再互相交谈了。
这里我们使用代码:
<section>
<div class="scrollable">
<div class="gallery_items">
<div class="gallery"><!-- Stuff goes here --></div>
<div class="gallery"><!-- the rest of it here --></div>
</div>
</div>
</section>
<footer>
<div class="navigation">
<a href="#1">1</a>
<a href="#2">2</a>
</div>
</footer>
<script type="text/javascript">
$('.scrollable').scrollable({
circular: false, keyboard: false
}).navigator({
navi: '.navigation', naviItem: 'a'
});
</script>
知道如何连接页脚导航以便可滚动吗? :)
此致,来自德国的 Pakuna!
So, got a little problem here :)
I'm using jQuery TOOLS to make a neat, little scrollable gallery. Worked perfectly fine until i moved the correlating navigator one node too far away from the scrollable div.
Aaand.. now they don't want to talk to each other anymore.
Here we go with the code:
<section>
<div class="scrollable">
<div class="gallery_items">
<div class="gallery"><!-- Stuff goes here --></div>
<div class="gallery"><!-- the rest of it here --></div>
</div>
</div>
</section>
<footer>
<div class="navigation">
<a href="#1">1</a>
<a href="#2">2</a>
</div>
</footer>
<script type="text/javascript">
$('.scrollable').scrollable({
circular: false, keyboard: false
}).navigator({
navi: '.navigation', naviItem: 'a'
});
</script>
Any idea how to connect the footer navigation so the scrollable, pleeeease? :)
Sincerely, Pakuna from germany!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过将所有内容四舍五入:
Have you tried rounding everything in: