+ 1

link redirect to another page and specific tab

I have 2 pages, say the 1st:- menu.html and 2nd:- navigate.html In another page, I have 4 <nav> that are just tabs and shows only a specific content when you click a tab-link. So all I want is to navigate from menu.html to the tab selected by us in menu.html to the tab in navigate.html Can anyone help me First pg:- menu.html https://code.sololearn.com/WOEkF7d1Wd9B/?ref=app 2nd pg:- navigate.html https://code.sololearn.com/WbUPHmJ6GRuR/?ref=app

14th Jan 2022, 8:11 AM
Anima Singh Dhabal
Anima Singh Dhabal - avatar
4 Respostas
+ 1
You could use window.location = "https://www.sololearn.com";
14th Jan 2022, 12:22 PM
JaScript
JaScript - avatar
0
You can set a valute into link href="navigate.html?whichTab=First Then add a script in navigate Page that grab the whichTab valute and display corresponding tab choosen
14th Jan 2022, 8:53 AM
Marco Ginato
Marco Ginato - avatar
0
Marco plzz briefly explain your answer with an example
14th Jan 2022, 8:58 AM
Anima Singh Dhabal
Anima Singh Dhabal - avatar
14th Jan 2022, 1:23 PM
Marco Ginato
Marco Ginato - avatar