# Link to a specific slide in a slideshow on another page

**URL:** <https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [January 11, 2020, 8:14pm UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155 "2020-01-11T20:14:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![veronikamarikova](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/veronikamarikova/32/16708_2.png) [@veronikamarikova](https://forum.wixstudio.com/u/veronikamarikova)\
**Post date:** [January 11, 2020, 8:14pm UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/1 "2020-01-11T20:14:30Z")

</div>

Hello:-)

I’m a beginner, can use only very simple codes in Corvid (.show, .hide, etc.). However, now I need to create a link from a button that appears on all pages to a certain slide in a slideshow that is placed on a page. Please, could you give me some advice on how to do it or where can I find it?

Thank you very much!

Veronika

---

<div class="post-metadata">

**Author:** ![skmedia](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/skmedia/32/5616_2.png) [@skmedia](https://forum.wixstudio.com/u/skmedia)\
**Post date:** [January 11, 2020, 10:44pm UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/2 "2020-01-11T22:44:51Z")

</div>

You can use a cookie from the [wix-storage API](https://www.wix.com/corvid/reference/wix-storage.html#memory) or a url query with this [wixLocation API](https://www.wix.com/corvid/reference/wix-location.html#query) .

Set your cookie before using wixLocation.to() to redirect to the page your slideshow is or make sure your link has a descriptive query like maybe the index of the slide you want. On that page, you can add code to detect the url query/cookie and set the slide number with [this](https://www.wix.com/corvid/reference/$w.Slideshow.html#changeSlide) .

---

<div class="post-metadata">

**Author:** ![veronikamarikova](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/veronikamarikova/32/16708_2.png) [@veronikamarikova](https://forum.wixstudio.com/u/veronikamarikova)\
**Post date:** [January 12, 2020, 7:53am UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/3 "2020-01-12T07:53:19Z")

</div>

Hello David,

thank you a lot, I´ll give a try, hopefully I can do it:-)

---

<div class="post-metadata">

**Author:** ![veronikamarikova](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/veronikamarikova/32/16708_2.png) [@veronikamarikova](https://forum.wixstudio.com/u/veronikamarikova)\
**Post date:** [January 12, 2020, 8:49am UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/4 "2020-01-12T08:49:25Z")

</div>

Hello,

Unfortunately, I am not doing it, I´m sorry, I´m really a just a begginer…

Please, wouldn’t it be possible to give me more specific advice if I include pictures here?

In the left menu, which is displayed on all pages, is Button. The second picture shows a slide in a slideshow on the page where I need to go.  
(I know how to change slides with buttons on this page, this is the code:  
export function buttonOpen\_click(event) {  
$w(‘#fullWidthSlides1’).changeSlide(1);

Thank you for an advice and a patience…

 ![](https://us1.discourse-cdn.com/wix/original/3X/3/4/344874ac6ccb817160e85ad013ec3a1a1a83f565.jpeg)

 ![](https://us1.discourse-cdn.com/wix/original/3X/c/0/c0791f7f42ad836adef83d562784fadd2eea036c.jpeg)

---

<div class="post-metadata">

**Author:** ![adcatch02](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/adcatch02/32/12916_2.png) [@adcatch02](https://forum.wixstudio.com/u/adcatch02)\
**Post date:** [January 12, 2020, 9:46am UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/5 "2020-01-12T09:46:54Z")

</div>

have you tried to use the code you have from your button with the wix location api?  
you could try to import wix location as part of the button redirect and add the location to code from the api

---

<div class="post-metadata">

**Author:** ![skmedia](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/skmedia/32/5616_2.png) [@skmedia](https://forum.wixstudio.com/u/skmedia)\
**Post date:** [January 13, 2020, 11:37pm UTC](https://forum.wixstudio.com/t/link-to-a-specific-slide-in-a-slideshow-on-another-page/30155/6 "2020-01-13T23:37:31Z")

</div>

Maybe this will help :  
[https://www.skeptischmedia.com/lib/sk/url-queries-explained](https://www.skeptischmedia.com/lib/sk/url-queries-explained)
