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 6337009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:10:10+00:00 2026-05-24T19:10:10+00:00

This shows the code that hides slides the photograph thumbails away etc when the

  • 0

This shows the code that hides slides the photograph thumbails away etc when the button is clicked. You can find the site I’m creating here http://www.samuelbradley.com

 $(document).ready(function(){

 hidden = true;
 $(".btn-slide").click(function () {
if(hidden == false) {

    $("#slideshow").slideDown('3000, linear, callback');
    $("#thumbs").slideUp('3000, linear, callback');
    hidden = true;
} else {
    $("#slideshow").slideUp('3000, linear, callback');
    $("#thumbs").slideDown('3000, linear, callback');
    hidden = false;
}
});
});

$(document).ready(function(){

 hidden = true;
 $(".thumb").click(function () {
if(hidden == false) {

    $("#slideshow").slideDown('3000, linear, callback');
    $("#thumbs").slideUp('3000, linear, callback');
    hidden = true;
} else {
    $("#slideshow").slideUp('3000, linear, callback');
    $("#thumbs").slideDown('3000, linear, callback');
    hidden = false;
}
 });
 });

This code shows the body HTML code which contains the list of the thumbnails etc.

<div id="thumbnail-image"><a href="#" ><img src="images/thumbnail.jpg" alt="thumanil-        image" title="Thumbnail View for Samuel Bradley" width="40" border="0" class="btn-slide"  /></a>
 </div><!--end of thumbnail image-->

</div><!--end of header-->

<div id="controlholder">
<div id="controls"></div>
</div>

<div id="slideshow"> 
 </div>

 <div id="thumbs">
 <ul class="thumbs noscript">
<li><a href="images/archive/live-tour/1_noelfielding.jpg" title="Samuel Bradley         Photography" class="thumb"><img src="images/thumbnail/LIVE-TOUR_T/1 NOEL FIEDLING_THE BIG    CHILL_thumb" width="185" alt="Samuel Bradley" border="0"/></a></li>
<li><a href="images/archive/live-tour/2_noelfielding.jpg" class="thumb"><img    src="images/thumbnail/LIVE-TOUR_T/2_NOEL FIELDING, THE BIG CHILL_thumb" width="185"      alt="Samuel Bradley" border="0"/></a></li>
<li><a href="images/archive/live-tour/3_dylanmoran.jpg" class="thumb"><img src="images/thumbnail/LIVE-TOUR_T/3_DYLAN MORAN_THE BIG CHILL_thumb" width="185" alt="Samuel Bradley" border="0"/></a></li>
<li><a href="images/archive/live-tour/4_youmeatsix.jpg" class="thumb"><img src="images/thumbnail/LIVE-TOUR_T/4_YOU ME AT SIX, HOLD ME DOWN TOUR_thumb" width="185" alt="Samuel Bradley" border="0"/></a></li>

The large images are loaded into the #slideshow div which shows and hides easily however I can’t seem to hide the thumbs div? Even when I set the #thumbs div to display:none it still shows.
I basically just want the large image to show when a page loads and then the thumbs div to toggle between full view & thumbnail view but I dont want to be able to see thumbnails and the large image at the same time.
Any help would be much appreciated. I hope I’ve explained and shown enough of an example?

Sofi

  • 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-05-24T19:10:11+00:00Added an answer on May 24, 2026 at 7:10 pm

    I’ve had a look at the site, which looks great by the way.

    It works for me apart from on load when the `#thumbs’ div is actually be shown. Have you tried putting:

    $('#thumbs').hide();
    

    in one of the `.ready() functions? This should hide that div at the start.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I current have this code that shows/hides content based on a select option. How
I've got the following piece of code that shows a popup and then hides
I have a simple peice of jQuery code that submits a form and hides/shows
I implemented this Jquery show/hide code and everything works fine except that the box
Django code samples involving post data often shows code similar to this: if request.method
This code works in a windows forms application (it shows the preview) but not
I have this code, showmessage('C:\TEMP\'+openfiles[openfilelist.ItemIndex].ID); if removedir('C:\TEMP\'+openfiles[openfilelist.ItemIndex].ID) then showmessage('Removed') else showmessage('Failed'); The message shows
I am using this code to display a grid $('#table1 tr').bind('click', shows); function shows()
When I run this code: >> I = imread('D:\Works\matlab\SecCode.php.png','png'); >> imshow(I); It always shows
Ok, this one is really weird... I can't show code for it exactly cause

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.