# 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`       |
| `}`               |           |             |                                                                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://transition-slider.gitbook.io/jquery/slider-options/loading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
