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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:34:39+00:00 2026-05-21T14:34:39+00:00

I have been doing a jQuery slider for a day or so, and we

  • 0

I have been doing a jQuery slider for a day or so, and we just have conflicts with other jQuery elements.

So thought bugger it, let’s have a play with Mootools.

The issue is I am crap at Js.

So here is a link to what I have, http://sitehelp.com.au/slider/

Now what I want to do is:

The slider updates amount in the input element. Input box to show $0 on page load.
As the slider slides along the amount in the Input element increases.

Alternatively Would like to be able to TYPE into the input element, and make the slider slide to that point, along the slide rule.

Also need this to be able to sit on page with jQuery stuff, I seem to recall a fix for Mootools and jQuery on page together, but cannot remmeber it.

Lastly, on SUBMIT pass the value user entered .

Any assistance, greatly appreciated.

To See my jQuery Version. >> http://sitehelp.com.au/slider2/

( I didnt author the jQuery version, its just one I have customized via link on Stack )

  • 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-21T14:34:40+00:00Added an answer on May 21, 2026 at 2:34 pm

    You could achieve it in this way (fiddle here : http://jsfiddle.net/steweb/qg9M6/ ):

    Avoid conflicts with jQuery

    Include jQuery, put jQuery.noConflict(); before doing stuff with jQuery..wrap jQuery scripts in this way:

    (function($) {
      //jquery stuff
    })(jQuery);
    

    and after jQuery scripts include mootools lib and the drag slider moo script. i.e.

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
        jQuery.noConflict();
        (function($) {
            //jquery stuff
        })(jQuery);
    </script>
    
    <script type="text/javascript" src="mootools.js"></script>
    <script type="text/javascript">
        window.addEvent('domready',function(){
            //mootools stuff
        });
    </script>
    

    Code of the drag slider

    JS

    window.addEvent('domready',function(){
    
        var slider = $('slider'); //grab slider
        var amount = $('amount'); //grab input 'amount'
        var sliderInstance = new Slider(slider, slider.getElement('.knob'), {
            range:[0,3000000], //range of the slider instance
            wheel:true, //try to use mousewheel when u are over the slider
            steps:3000, //number of steps (3.000.000/1.000)
            initialStep:0, //starting from
            onChange: function(value){
                //when it changes, update the amount 
                amount.set('value',value);
            }
        });
        amount.addEvent('blur',function(){ //when u input something and u click outside of the imput
            sliderInstance.set(this.value); //update slider instance
        });
    
    });
    

    Markup

    <p>$0 to $3,000,000 ($1000 increments):</p>
    <div id="slider" class="slider">
      <div class="knob"></div>
    </div>
    <label>$<input type="text" id="amount" name="amount" value="" /></label>
    

    CSS

    .slider {
      background: #CCC;
      height: 16px;
      width: 200px;
      float:left;
      margin:5px 10px 0px 2px;
    }
      .slider .knob {
        background: #000;
        width: 16px;
        height: 16px;
      }
    
    input[type="text"]{
        font-size:14px;
        padding:3px;
    }
    

    Hope it helps 😉

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

Sidebar

Related Questions

Since I've started to use jQuery, I have been doing a lot more JavaScript
I have been doing some reading up on jquery live event and am still
I have been doing some customization to this jQuery paging script I found here
I'm developing a website(just for fun) and have been using mostly js/jquery to build
We have been doing some research into physically isolating the secure and non-secure sections
I have been doing a little reading on Flow Based Programming over the last
I've been doing some Web-Projects lately that rely on heavy Data-Binding and have been
Alright, I have been doing the following (variable names have been changed): FileInputStream fis
I'm starting to learn Excel Programming and have been doing the development in Excel
My background is primarily as a Java Developer, but lately I have been doing

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.