Welcome Guest. Sign in or Signup

0 Comments

How to build tab like UI using anchors and divs?

Asked by: 18303 views Common

0
0

The following example uses 3 anchor tags each bound to a some content enclosed within divs. Clicking on these tags will show the corresponding div and hide the others.

Note the use of “window.location.hash” to save the last selected anchor to ensure that page refreshes continues to show the latest shown content.

Comments on Question