ThemeShaper Forums » Thematic


Need some help, Im looking for a plugin.

(3 posts)
  • Started 12 years ago by bigdanprice
  • Latest reply from bigdanprice
  • This topic is resolved
  1. Hi All,
    Ive got a client that wants an image slider with an audio clip on the image change, but only for the first round of images... anyone got any thoughts on this? There must be a plugin out there that can do it, but Im at a loss after trawling through hundreds of offerings! (Im trying to avoid flash if possible)

    I was thinking as an ugly hack I could go back to the 1997 web and play the audio clip timed to the image change but want to avoid this...

    Ive even tried explaining that noises on websites are annoying, but they're adamant!

    Can you help me Themeshaper forums? Your my only hope!

    Posted 12 years ago #
  2. gotta love it when the clients insist on terrible ideas. i've never seen anything that does this and have seen my fair share of jquery plugins, so my guess is you will have to do scripting yourself. i'd probably try to find a slider that has events/callbacks (my scripting vocab isn't the top) and run a function that fires the sound on the change slide event.

    for instance, if you take a look at nivo slider

    the plugin comes w/ some options that would be relevant

    beforeChange: function(){}, // Triggers before a slide transition
    afterChange: function(){}, // Triggers after a slide transition
    slideshowEnd: function(){}, // Triggers after all slides have been shown
    lastSlide: function(){}, // Triggers when last slide is shown
    afterLoad: function(){} // Triggers when slider has loaded

    you could hook up the sound playing function to before or afterChange, wrapped in conditional logic that tests for a variable. change that "flag" variable in slideshowEnd or lastSlide so that the next time around the sound function isn't triggered.

    never tried this, but it might be adaptable to your needs:

    also, i loathe unanticipated sound on the web. roar.

    Posted 12 years ago #
  3. Thanks so much! Fantastic and full reply!

    I feared I would have to code it myself! I will post back here the solution Ive come up with, for now I will mark it as a resolved.


    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.