asmith Posted May 20, 2008 Share Posted May 20, 2008 Hey guys Yahoo has a table with 4 tabs : # Featured # Entertainment # Sports # Video That at one time it only shows one, if you click on the "sports" , Only that table content changes, but the whole page won't reload or something. Anyone can help me how can I do such thing? (I tried to look at yahoo codes, but its whole a lot and got me confused) Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted May 20, 2008 Share Posted May 20, 2008 All that is is hiding a div element when a button is clicked and showing another it shouldnt be too hard to build. Quote Link to comment Share on other sites More sharing options...
asmith Posted May 20, 2008 Author Share Posted May 20, 2008 Yes the concept is easy. I really appreciate it if you give me a small example? maybe only with 2 tabs and only one line text in each? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted May 20, 2008 Share Posted May 20, 2008 you could also use a tab widget from a JS library: http://extjs.com/deploy/dev/examples/tabs/tabs.html http://download.dojotoolkit.org/release-1.1.0/dojo-release-1.1.0/dijit/tests/layout/test_TabContainer.html Quote Link to comment Share on other sites More sharing options...
asmith Posted May 21, 2008 Author Share Posted May 21, 2008 really really really thanks for the links. It was exactly what i needed thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.