+ 2

Can someone tell me how to create tabs in JavaScript??

9th Oct 2017, 4:19 AM
PAVAN
PAVAN - avatar
3 Antworten
+ 6
1 use JQuery 2 pure js example : create 4 tabs create four divs on loading show 1 div hide 3 when button 1 pressed show div 1 hide others when button 2 pressed show div 2 hide others when button 3 pressed show div 3 hide others when button 4 pressed show div 4 hide others there are ways to simplify this, but that is the basic ! you might also want to play with colors and borders to give a realistic effect !
9th Oct 2017, 4:40 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
Actually i tried it and failed .could someone give me a code
9th Oct 2017, 5:07 AM
PAVAN
PAVAN - avatar