# Loading

```markup
<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of loading style options
            loading: {
                style: "style2",
                color: "#333333",
                backgroundColor: "#ffffff",
                fadeEffect: true
            }
        });
    });
</script>
```

| **Parameter**      | Type      | Default     | Description                                                                   |
| ------------------ | --------- | ----------- | ----------------------------------------------------------------------------- |
| `loading`          | `object`  |             | Loading screen between slides. Disable this parameter with `false`.           |
| `{`                |           |             |                                                                               |
|  `fadeEffect`      | `boolean` | `true`      | The loading screen is placed between slides with fade in and fade out effect. |
|  `backgroundColor` | `string`  | `"#FFFFFF"` | Background color of the loading screen.                                       |
|  `textColor`       | `string`  | `"#333333"` | Text color of the loading screen.                                             |
|  `style`           | `string`  | `"style2"`  | Predefined loading styles. Values: `effect1, effect2, effect3, effect4`       |
| `}`                |           |             |                                                                               |
