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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:54:20+00:00 2026-06-17T08:54:20+00:00

I bought a template, that I’ve been editing in Dreamweaver. I wanted to add

  • 0

I bought a template, that I’ve been editing in Dreamweaver.
I wanted to add the pop-up function that lightbox has, and tried on my own but can’t figure it out.

I could use some step-by-step instructions explained to an idiot..(i.e. a ‘this code goes in line 26’ type deal)…if you feel like explaining why, that’d be awesome too, so this way i can learn what’s going on in my template’s coding…

The jquery lightbox plugin I was using is the leandro vieira one, and below is the code for one of the particular pages on my site. I don’t know if you need to also edit any of the .js files .css files? am i providing enough info for you to help me? Anyway, any help is really appreciated.

  • 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-17T08:54:21+00:00Added an answer on June 17, 2026 at 8:54 am

    Download the zip file from

    http://leandrovieira.com/projects/jquery/lightbox/

    Find the file jquery.lightbox-0.5.pack.js and stick it in your js folder in your project.

    After the existing line

    <script type="text/javascript" src="js/jquery-1.7.min.js"></script>
    

    put the line

    <script type="text/javascript" src="js/jquery.lightbox-0.5.pack.js"></script>
    

    Find the css file in the zip, jquery.lightbox-0.5.css, and put it in your css folder.

    After the existing line:

    <link rel="stylesheet" type="text/css" media="screen" href="css/style.css">
    

    put the line

    <link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />
    

    Replace the line:

    <img src="images/spec_offer1.jpg" alt="" />
    

    with

    <a class="lightbox" href="spec_offer1.jpg"><img src="spec_offer1_thumb.jpg" alt=""/></a>
    

    (you have to create the thumbnail image yourself)

    Then, just above the closing body tag add the following:

    <script>
        $('.lightbox').lightBox();
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I bought a website template that has a scrolling photo gallery. As it came,
i have bought a template that have built in contact form problem is that
So i'm working with a template that was bought for admin area, however in
I have recently bought a template that came with a flash header. I want
I bought an RFID USB kit and haven't been able to read the RFID
I bought Crafting Rails Applications this weekend and noticed that the author uses bundle
I bought this program that created a pretty nice imageuploader flash script however I
I bought this website template from dreamtemplate and the copyright text displays on the
A reader has just brought to my attention that IE7 on Windows XP Professional,
I have 2 problems at the moment. I bought a template and am trying

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.