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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:34:48+00:00 2026-06-10T02:34:48+00:00

I am working on editing a template where I need to add a Lightbox

  • 0

I am working on editing a template where I need to add a Lightbox that shows up some HTML content on product pages. Precisely, instead of “Add to Cart” button there will be a Button that pops over some inline lightbox content.

All the lightbox alternatives I’ve looked at, require me to inherit jQuery using CDN. Like this:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

And the template I am using is using a bunch of custom scripts in head.phtml & other pages.
Like:

<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/ver_menu.js');?>"></script>
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/custommenu.js');?>"></script>

So, when I add this line in head.phtml or even the product page, My Top Menu stops dropping down & The product information tabs stop working and all the information is displayed right on my product page (instead of appearing under their respective tabs).

Is there a way I can avoid this interference between the jQuery scripts to make the lightbox (on product page – view.phtml) work and not have my menu & information tabs affected.

Been struggling with this for a while and the theme authors aren’t willing to help either.

I have already tried to play around with the placement of the jQuery Line I posted above, but no luck. Any way I can use the magento’s core jQuery script to make my lightbox work…

Also, I am using colorbox for the lightbox effect. (http://www.jacklmoore.com/colorbox)

I can’t do much but I can offer a dinner & a beer on me to whoever can help me get this resolved. Really counting on you guys…

  • 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-10T02:34:49+00:00Added an answer on June 10, 2026 at 2:34 am

    i do this on this way i added this code in /templatefiolder/page/html/head.phtml:

     <!-- adding jQuery -->
    <script type="text/javascript" src="http://linktoJquery/jquery.tools.min.js"></script>
    
    <script type="text/javascript">
    //<![CDATA[
         var $j = jQuery.noConflict();
    //]]>
    </script>
    

    I added this $j because of conflicts with prototype. In this case you always have to do jQuerythings like this:

    <script>
    // execute your scripts when DOM is ready. this is a good habit
    $j(function() {     
    
        $j(".scrollable").scrollable();
    
    });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project that's trying to implement some editing features using a
I am working on editing some old C++ code that uses global arrays defined
Right now, I have a working HTML template system written in OCaml. The general
I have some html content stored in a database field. I would like trusted
I'm currently editing a working project with some experience on PHP. I know a
I'm trying to get an NSTokenField working that allows editing to a similar post
Working on N2 CMS I'm adding my own content type Product . I derive
So I'm working on a basic subclass of Label that supports editing. The editing
I'm working on editing a tooltip plugin (TooltipsY) to use a div instead of
While editing a template i got stuck at the point of working with fancybox.

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.