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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:21:32+00:00 2026-05-26T23:21:32+00:00

I have this website am designing, i tried using mootools 1.31 to animate some

  • 0

I have this website am designing, i tried using mootools 1.31 to animate some of the div boxes when clicked or when the mouse hover rounds it, to shows the content. the thing is that it doesn’t seem to work on the webpage, but if i try the same script on a blank webpage it works, am thinking probably it’s because i have Jquery 1.52 on the same page and maybe both scripts are conflicting with each other because, if i remove the Jquery, the Mootools works. What should be my option, because i need the Jquery to do some validations for me, so i can’t remove it completely.

Here are the codes

<script>
 //-vertical

 var mySlide = new Fx.Slide('test');

 $('slidein').addEvent('click', function(e){
e = new Event(e);
mySlide.slideIn();
e.stop();
  });

  $('slideout').addEvent('click', function(e){
e = new Event(e);
mySlide.slideOut();
e.stop();
    });

  $('toggle').addEvent('click', function(e){
e = new Event(e);
mySlide.toggle();
e.stop();
    });

    $('hide').addEvent('click', function(e){
e = new Event(e);
mySlide.hide();
e.stop();
    });



  </script>

here’s the HTML

<html>
<h3 class="section">Fx.Slide Vertical</h3>

 <a id="slideout" href="#">slideout</a> | 
<a id="slidein" href="#">slidein</a> | <a id="toggle" href="#">
  toggle</a> | <a   id="hide" href="#">hide</a>

    <div id="test">
   Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
 sed do eiusmod  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad mi
 nim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip 
 ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
 voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
  Excepteur sint occaecat cupidatat non proident, sunt in culpa 
   qui officia deserunt mollit anim id est laborum.
     </div>

Here’s the CSS

    #test {
background: #222;
color: #fff;
padding: 10px;
margin: 20px;
border: 10px solid pink;
     }

     #test2 {
background: #222;
color: #fff;
padding: 10px;
margin: 20px;
border: 10px solid pink;
    }

Am using the exact same code supplied by Mootools in their own example, if i do this on a blank webpage it works but incorporated into my own webpage, it doesn’t, and my own page just have the script tag of the Jquery in the head section of the HTML.

  • 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-26T23:21:32+00:00Added an answer on May 26, 2026 at 11:21 pm

    The $ function/object is present in both libraries (MooTools and jQuery). If you want to use both of them you will have to use one of them using library name: e.g. jQuery('slideout').addEvent(... instead of $('slideout').addEvent(...

    Useful links:

    • http://api.jquery.com/jQuery/
    • http://docs.jquery.com/Using_jQuery_with_Other_Libraries
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this website iloveforwards.com created using drupal. I would like to have a
I am designing a small website using HTML + JSP. This is my first
I have two questions. First I am using a spry accordion for this website
I am designing a website for a college oriented website and have some trouble
I have this website I am designing and I want to make it to
So I have this website that will be accessed via an SSL connection (
So I have this website that I'm building and they are wanting to be
I have this ASP.NET/SQLServer2005 website running on a production server (Win2003, QuadCore, 4GB). The
So I have this ASP.Net 2.0 website that uses functions contained within a JS
VS 2008 I have this code snippet I found on a VB website. But

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.