1

I see it in premium themes and D6 themes (demo). I would like to use it on my site.

3

Yes. There obviously isn't a Drupal 7 module for this yet (http://drupal.org/project/kwicks) but you can always just include the jquery plugin in your own theme / block implementation and roll your own slideshow.

Actual implementation of this would depend on what you are trying to do but according to the Kwicks documentation, all you need is to apply the kwicks js to a simple unordered list like this

    <div id="example1">
        <ul class="kwicks">
            <li id="kwick1"></li>
            <li id="kwick2"></li>
            <li id="kwick3"></li>
            <li id="kwick4"></li>
        </ul>
    </div>

So one (module-less) way you could do this is is to create a content-type of whatever it is you want to be in this slider, than create a view of these nodes with a style output of HTML list. In your views header, add a tag to include the kwicks code in:

<script src="http://kwicks.googlecode.com/svn/branches/v1.5.1/Kwicks/jquery.kwicks-1.5.1.pack.js" type="text/javascript"></script>

and then whatever jquery config you need to make the slide show, ex:

<script type="text/javascript">
    $().ready(function() {                
        $('.my-views-class .kwicks').kwicks();
    });
</script>

and output it as a block / page to place it where ever you want on your site.

  • Is there a tutorial anywhere on how to put a slider in d7? I just know very basic HTML / css...thanks! – hollyh Jul 2 '12 at 21:07
  • @hollyh - I've updated my answer with a little more detail on how you could go about this but its going to require some coding / implementation work to get this particular slideshow integrated in your site. Here's the documentation link for the kwicks plugin: jeremymartin.name/projects.php?project=kwicks – schnippy Jul 2 '12 at 21:27
  • alternatively - you should see if some of the other d7 banner options might work for you, ex: drupal.stackexchange.com/questions/1143/… – schnippy Jul 2 '12 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.