Streaming live at 10am (PST)

[SOLVED] Unique URL Modal/Tab


Hi guys,

I'm kind of stuck here and I really don't know if is possible.
I basically need a unique url for my login and sign-in modal.

URL... /modal/tab1
URL... /modal/tab2

I've already tried some custom code that I found here on the forum but I failed miserably :frowning:

Thanks for any help in advanced!


Here's my preview:

Segmented Controller Nav

In case someone is also looking for something similar:

Problem: activate a modal and choose a particular tab with URL parameters.
http:// ... ?signup
http:// ... ?login

Footer code:

//Login and Signup URL parameters
function urlparam(){
    var url = window.location.href.split('?')[1];
    if (url == 'login') {
    document.getElementById('loginMainContainer').style.display = 'block';
} else if (url == 'signup'){
		document.getElementById('loginMainContainer').style.display = 'block';

Don't forget to add an id on you modal div [loginMainContainer]
And add an extra class on your tab links .signup / .login

PS.: Thanks @PixelGeek for pushing me forward :slight_smile: