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

  • SEARCH
  • Home
  • 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 8192303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:08:44+00:00 2026-06-07T04:08:44+00:00

So I recently made another post and I felt it was clearly answered, here’s

  • 0

So I recently made another post and I felt it was clearly answered, here’s the link ( Prior post ) and while it does explain and achieve what I wanted to know, it created a new issue for me. So I thought it would be best to create a new post for this particular question.
My question is that when I created my navmenu and had a link in there, so that when you click on it it shows u the div section. In that section I have a thumbnail image. I want to make it clickable so that when you click on it the large image appears on the side. And while I can do this with hover, I would also like it ( the large image ) to remain there if the user wants to click on the thumbnail. I also have an anchor on the description of the large image if the user wants to see the full resolution of the image. The problem is that when I click on the thumbnail the entire Div section disappears…which is weird. Here’s a video showing what I mean. Heres also my code for how I have it on my dummy page:

here is my fiddle

Please keep in mind that I’m new at html and css and really would just like to do my portfolio site in these 2 languages. I will later on move into javascript once I get a better grip and understanding of css and html. been doing this for about a lil over 3 weeks now. Thanks ahead of time for reading all of this and potentially helping out.

  • 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-07T04:08:45+00:00Added an answer on June 7, 2026 at 4:08 am

    Hey now you can used to check box and than it’s possible

    Please check to this demo i created http://jsfiddle.net/n6f4Y/1/

    HTML

    <div id="container">
    
    <h1>Welcome to Erimagination!</h1>
    <hr id="top_hr">
    
    <ul id="navmenu">
    
        <!-- This is my PORTFOLIO section -->
        <li>
            <input type="checkbox" id="portfolio"/>
            <label for="portfolio">Portfolio</label>
            <span class="des_am"><h3>Latest Work</h3><br>
                <p>check out this image:
                <br>
                    <a href="#"><img class="thumb_image" src="http://www.gravatar.com/avatar/f6ba1c2b27d3a607d894c70ba1be0f85?s=32&d=identicon&r=PG" alt="" ></a>
                    <span class="large_image"><img src="files/pictures/photoshop/brit_airways.jpg" alt="">
                        <br>This is the larger version of the thumbnail. If you would like to see the full
                        version you can click <a href="#" style="text-decoration:underline; color:blue;"><i>HERE</i></a>
                    </span>
                </p>
            </span>
        </li>
        <!-- PORTFOLIO ends -->
    
    </ul>
    
    
    </div>
    

    Css

    /* Reset things */
        *{
            padding: 0px;
            margin: 0px;
        }
    
        /* The pages width and height plus bkg color and margins */
        #container{
            width: 960px;
            height: 960px;
            background:#ABC;
            margin: 0 auto 0 auto;
        }
    
        /* minor stuff */
        a{ text-decoration: none; color:red; }
        ul, li{ list-style-type:none }      
    
    
    
        /*===================================
            set the nav menu link stuff
        ===================================*/
        #navmenu{
            float:left;
            margin-left: 50px;
            background: white;
            width:80px;
            height:25px;
            line-height:25px;
            padding:3px;
        }
    
        #navmenu a:hover{ color:green; }
        #navmenu a:focus{  font-size:16pt; text-decoration:underline; color:green; }
    
    
        /* Set stuff up in our span but hide it */
        li > span{
            display:none;
            width:875px;
            height:800px;
            float:left;
            background:white;
            color:grey;
            text-indent:15px;
            padding-right:3px;
            padding-left:6px;
            margin-top:30px;
        }
    
        /* show span stuff when link is clicked on */
    li > input[type="checkbox"]{
    display:none;
    }  
    li  label{
    cursor:pointer;
    }
    
    li > input[type="checkbox"]:checked + label + span{ display:block; }
    
        /* Thumbnail parameters when link is clicked */
        li > input[type="checkbox"]:checked + span .thumb_image{
            display:inline-block;
            float:left;
            position:relative;
            background:red;
            outline:1px solid red;
        }
    
        /* minor thumnail stuff */
        li > input[type="checkbox"]:checked + label + span .thumb_image:hover{ outline:3px solid rgba(0,255,0, 1); }
    
    
    
        /* ===================================
            large image stuff parameters
        =====================================*/
    
        /* Set up and  Hide large image with z-index */
        li > input[type="checkbox"] + label + span span{
            z-index:-200;
            display:inline-block;
            float:left;
            color:black;
            width:600px;
            padding:4px;
            position:absolute;
            background:rgba( 255, 250, 108, .25);
            outline:1px solid darkgrey;
            text-align:center;
            margin: -0px 0 0 150px;
        }
    
        /* bring large image into view when thumbnail is hovered */
        li > input[type="checkbox"]:checked + label + span a:focus+span, li > input[type="checkbox"]:checked + label + span a:hover+span{ z-index:10; }
    
        /*
        li >a:focus+span .thumb_image:hover+.large_image{ z-index:10; }
    
        li > a+span .large_image{
            z-index:-200;
            display:inline-block;
            float:left;
            color:black;
            width:600px;
            padding:4px;
            position:absolute;
            background:rgba( 255, 20, 108, .5);
            border:1px solid black;
            text-align:center;
            margin: -0px 0 0 175px;
        }
        */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently made another question about connecting to MS-ACCESS database with .NET in C#
I recently made a menu screen to my cocos2d app where I have attached
I recently made an App for IOS with Phonegap . I used the html5
I recently made some reference additions to a project in my solution and made
I recently made a very simple practice program in Python, that takes user input
I recently made this simple navigation where you have a couple links that have
I recently made this wordpress blog, where you can sign up a team for
I recently made my own Javascript library and I initially used the following pattern:
I recently made a c# printer management tool that uses a WCF service which
I recently made an update to JasperReports library version 4.1.3. Previously, I had a

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.