Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Brandon Brigham
Brandon Brigham
3,716 Points

Trying to link menu item to open a tab on page

Hello,

Please take a look at the site I'm working on here:

http://thechasedesign.com/yourdreamrealestate/

Hover over 'Services' and then click on one of the services. I want to be able to click on a service from the dropdown menu and have that open the corresponding tab in the body of the page on the Services page.

Is this possible?

Thanks for your help!

Katrina Atkinson
Katrina Atkinson
9,622 Points

Hiya,

Would like to help and not sure if you've made changes since you posted this, but when I visit the link your site currently says under construction.

1 Answer

Hi Brandon,

The site currently says it's under construction so we're unable to view it to help. Are you wanting to create tabbed links so that when you click one it instantly shows you new content without reloading a new page? Or are you simply trying to link to a new page?

If its the tab style navigation I believe the best way is to use Javascript. A framework such as twitter bootstrap comes with this kind of script built into it, but I'm sure you can probably learn how to do it by following some of the Treehouse courses.

Regards,