+ 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
4 Antworten
+ 1
You could use
window.location = "https://www.sololearn.com";
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
0
Marco plzz briefly explain your answer with an example
0
following the files modified...
https://code.sololearn.com/WBbHvNjLOIHn
https://code.sololearn.com/Wovp3BKellHF