Enable/Disable Splash image via URL Parameters?
Posted: Tue Mar 30, 2021 10:22 pm
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!
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!