Page 1 of 1

Enable/Disable Splash image via URL Parameters?

Posted: Tue Mar 30, 2021 10:22 pm
by benu
I want to be able to include a custom URL feature so the clients can include whether or not to show the intro splash page e.g.

Don't show the splash on load:
the.url/index.html#node1?splash=0

Show the splash on load:
the.url/index.html#node1?splash=1

The idea here is that I'd have a vis_splash variable in my skin, which changes into true or false based whether the URL splash parameter is 0 or 1.
I thought this might be something that's widely used, but after numerous searches, it's looking less common than I'd assumed.

Can anyone point me in a good direction? For now I'm trying some javascript (I can kinda, sorta scrape by as a coder) but so far no luck....

Thanks for any help!

Re: Enable/Disable Splash image via URL Parameters?

Posted: Wed Mar 31, 2021 8:49 am
by Hopki
Hi,
Have a look at this forum post: viewtopic.php?f=13&t=15454
Regards,