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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:32:05+00:00 2026-06-11T14:32:05+00:00

Hey ya’ll I have a problem and I have no idea how to solve

  • 0

Hey ya’ll I have a problem and I have no idea how to solve with the lack of jquery skills I have.

I am using jquery colorbox for a gallery with my images, problem there are some duplicate images and I am trying to remove it. I don’t even know where to start looking…if someone could give me a tip on where to start I would greatly appericate it (ps – its my bday)

I think this is where I need to remove the duplicates, but like I said my jquery skills are awful

// Preloads images within a rel group
                if (settings.preloading) {
                    preload = [
                        getIndex(-1),
                        getIndex(1)
                    ];
                    while (i = $related[preload.pop()]) {
                        src = $.data(i, colorbox).href || i.href;
                        if ($.isFunction(src)) {
                            src = src.call(i);
                        }
                        if (isImage(src)) {
                            img = new Image();
                            img.src = src;
                        }

                    }
                }

Here is also the link to the file I am using…hope this helps

http://www.taranmarlowjewelry.com/wp-content/plugins/jquery-colorbox/js/jquery.colorbox.js?ver=1.3.19

  • 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-11T14:32:06+00:00Added an answer on June 11, 2026 at 2:32 pm

    After looking at your site, I had the same issue with colorbox…this will work

    jQuery('document').ready(function($){
    $(".wpcart_gallery a:first").removeClass("cboxElement");
    jQuery(".wpcart_gallery img").click(function($){
    jQuery(".wpcart_gallery a").addClass('cboxElement');
    jQuery(this).closest('a').removeClass('cboxElement');
    });
    }); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey right now I'm using jQuery and I have some global variables to hold
hey guys having this really simple problem but cant seem to figure out have
Hey I have a menu(with JQuery) in a div on the left, with all
Hey guys here is my question. im using JCombobox. if a student have CB
Hey, I have a problem sharing a link on twitter: data-url=http://ipofmywebsite/mypage/?some_id=276&some_name=b+a As I put
hey friends i have make an chatbox with jquery but it is unable to
Hey i have been looking around and i cant find a way to get
*Hey , I have finished developing my app In my iphone apps I have
Hey its really hard to define an exact title for my problem. I am
Hey folks I am trying to implement a search functionality in a website using

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.