javascript - How to find JS function name? -



javascript - How to find JS function name? -

i have implemented on website image gallery not allow (it seems) auto sliding. @ moment have force on button see next picture. purpose grab function allows move next image , set timeout go next image automatically.

how can js function name using google chrome developer tools?

thank you

update

this gallery script: http://tympanus.net/development/scatteredpolaroidsgallery/ implement auto sliding on it

source code proposal from: https://github.com/codrops/scatteredpolaroidsgallery/issues/4

(function() { function autosliding(timeout) { var self = this; cleartimeout(self.timeout); self.timeout = settimeout(function() { self._navigate('next'); }, timeout); } new photostack( document.getelementbyid( 'photostack-1' ), { aftershowphoto: function(context) { autosliding.call(context, 3000) }, afternavigate: function(context) { autosliding.call(context, 3000) } }); new photostack( document.getelementbyid( 'photostack-2' ), { aftershowphoto: function(context) { autosliding.call(context, 3000) }, afternavigate: function(context) { autosliding.call(context, 3000) } }); }())

javascript

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -