Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi glowbewohner !!

    give this a try .

    you will have to edit (wp-cycle.php) this file in wp_cycle plugin.

    <script type="text/javascript">
    jQuery(document).ready(function($) {
    	$("#<?php echo $wp_cycle_settings['div']; ?>").cycle({
    	    fx: '<?php echo $wp_cycle_settings['effect']; ?>',
    	    timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>,
    	    speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>,
    	    pause: 1,
    	    fit: 1
    	});
    });
    </script>

    find this script in the bottom of the page. add
    random: 1
    below fit: 1

    don’t forget to add a (,)comma after fit: 1

    see if it helps .

    Thread Starter glowbewohner

    (@glowbewohner)

    Hi, i’ve tried this, but it doesnt work for me ??
    Do i need some changes in the jquery.cycle.all.min ?

    Gyan Gaurav

    (@gyan-gaurav)

    normally it works. can you post a link to your site here. ?

    Thread Starter glowbewohner

    (@glowbewohner)

    Gyan Gaurav

    (@gyan-gaurav)

    hi glowbewohner,

    have you added the code random: 1 there. ?

    its not showing up here. can you please write the part of code you modified ?

    Thread Starter glowbewohner

    (@glowbewohner)

    jeah, i’ve tried. But i changed it back.

    Gyan Gaurav

    (@gyan-gaurav)

    Ok. can you please add it once more. It did work when I tried this.

    Thread Starter glowbewohner

    (@glowbewohner)

    I think we get it now . THX

    Gyan Gaurav

    (@gyan-gaurav)

    Great. please mark the issue resolved.

    Thread Starter glowbewohner

    (@glowbewohner)

    At first time you write we have to add:
    random: 1
    below fit: 1

    but “below fit: 1” destroyed the result. The correct code is:

    <script type="text/javascript">
    jQuery(document).ready(function($) {
                    $("#<?php echo $wp_cycle_settings['div']; ?>").cycle({
                        fx: '<?php echo $wp_cycle_settings['effect']; ?>',
                        timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>,
                        speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>,
                        pause: 1,
                        fit: 1,
                        random: 1
                    });
    });
    </script>

    Gyan Gaurav

    (@gyan-gaurav)

    Oh. my bad. I really didn’t think about this. actually I have used it on my slides. and in the same way you mentioned. I am really sorry I forgot to notice that sequence.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to change order?’ is closed to new replies.