Viewing 3 replies - 1 through 3 (of 3 total)
  • How do you make the sliding widget, slide open on page load?

    In the /tpls directory locate right.php and/or left.php and just add the following italic code in-between as shown below. It should work. Hope you enjoy. ?? Pls. don’t feel shy to thank me. :D.

    <script>
    var wpssclose_ = 0;

    /* ————————————– */
    jQuery(‘#wpbs_slider’).animate({
    right: ‘+=<?php echo $width; ?>’
    }, 400, function () {
    // Animation complete.
    });
    /* ————————————– */

    jQuery(‘#icon_label’).click(function () {
    if (wpssclose_ == 0) {

    jQuery(‘#wpbs_slider’).animate({
    right: ‘-=<?php echo $width; ?>’
    }, 400, function () {
    // Animation complete.
    });

    wpssclose_ = 1;
    } else {

    jQuery(‘#wpbs_slider’).animate({
    right: ‘+=<?php echo $width; ?>’
    }, 400, function () {
    // Animation complete.
    });
    wpssclose_ = 0;
    }
    });

    /* Visit me at https://www.netup.in */

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open by default?’ is closed to new replies.