LeeTaylorDoes

  • Archive
  • RSS
  • Ask me anything
  • Submit

Making It Happen: Coda-Slider

Hi All,
I knew it, you were wondering what jQuery tool we used across our site and how we customized it, right? Well, here’s one small way in how we added a bit to the core code.
  While reading along in some of the forums (located here: http://www.ndoherty.com/blog/2007/10/29/coda-slider-11/), I noticed some are wanting an “auto-slide” feature for this thing (great job by the way Niall Doherty).  
Here’s how you do it:
 
Modify the js code included in the page's header into this:
[sourcecode language='js'] jQuery(window).bind("load", function() { jQuery("div#slider1").codaSlider() // jQuery("div#slider2").codaSlider() // etc, etc. Beware of cross-linking difficulties if using multiple sliders on one page. //call every __ seconds var autoSlide = setInterval(function() { $("#left-link").click(); }, 10000); }); [/sourcecode]
And change line 63 (i believe, or corresponding line of code) of coda.slider.1.1.1.js:
[sourcecode language='js'] jQuery(this).before(”
Left”); [/sourcecode]  
And there you have it. Feel free to check us out here where we may be hosting some cool developments.
 

Hat's off to Niall Doherty and others who have put their efforts towards this sweet tool.

 

  • 3 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

technology, communication, and simplistic innovations to share wealth and opportunities globally and socially.

Pages

  • Contact

Me, Elsewhere

  • @timothyltaylor on Twitter
  • My Skype Info
  • Linkedin Profile
  • leetaylordoes on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Submit
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr