DIGIT-ARC read-only archive · snapshot: July 23, 2026

[tutorial] Displaying tabbed items with javascript

16 posts · originally from https://geek.digit.in/community/threads/tutorial-displaying-tabbed-items-with-javascript.72353/

victor_rambo
victor_rambo Original post #1
Nov 3, 2007 at 5:36 PM
Source: Myself written it.

Hey, have you ever been to a site like *www.rediff.com ? Did you observe the how you can display different items by clicking on the tabs? (see below illustrations)

Illustration 1: Clicking on 'Business' will display all the headlines

*i219.photobucket.com/albums/cc14/RohanShenoyThane/rediff3.jpg

Illustration 2: Clicking on 'news' will display news items

*i219.photobucket.com/albums/cc14/RohanShenoyThane/rediff2.jpg

Illustration 3: Clicking on 'Headlines' will display business items

*i219.photobucket.com/albums/cc14/RohanShenoyThane/rediff1.jpg

Want to have that on your site ? Download the HTML file linked below and follow the instructions in it. Format the elements as per your needs.

See the script in action and also download the source at *javascript.biologyformhtcet.com/display_tabbed_items.html
Gigacore
Nov 3, 2007 at 6:05 PM
^ nice, will try
sachin_kothari
Nov 3, 2007 at 6:25 PM
was looking for something like that.
will surely try.
T
Nov 3, 2007 at 6:26 PM
Good work
gaurav_indian
Nov 3, 2007 at 7:36 PM
Good one.Javascript is powerful for these things.
Lucky_star
Nov 3, 2007 at 8:49 PM
I was looking for something like that for my website too. Thanx !
blackpearl
Nov 3, 2007 at 9:15 PM
Thanks mate!!
A
almighty #8
Nov 3, 2007 at 9:30 PM
realy cook thanks
Faun
Faun #9
Nov 4, 2007 at 2:17 AM
thats a nice one
victor_rambo
Nov 4, 2007 at 1:06 PM
HEy, guyz thanks for replies. Do use it if you need, and do acknowledge me and by blog(*www.rohanshenoy.blogspot.com) in the source.
QwertyManiac
Nov 4, 2007 at 1:09 PM
Thread should be in Programming section perhaps. Not that HTML is a Programming language, but JS is :))
victor_rambo
Nov 4, 2007 at 1:13 PM
QwertyManiac said:
Thread should be in Programming section perhaps. Not that HTML is a Programming language, but JS is :))
Ya, i realize now that its in wrong section.Sorry, I had not realized earlier due to excitement :D
But I still prefer it remains here in Tutorial section.
Plz!
krates
krates #13
Nov 4, 2007 at 9:55 PM
I have used this type of thing from dynamicdrive.com lemme check yours :D
victor_rambo
Nov 4, 2007 at 10:30 PM
kushagra_krates@yahoo.com said:
I have used this type of thing from dynamicdrive.com lemme check yours :D

yeah sure!
krates
krates #15
Nov 5, 2007 at 2:05 PM
good one that one is from ajax and this one is from javasript
instead of using button i prefer image button to make it more attractive and make the table border 0 to make it look a little more good

by the way good work :D
victor_rambo
Nov 5, 2007 at 2:43 PM
rohan_shenoy said:
Format the elements as per your needs.
kushagra_krates@yahoo.com said:
good one that one is from ajax and this one is from javasript
instead of using button i prefer image button to make it more attractive and make the table border 0 to make it look a little more good

by the way good work :D


:rolleyes:

:D