简体   繁体   English

超大型api.nextSlide();?

[英]supersized api.nextSlide();?

I am using the supersized plugin: http://buildinternet.com/project/supersized/docs.html#api_docs 我正在使用超大插件: http : //buildinternet.com/project/supersized/docs.html#api_docs

But it is troubling me, the documentation is not very clear or not to me at least. 但这让我感到困扰,至少对于我来说,文档不是很清楚。 I am trying to load different images via my menu items, the doc says to insert the following but I do not understand where I should be adding this: 我试图通过菜单项加载不同的图像,文档说要插入以下内容,但我不知道应该在哪里添加:

$(element).click(function(){
api.nextSlide();
});

I tried to put it anywhere with no luck, anyone? 我试图把它放在任何没有运气的地方,有人吗?

I had to include any css files that came with supersized. 我必须包括超大型附带的所有css文件。 And i missed them, that what the issue was. 我想念他们,那是问题所在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM