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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:26:04+00:00 2026-05-15T16:26:04+00:00

I’ve got the latest version of jquery library installed and just want a simple

  • 0

I’ve got the latest version of jquery library installed and just want a simple lightbox effect (preferably without having to install any additional libraries).

When a thumbnail image from my carousel widget (jcarousel lite) is clicked, I want to show a full size image of that same image in a closable window and grey out the background.

I’d also like to apply this same behavior to a simple thumbnail that’s not part of the carousel widget.

Any ideas?

  • 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-15T16:26:05+00:00Added an answer on May 15, 2026 at 4:26 pm

    I Like jQuery Tools. Granted, it’s another library, but well worth it! I include this library in MOST of my web projects.

    Just pop this line into your HEAD tag, and it also includes the jQuery Lib.

    <script src="http://cdn.jquerytools.org/1.2.3/jquery.tools.min.js"></script>
    

    Once that’s done, just use the Overlay library. I use this to pop-up images, forms, or anything else.

    Essentially, you just create a div:

    <div id="image1" class="modalBox">
        <h2>Title</h2>
        content
    </div>
    

    Style it:

    .modalBox {
        background-color:#fff;
        display:none;
        width:350px;
        padding:15px;
        text-align:left;
        border:2px solid #600;
        -moz-border-radius:6px;
        -webkit-border-radius:6px;
        -moz-box-shadow: 0 0 50px #ccc;
        -webkit-box-shadow: 0 0 50px #ccc;
        position:fixed;
        _position:absolute;
    }
    .modalBox h2 {
        background:url(images/logoac.png) no-repeat;
        margin:0px;
        padding:10px 0 10px 110px;
        border-bottom:1px solid #333;
        font-size:20px;
        color:#600;
        font-family:calibri, hevetica, tahoma, arial;
        text-align:right;
    }
    

    Create a JS function to popup divs

    var api;
    function showDiv(v){
        if (api)  //close any pop-ups that might already be open
            if (api.isOpened)
                api.close();
    
        if (!document.getElementById(v)) return;
    
        api=$('#'+v).overlay({
            mask: {color: '#000000'},   
            top:'0px',
            api: true           
        }).load();
    }
    

    Then When you click a “link” just call:

    showDiv('image1'); //change image1 to the name of the div with your content
    

    There are even a handful of nice animations and effect to go along with the library (like the Apple Effect and the Drop Effect

    Highly customizable and highly useful!

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

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I am doing a simple coin flipping experiment for class that involves flipping 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.