Choose which slide to load first

⚠️ This article was created for developers!

To be able to follow the steps, you're required to have coding knowledge. If you're not a developer and can't achieve what you're looking for, consider hiring a developer.

Make sure to carefully follow the tutorial and write correct code. We're unable to provide help with custom coding, or the possible issues that are happening because of them.

You can change which slide should load first with a script, which should load before the slider finished loading. In this example 265 is the slider's id, and 2 is the slide index (which is the index of the third slide in your slide list).

<script>
window['ss265'] = 2;
</script>

You can put this code for example just before your website's </head> part.

Example
<!DOCTYPE html>
<html>
<head>
...
<script>
window['ss265'] = 2;
</script>
</head>

and you could ask down for example based on the url, which slide do you want to show first.

PHP

You use can the echo PHP function to define the starting slide. Here is an example:
<script>
window['ss265'] = <?php echo $slideID; ?>;
</script>

And you can generate the $slideID variable with your own codes.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.