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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:45:28+00:00 2026-05-15T12:45:28+00:00

I have a webpage which I’m updating, this page uses Prototype together with Lightbox.

  • 0

I have a webpage which I’m updating, this page uses Prototype together with Lightbox. I would not like to change the current page to jQuery-only as I’m not sure what else uses Prototype and would break subsequently if I don’t include Prototype anymore.

My problem is the following:

I have a few TD’s which I would like to fade in and fade out with the click of a button. This works perfectly when I temporarily take out Prototype. As soon as I put Prototype back in, the fadeOut() jQuery function breaks completely. I suspect this is because Prototype also has a fadeIn() & fadeOut() function.

Is there a way I can force Prototype not to recognise these functions as its functions and still have jQuery perform them perfectly?

Here is my jQuery-code:

var $j = jQuery.noConflict();

$j(document).ready(function () {    
    $j("a.archiveBtn.2009").click(function () {
        $j("td.archive.2009").fadeIn();
        $j("tr td.archiveBtn").css("paddingBottom", 20);
        $j("tr td.archiveBtn").css("borderBottom", "#999 1px dashed");
        $j("a.hideArchive.2009").show();

        return false;
    });

    $j("a.hideArchive.2009").click(function () {
        $j("td.archive.2009").fadeOut(function () {
            $j("tr td.archiveBtn").css("paddingBottom", 0);
            $j("tr td.archiveBtn").css("borderBottom", "none");
        });
        $j(this).hide();

        return false;
    });

    $j("tr td.archiveBtn").parent().prev("tr").children("td").css("paddingBottom", 20);
});

Any help would be appreciated and 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-15T12:45:29+00:00Added an answer on May 15, 2026 at 12:45 pm

    In the end, I determined that Prototype.js was only there for Lightbox to work, so I disabled Prototype.js and incorporated the Lightbox jQuery plugin.

    My code now works perfectly.

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

Sidebar

Related Questions

I have a webpage which I would like users to be able to send
I have a webpage in which I have a div that I would like
I have a webpage which include some buttons, when i convert the HTML page
I have a table which surrounds all the content of a webpage, I would
I have a webpage which is a download page for a free application (
I'd like to create a webpage which looks like this: https://i.stack.imgur.com/GYEis.png I can't use
I have a main window (#1) on my webpage from which I open a
We have an advanced webpage (ASP.NET, C#), and a application which needs to be
I have a txt file which actually is a html source of some webpage.
I have a web page which contains a select box. When I open 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.