Hi, I really like your template, I am new to Drupal and JQuery Cycle, can you tell me how to create this slideshow to a text slideshow. Thanks

Comments

danpros’s picture

Hello,

Danland using the complete jQuery Cycle so it can creating any slideshow like Text, Videos and more.

The call is

<script type="text/javascript">
jQuery(document).ready(function($) {
    $('your-component-classes-or-ids').cycle({
		fx: 'the-effect-you-choose' , timeout: the-timeout-value, delay: the-delay-value});
});</script>

Here are the example if you want creating a slideshow for the Preface top region

  1. Creating new 3 block that contains text
  2. Place all new block to Preface top region
  3. Add this into your page-front.tpl.php (between head)
  4. <script type="text/javascript">
    jQuery(document).ready(function($) {
        $('#preface').cycle({
    		fx: 'fade' , timeout: 8000, delay: 2000});
    });</script>
    
  5. Modify the CSS to styling the text

Above is just example how the slideshow work.

lionheart8’s picture

Hi

Is there anyway one could use this slideshow, modified to use text + images in a block instead?
I need to rotate content, but the content slider module will or some reason not work as expected. It keeps producing all sorts of errors. I thought I could use this slide show ....
Other slideshows I have tried for some reason are not appropriate.
Using non-Drupal slde shows, e.g from dynamicdrive.com has not been successful. The problem here is me not knowing how to use configure them to work in drupal, e.g. by using <? .... ?> to embed them in a page or by simply pasting.
I need to have content which will at times include images in a box on the front page, content area being rotated.

Regards

danpros’s picture

Hi,

Maybe you should read this.

danpros’s picture

Status: Active » Closed (fixed)

The best solutions is using a module like Views Slideshow because no coding required.

I close this, please re-open if you need more helps.

Thanks,