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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:32:56+00:00 2026-05-12T12:32:56+00:00

Well, what I want to do is having a lightbox and a sliding top

  • 0

Well, what I want to do is having a lightbox and a sliding top panel. Both use MooTools and both seem to use different versions.

It does not work if comment out one of these although they are booth the actual MooTools library.

<!a possible js config. either these two are commentented out, or the mootols.svn.js
<!-- libraries/frameworks for milkbox-->
<!--script type="text/javascript" src="js/mootools-1.2.3-core-yc.js"></script>
<script type="text/javascript" src="js/mootools-1.2.3.1-more.js"></script-->
<!-- mootools for the sliding top panel. should work also with the one imported above, so i was going to deactivate the one below-->
<script type="text/javascript" src="js/mootools.svn.js"></script> 
<script type="text/javascript" src="js/milkbox.js"></script>
<script type="text/javascript" src="js/panel.js"></script>

So no matter which one (*-1.2.3-core-yc and -more.js or mootools.js) I comment out, always one of the features doesn’t work.

While it actually should be possible as both are MooTools. Does someone have a solution for this? (I have heard about the term namespace and know roughly what it means, but I don’t know how to use it).

Thanks a lot in advance,

benny

  • 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-12T12:32:57+00:00Added an answer on May 12, 2026 at 12:32 pm

    You cannot use namespacing to great effect with frameworks that do prototyping (such as mootools or prototype).

    In your case, I can assume the sliding top panel is a mootools 1.11 plugin (your link does not work), the lightbox is 1.2.3…

    There is an abstraction layer that brings mootools 1.11 compatibility into 1.2 – check http://www.siafoo.net/article/62, there are also several posts on this on the mootools mailing list (http://groups.google.com/group/mootools-users?pli=1)

    Your objective here should be – get rid of mootools 1.11, put the compatibility code in and try to get the panel to work (there may need to be some slight changes here and there but it’s not that big a task). A while back I faced the same dilemma and ended up writing a slide-in panel for 1.2.3 from scratch.

    Also, consider the WebKreations slide in http://web-kreation.com/demos/login_form_mootools_1.2/ – perhaps you can use that as your alternative.

    Good luck 🙂

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

Sidebar

Related Questions

BDS2006, QR4. I have an A5 size report and I want(well, the customer does
So I want to write a... well... not-so-simple parser with boost::spirit::qi. I know the
Im having trouble with basic syntax. I want to use jquery to select all
Well, this is embarrassing. I want to get into Flex development but I'm having
Well I am having a tableview and I want to set background. I tried
I seem to be having a problem. I want a view where I can
I want to write a check for some conditions without having to use try/catch
After having a search around I could not find exactly what I want, I
well I want to debug some script with Firebug, (cause I can't see anything
Well I want to render a self closing tag say <img> tag like this

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.