Appearance and Styling

15 Dec 20171 minute to read

Adjusting rotator item size

Slide width

This property sets the width of a Rotator Item. The value set to this property is string or number.

  • JAVASCRIPT
  • $(function () {
            // declaration
            $("#sliderContent").ejRotator({ slideWidth: "500px" });
        });
  • JAVASCRIPT
  • $(function () {
            // declaration
            $("#sliderContent").ejRotator({ slideWidth: 500 });
        });

    Slide height

    This property sets the height of a Rotator Item. The value set to this property is string or number.

  • JAVASCRIPT
  • $(function () {
            // declaration
            $("#sliderContent").ejRotator({ slideHeight: "500px" });
        });
  • JAVASCRIPT
  • $(function () {
            // declaration
            $("#sliderContent").ejRotator({ slideHeight: 500 });
        });