Support » Plugin: WP Featured Content Slider » Slide effect with left and right arrows

  • Resolved babouz44


    I set scroll right to the slide effect and there is something I don’t understand…
    Module scroll to the right but when I clic to the left arrow, module goes back to the last content but without scrolling to the left…
    In fact is always scrolling to the right, there is no back return effect… even if I set the scroll left effect, it’s the same but on the left…

    I think it’s a javascript problem but I’m not very good in it… Can someone please help me ?

    Thanks !

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m seeing examples of things working correctly over at the jquery cycle site. Not sure why they are not with this plugin.

    scrollVert (scrolls down by default) and scrollHorz (scroll to the right by default) offer this ability. Neither is there in the list.

    However here is a way to put it in there. You will need to edit options.php to add in a scrollVert option. Find the <select> section and add this above the first option:

    <option value="scrollVert" <?php if(get_option('effect') == "scrollVert") {echo "selected=selected";} ?>>Scroll Vert</option>

    Then to get it to scroll up (by default), edit content-slider.php and add this to <script> area need the top of the file:

    rev: 1,

    Select scrollVert on the options page and things will scroll up and scroll back down when you click the previous button.

    It is my hope that the plugin will be updated to have scrollVert and scrollHorz as options instead and a second option be added to scroll up or down. This will set the effect and rev (0 or 1) in the script and allow this feature to be there.

    Thread Starter babouz44


    Hi manndtp !
    You rock mate, It works great ! I have only changed your code to have the scroll horizontal instead of vertical.
    Indeed it will be great to have this option by default in a next update.
    Thank you again !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slide effect with left and right arrows’ is closed to new replies.