#script tag in astrov3

12 messages · Page 1 of 1 (latest)

quiet trout
#

I have this language selector, the path are translated. So when the page loads it should call that function to replace the paths in option's value.
I am not able to figure out what should i use instead of window.onload

icy delta
#

your link is broken

quiet trout
#

I found a guide in astro docs, now it's working

#

Thanks for replying, closing it

#

/solved

icy delta
quiet trout
#

please follow this guide, at the bottom it mentions translated path

#

if anyone don't want to use anchor tag, he can use navigate from astro core