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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:33:19+00:00 2026-05-26T22:33:19+00:00

I have the following problem: On my website I am using colorbox to display

  • 0

I have the following problem:

On my website I am using colorbox to display information in a lightbox and I have several divs which you can click to retreive the specific data you want to see. But the jQuery-script I am using only lets the user open a colorbox-screen once and doesn’t work after that untill the page is reloaded.

$(".items").click(function(){
    $.colorbox({href:$(this).find("a.link",this).attr("href"),width:"900px",maxHeight:"70%"});
    return false;
});

Thanks in advance!

  • 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-26T22:33:20+00:00Added an answer on May 26, 2026 at 10:33 pm

    Thanks everyone for your time, the working solution is:

    $(".items").colorbox({ 
           href:function(){ return $(this).find("a.link").attr("href"); }, 
           width:"900px", 
           maxHeight:"70%" 
    });
    

    Thanks again!

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

Sidebar

Related Questions

I have the following problem. I am making this website you can see in
Hi I have the following problem, I want to laod a website with php.
I am creating a website and am facing the following problem. I have 2
I am using GWT/JAVA for development. I have following problem: I want to remove
I have the following problem. I have embedded a map using Google Maps' API.
I have developed a website using visual studio 2008. Which uses active index to
We have a website which is using linq to entities, we found that it's
Folks, i have the following problem. My website uses an iframe to select an
I've built an asp website and i have the following issues:- i'm using a
I have the following task: Create one website which is accessible with 20 different

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.