Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #201117

    Hi, how can I stop the content slider to change automatically? I just want to change the content by clicking on the buttons…thanx a lot

    this ist the JS document I found:

    scnShortcodeMeta={
    attributes:[
    {
    label:”Slides”,
    id:”content”,
    controlType:”tab-control”
    },
    {
    label:”Autorotation”,
    id:”rotation”,
    help:”Let the slides change automatically after X seconds. X is the number you choose here”,
    controlType:”select-control”,
    selectValues:[”, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ‘9’, ’10’, ’11’, ’12’, ’13’, ’14’, ’15’, ’16’, ’17’, ’18’, ’19’, ’20’, ’30’, ’40’, ’30’, ’60’],
    defaultValue: ”,
    defaultText: ‘no autorotation’
    }
    ],
    disablePreview:true,
    customMakeShortcode: function(b){

    var a=b.data;
    var tabTitles = new Array();

    if(!a)return””;

    var c=a.content;
    var r= ‘ ‘+b.rotation;

    var g = ”; // The shortcode.

    for ( var i = 0; i < a.numTabs; i++ ) {

    var currentField = ‘tle_’ + ( i + 1 );

    if ( b[currentField] == ” ) {

    tabTitles.push( ‘Slide ‘ + ( i + 1 ) );

    } else {

    var currentTitle = b[currentField];

    currentTitle = currentTitle.replace( /”/gi, “‘” );

    tabTitles.push( currentTitle );

    } // End IF Statement

    } // End FOR Loop

    g += ‘[slideshow’+r+’]<br/><br/>';

    for ( var t in tabTitles ) {

    g += ‘[slide title=”‘ + tabTitles[t] + ‘”]’ + tabTitles[t] + ‘ content goes here.[/slide] <br/><br/>';

    } // End FOR Loop

    g += ‘[/slideshow]';

    return g

    }
    };

    #201666

    Hey aleta1974!

    You can simply choose “no” in Autorotation Active? in Slideshow of options of the page.

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.