English 中文(简体)
任何假设:如何重新启动幻灯
原标题:AnythingSlider: how to restart slideshow

I m starting the slideshow in a pop up div by clicking a button using $( #slider2 ).data( AnythingSlider ).startStop(true);

• 将幻灯照射(#slider2)数据(任何数据)

当我点击同一个纽子再次显示,它只是继续从先前停止的滑坡手上。 我希望整个幻灯再次开始。 我如何能够这样做?

最佳回答

when restarting, do this:

$( #slider2 ).anythingSlider(1); // Reset to first slide
$( #slider2 ).data( AnythingSlider ).startStop(true);
问题回答

暂无回答




相关问题
Checkpointing and restarting X11 applications

I want to checkpoint and restart X11 applications. I am using the BLCR (Berkeley Lab Checkpoint/Restart (BLCR)) tool. BLCR is not able (without modifications) to reinitiate the connection to the X-...

PHP APC uptime problem

I am on LAMP with Alternative PHP Cache (APC). It worked fine until yesterday when I updated the website and changed a few MySQL queries (I don t see how it would affect the APC opcode cache.) Today ...

Android: How to restart an activity within a tabhost?

I ve searched and I know it seems some people frown upon using activities within tabs, but moving past that...how would I restart a tabbed activity while still keeping the tabs visible? I have an ...

Is onApplicationStart is good Idea in ColdFusion?

I have to use a Variable(Query Resultset) in ColdFusion, which will get the results from Other Application DB, and stores in Coldfusion Application. The main idea is that I need to call the other ...

Capistrano not restarting

Capistrano is deploying cold, deploying updates and uploading the symlink fine. It will not however restart. I notice that permission is denied on the /script/process/reaper file. I have found a ...

Wipe SVN to reinitialise

Does anybody know how to delete the complete svn repository including old revisions? I just want to start again ;) Thanks, wishi

热门标签