user3857185
user3857185

Reputation:

Efficiency in creating a tab CSS or Jquery?

I just want to ask what is more efficient when creating a group of tabs, made in css3 or a jquery? Example you want to create a tabs that compose of different content: for the tab1 a content something like tables, for tab2 a content something like graphs.

Upvotes: 2

Views: 174

Answers (1)

user3857185
user3857185

Reputation:

I found something that I can use, SimpleTabs

  1. It does not depend on any third-part library like jQuery, Mootools etc. That means it won't conflict with scripts made with these libraries or any other script.

  2. It does not need different IDs per tab container in order to have multiple tab sets. So, you can have as many SimpleTabs tab sets as you want on the same page.

  3. It remembers the last tab clicked on and if you reload the page (e.g. navigate somewhere and return to the page containing the tabs) that specific tab is already active.

  4. It's simple to implement, small in size and fast to load. Works on all browsers.

Upvotes: 1

Related Questions