Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Need a tabbed control (css, JavaScript, html, whatever) that can change all of it's content based on clicking other links

Posted on 2011-09-30
9
336 Views
Last Modified: 2012-06-27

Hello,

Can you point me to an example of how to code a tabbed control whereby all of its content (on each tab) can be swapped out, so to speak, each time a separate link is clicked? I have found  examples that are similar to this by searching for "two tier menus" or "two level menus", but all I can find are what you would expect, i.e., one long horizontal menu right on top of another, like you would often see at the top of a page for overall site navigation. But I have an Image Map in the center of a page and when I hover over or click on any of the image map areas, I need to have different content show up in a tabbed control, which is also on the same page. So, again, the tabbed control content needs to vary depending on which image map is clicked.

I greatly appreciate your help with this. BYE THE WAY... I need to do this on SharePoint 2007. I don't know how much this matters because I am new to SharePoint, but I thought I should point it out.

Thank you!
Riverwalk
0
Comment
Question by:RiverWalk
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 29

Expert Comment

by:Badotz
ID: 36894884
That's a tall order, and I know there is a specific question in there somewhere.

What is it, again?
0
 

Author Comment

by:RiverWalk
ID: 36894974

Hello Badotz, and thank you for responding.   Ha ha... Yes, it would be a tall order if I were asking someone on EE to build it for me, but the question, as stated in the first sentence, is, "Can you point me to an example..." I don't have a more specific question than this at the moment. I need a code example of how to do this. Does that make sense?

Thanks again!
Riverwalk
0
 
LVL 29

Expert Comment

by:Badotz
ID: 36895656
Kind of - and it does aound like you want someone to "build it for you" - what have you searchrd for so far?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:RiverWalk
ID: 36895678

Sorry to mislead you Badotz. I thought that using the phrase, "point me to" in my question, would make it obvious that I am looking for an already created example on the web and asking for help in finding one.  Providing a link to existing info is a very common solution method here on EE.

As for what I have searched on so far, this info is already in my question. It's in the second sentence, "I have found  examples that are similar to this by searching for "two tier menus" or "two level menus"...

Again, thank you for attempting to help out.

Riverwalk
0
 
LVL 2

Expert Comment

by:maricksville
ID: 36898294
So you have an imagemap which has designated coordinates that once clicked upon will change the layer visibilty of a serise of layers in the same way that a tabbed interface hides and reveals tabbed panels?

Looking...
0
 
LVL 2

Accepted Solution

by:
maricksville earned 500 total points
ID: 36898301
Have a look at the code and demonstration located here:

http://www.workwithchoicecuts.com/methodology/revisiting-the-html-image-map/

If you have some familiarity with Jquery then this is another resource that can work:

http://jquery-howto.blogspot.com/2009/01/jquery-and-html-image-maps.html

Lastly is this one:

http://plugins.jquery.com/project/maphilight

Click on Try out a demonstration on the above example to see the code in action.

Hope these help
0
 
LVL 2

Expert Comment

by:maricksville
ID: 36898306
On another note, imagemaps are quite old school and rarely seen these days. I would actually recommend having a look through the Jquery library of plugins for Jquery map plugins and see if there is something that would work for you.

You can access Jquery here: http://plugins.jquery.com/
0
 
LVL 15

Expert Comment

by:Eyal
ID: 36898440
this may suit your needs: http://jqueryui.com/demos/tabs
0
 

Author Closing Comment

by:RiverWalk
ID: 36898494
Thank you!!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question