How To Build Tabs Module?

Topics: Writing modules
Dec 20, 2012 at 10:39 AM

Dear,

I want to build a tabs module, that will contain a module in every tab.

I start with a basic solution, build menu and link its items to widgets id (like : #tab1), and get the same id to the child widget, then add the child widget to menu widget by javascript code to run jquery tabs on it.

but I want an advanced way to do this, maybe by add the child widget to menu child zone before return the page to the browser.

Please advise me, Thank you.