Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8568755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:10:52+00:00 2026-06-11T18:10:52+00:00

I’ve got a massive problem, and i have no idea how to do this,

  • 0

I’ve got a massive problem, and i have no idea how to do this, i have found similar solutions but not the exact solution, and hope there is someone out there how can help me, Please.

First and foremost i would like to create a work page, and just display thumbnails in a column of four which is easy enough…
what i need to happen is when the thumbnail is clicked the complete content dissappears and is replaced with full details on the specific thumbnail clicked (i.e thumbnail1 when clicked will bring up thumbnail1 content div)….with a back link, taking the user back to the thumbnails….

My task is not to goto a different page, but stay on the page…hence why im asking for help, as this would have been easier option…

im really looking to achieve the following http://www.charliegentle.co.uk/ if you click on web design and then click on the thumbnails, you can see the effect im after..

the closest example i have found is below, the only problem is that i dont want the menu bar system, and even if i did change the menu bar to thumbnails, the thumbnails will still stay on screen, and thats not what i want…

Please help…here is code that can be used http://jsfiddle.net/buScL/21/

HTML

<div id="wrapper">
  <ul id="controlls">  
      <li><a href="#" id="one" class="dealer">Dealer</a></li>
      <li><a href="#" id="two" class="advertise">Advertise</a></li>
      <li><a href="#" id="three" class="social">Social Media</a></li>
      <li><a href="#" id="four" class="need">Need</a></li>
  </ul>


    <div id="slider">  

        <div id="dealer">
            <p>If you click on this paragraph
              you'll see it just fade away.
            </p>
        </div>
        <div id="advertise">
            <p>If you click on this paragraph
            you'll see it just fade away.
            </p>
        </div>
        <div id="social">
            <p>If you click on this paragraph
            you'll see it just fade away.
            </p>
        </div>
        <div id="need">
            <p>If you click on this paragraph
            you'll see it just fade away.
            </p>
        </div>
    </div>
</div>

and

Javascript

$("#controlls li a").click(function(e) {
    e.preventDefault();
    var id = $(this).attr('class');
    $('#slider div:visible').fadeOut(500, function() {
        $('div#' + id).fadeIn();
    })
});

and css

p { font-size:150%; cursor:pointer; }

  #wrapper{
      width: 700px;
      height: 400px;
      background: #a5a5a5;
      margin: 100px auto 0 auto;
  }

  #slider{
      width: 450px;
      overflow: hidden;
  }

  #dealer{
  float: left;
      margin: 0 auto;
      width: 450px;
      height: 200px;
      background: pink;
  }

  #advertise{
    float: left;

  display: none;
      margin: 0 auto;
      width: 450px;
      height: 200px;
      background: lime;
  }
  #social{
    float: left;

    display: none;  
      margin: 0 auto;
      width: 450px;
      height: 200px;
      background: purple;
  }
  #need{
    float: left;

    display: none;
      margin: 0 auto;
      width: 450px;
      height: 200px;
      background: yellow;
  }




  ul#controlls{
  padding: 10px 0;
  height: 60px;
  }

  ul#controlls li{
      display: inline;
      padding: 5px 10px;
  }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:10:53+00:00Added an answer on June 11, 2026 at 6:10 pm

    Try this

    http://jsfiddle.net/buScL/32/

     p { font-size:150%; cursor:pointer; }
    
      #wrapper{
          width: 700px;
          height: 400px;
          background: #a5a5a5;
          margin: 100px auto 0 auto;
      }
    
      #slider{
          width: 450px;
          overflow: hidden;
      }
      #slider > div {
       display:none;
    }
    #back {
       display:none;            
    }
      #dealer{
      float: left;
          margin: 0 auto;
          width: 450px;
          height: 200px;
          background: pink;
      }
    
      #advertise{
        float: left;
    
      display: none;
          margin: 0 auto;
          width: 450px;
          height: 200px;
          background: lime;
      }
      #social{
        float: left;
    
        display: none;  
          margin: 0 auto;
          width: 450px;
          height: 200px;
          background: purple;
      }
      #need{
        float: left;
    
        display: none;
          margin: 0 auto;
          width: 450px;
          height: 200px;
          background: yellow;
      }
    
    
    
    
      ul#controlls{
      padding: 10px 0;
      height: 60px;
      }
    
      ul#controlls li{
          display: inline;
          padding: 5px 10px;
      }
    ​
    
    <div id="wrapper">
      <ul id="controlls">  
          <li><a href="#dealer" id="one" class="">Dealer</a></li>
          <li><a href="#advertise" id="two" class="">Advertise</a></li>
          <li><a href="#social" id="three" class="">Social Media</a></li>
          <li><a href="#need" id="four" class="">Need</a></li>
      </ul>
        <div id="back"><a href="#">Back</a></div>
    
        <div id="slider">  
    
            <div id="dealer">
                <p>If you click on this paragraph
                  you'll see it just fade away.
                </p>
            </div>
            <div id="advertise">
                <p>If you click on this paragraph
                you'll see it just fade away.
                </p>
            </div>
            <div id="social">
                <p>If you click on this paragraph
                you'll see it just fade away.
                </p>
            </div>
            <div id="need">
                <p>If you click on this paragraph
                you'll see it just fade away.
                </p>
            </div>
        </div>
    </div>
    ​
    
    $("#controlls li a").click(function(e) {
        e.preventDefault();
        var id = $(this).attr('href');
            $(id).fadeIn();
            $('#back').show();
            $('#controlls').hide();
    });
    
        $('#back a').click(function() {
            $('#slider div:visible').fadeOut(function () {
                $('#controlls').fadeIn();
                $('#back').hide();
            });
        });
    
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This could be a duplicate question, but I have no idea what search terms
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.