Log in

View Full Version : Tab Menu using inpage anchors



BuildMyWeb
09-09-2010, 07:09 PM
If you look at the link below, there is a tab menu just below the main product image: "DESCRIPTION", "CUSTOMER REVIEWS", "PRODUCT Q&A"...

can someone tell me how this is achieved? when you click on a tab, it seems to reload the page and target a section of the file using a NAME ATTRIBUTE on the link. ( href="#description" ... name="description" ). how is it that only the section of the file they want to present is displayed in the container below and not all 5 tab contents at once?


i hope i am explaining this well enough. not sure how to go about it.

http://www.northerntool.com/shop/tools/product_200328565_200328565

azoomer
09-09-2010, 08:24 PM
I'm not sure if I understand your question correctly, but you may be able to use one of these scripts
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
or
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

BuildMyWeb
09-09-2010, 08:49 PM
azoomer, Tab Content Script (v 2.2) is precisely what i was looking for. thank you.