By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,377 Members | 1,697 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

CSS javascript tabs

P: 40

I want to use tabs in my html page using css and javascript. It would be like, suppose we have 3 tabs and onclick of the tab new div will open in the same place.

Please tell me how to code it with javascript

May 21 '09 #1
Share this Question
Share on Google+
3 Replies

P: 162
read some DOM Css tutorial online .. here one site might help you
May 21 '09 #2

Expert 5K+
P: 5,058

You could simply put 3 absolutely positioned DIVs on top of each other, invisible.
Then change the visibility of all three based on which tab is supposed to be open.
May 24 '09 #3

Expert Mod 5K+
P: 9,731
What have you tried so far Ansuiya?
May 26 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.