Questions tagged [mootools]

MooTools is a compact, modular, object-oriented prototypal JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.

Filter by
Sorted by
Tagged with
0 votes
1 answer
81 views

Is it possible to have a participants' course reports plugin with all their courses, the status of learning, time spent on moodle lms?

I have a client that want all the reports of all participants to be shown in with all their courses, their level of completion of those courses and the time spent. And the report for every participant ...
Atsa'am's user avatar
  • 29
0 votes
0 answers
25 views

Prototype is conflicting in mootools and google translator api 'Function.prototype.overloadSetter' creating issue how to fix it?

I hope you are all doing well. I have a question that I was hoping someone could help me with. I'm experiencing an issue with "Prototype is conflicting in mootools and google translator api when ...
Deepak Sharma's user avatar
0 votes
1 answer
73 views

The Right Way of Intercepting Javascript Function Calls

I am writing a browser extension for the popular video chatting platform, Omegle. The extension needs access to internal events of the omegle app. The app uses Mootools for firing events, and creates ...
Rafat Mahmoud's user avatar
-1 votes
1 answer
67 views

sidebar and top-menu issue. conflict with grid module

I need a little help from you if you are familiar with css, php or javascript. I needed a grid display component for my site, and after searching I found a suitable one and installed it. Now the ...
Domains G's user avatar
0 votes
1 answer
35 views

mootools Class overload

I cannot overload class function var Input_text = new Class({ initialize: function(obj, defo){ that = this; if (obj) { this.elem = obj; this.elem.addEvent('keyup', function(...
Michel J's user avatar
0 votes
0 answers
310 views

Google ReCAPTCHA v2 placeholder element must be an element or id

I've had google recaptcha v2 running from last few months but now suddenly it stopped working on my live site (https://blisspot.com/signup). Its working fine on dev site (https://dev.blisspot.com/...
Ahmad Raza's user avatar
1 vote
1 answer
126 views

Is the current 1.6.0 version of MooTools compatible with older versions?

I'm upgrading from MooTools 1.3 to the newest 1.6.0, but when I do the date picker on my site disappears. I tried all the old compat versions of MooTools between 1.3 and 1.6.0 (1.4.5, 1.5.1 and 1.5.2) ...
Saif Navid's user avatar
1 vote
0 answers
211 views

fullcalendar.io and mootools conflict

I'm trying to use fullcalendar.io and mootools libraries in same web site. However I have this error: TypeError: t is undefined xxx_core.main.min_1.js:9:22019 The file xxx_core.main.min_1.js ...
thiery's user avatar
  • 15
1 vote
0 answers
107 views

Why are Python requests slower than MooTools and jQuery?

I'm trying to create an API for a chat service. Sending a request after another is required for the chat to work. I started implementing it with Python requests but it was very slow. I also tried ...
killaz's user avatar
  • 47
1 vote
0 answers
47 views

Mootools/Jquery Scripting

This is my first exposure with using Mootools; I have not used Jquery much, and I am having troubles implementing a new change to the scripting. We used a flash uploader, FancyUpload2 and I have ...
Jnice2k3's user avatar
0 votes
2 answers
310 views

How do I get jQuery and Mootools on the same Contao page?

I am working on a Contao site that is supposed to be upgraded from 2.11.6 to 3.5.40 because the provider will soon force a PHP upgrade from 5.6 to 7.3. The upgraded site should look and feel like the ...
Timm's user avatar
  • 2,518
0 votes
2 answers
581 views

Event click trigged twice though preventdefault is set

Some had this problem but I did not see any answer that fits mine. Here is the html : <div id="page"> ...... <ul> <li role="presentation"> <a id="selection"...... &...
mlwacosmos's user avatar
  • 4,423
0 votes
0 answers
53 views

Prepending javaScript element with html snippet into another html node

I am trying to insert a html block of code before the previous one. I am using the prepend() method to insert into a list and it works I am inserting where I want but its only outputting the plain ...
Boxer19's user avatar
  • 37
1 vote
2 answers
58 views

Mootools JSON request returning not found error

I added an icon next to a file that, when clicked, will mark the file as a redline and change the color of the text of the filename. My boss wants me to do this via AJAX, but I've never done AJAX ...
PortyR's user avatar
  • 365
0 votes
1 answer
38 views

Using JavaScript Event rather than MooTools Element.Event

I have inherited a codebase which implements MooTools 1.4.5. The code also utilises a third party library to handle dragging on responsive devices. The following code is in that library: var ...
Mike Poole's user avatar
  • 1,996
0 votes
1 answer
28 views

How to get the value of data-id-proofinglevel in option

I have an dropdown that lists people available for a job. In each option there is a value and a data-id-proofinglevel. I would like to get the value of the data-id-proofinglevel for the selected ...
PortyR's user avatar
  • 365
1 vote
1 answer
102 views

How do I figure out why the MooTools stopped working?

I worked on a page that has MooTools in it and now the MooTools is not working. It is supposed to detect when a change has been made to a dropdown and save the change and the field flashes green. I ...
PortyR's user avatar
  • 365
1 vote
0 answers
592 views

Mootools breaks Google maps streetview - black screen

Including the mootools.min.js in the Maps JavaScript API Hello World example causes the street view feature to fail rendering street images. I'm working with Joomla and mootools gets loaded prior to ...
Johnny Ruin's user avatar
-1 votes
1 answer
286 views

Autofill an HTML select list

Scenario: I have 5 select boxes that hold the 5 weekdays and Instead of having the user click and choose a value for each one I want them to have the option of choosing the first box and have a button ...
uzzum07's user avatar
  • 101
2 votes
0 answers
1k views

Difference between INPUT_GET and INPUT_POST

I have this line of code in my php file where I am have a question regarding the line of code. What would be the difference if I did this to verify my date variable? Retrieve.php $firstDate = ...
uzzum07's user avatar
  • 101
1 vote
0 answers
161 views

Field value changes to undefined if no date chosen on datepicker and how to close onblur

I have a text field that opens a datepicker onclick. I would like the datepicker to close onblur, and I am getting 'undefined' in the field after closing the datepicker without choosing a date. I am ...
PortyR's user avatar
  • 365
1 vote
1 answer
932 views

How to hide table header row if no child rows, but show header row again if button clicked

I have a table with existing jobs and have a button to add new rows to that table if the user wants to add another job. When the user first clicks on the Add New button, a header appears above the ...
PortyR's user avatar
  • 365
0 votes
1 answer
265 views

How to increment a generated value in a dynamically-displayed webpage

I have a page that allows the user to add child jobs to the parent job by clicking a button to display a new row in a table (to fill in the details of the child job). One of the fields in that row is ...
PortyR's user avatar
  • 365
0 votes
0 answers
75 views

How to check if a field that is displayed on a button click is loaded

I am very new to MooTools and fairly new to JavaScript. I have created a template that displays a row on the click on a button. Each time the button is clicked, another row appears. One of the ...
PortyR's user avatar
  • 365
0 votes
1 answer
54 views

Using Mootools to inject a template into an existing table, but getting rownum is undefined at eval

I am very new to MooTools and somewhat new to JavaScript. I am trying to get a new row to show up on a button click. I have copied the code that another programmer did and adapted it to suit my needs ...
PortyR's user avatar
  • 365
1 vote
1 answer
101 views

calculatematrix using the javascript API rather than REST

I'm trying to use the calculatematrix API to take a load of destinations and calculate the driving distance to them from a given location (my examples first convert the postcode to a latlng) Using ...
Dave M's user avatar
  • 11
-2 votes
1 answer
38 views

Javsacript for loop giving out weird results

I wrote a simple for loop to perform some DOM manipulation based on the json response. Here's the code I have onSuccess: function(a) { var b = a.items.length; for (i = 0; i < b; i+...
Nash3man's user avatar
  • 155
1 vote
2 answers
250 views

Change a input text with select

I'm trying to change an text input to a select list with mootools when my condition is successful. The problem is that when I use the function replaces(), it doesn't work. window.addEvent('domready', ...
tawfik medhaffar's user avatar
1 vote
1 answer
72 views

Implementing mixin like functionality with EcmaScript6

While switching from Mootools to EcmaScript Classes I need to add some pre-built functionalities to classes. Like events... Mootools uses an Implements parameter in Class for this. var Widget = new ...
Zortext's user avatar
  • 576
0 votes
0 answers
163 views

HLS player with mooTools 1.4.5

We've bene hired to do some work on a site that uses mooTools 1.4.5 as its javascript framework. For the sake of this project we need to be able to play HLS video streams on that site. We tried to ...
David Ballerini's user avatar
1 vote
0 answers
27 views

I cannot loop in Fx.Move

I want to loop for ovject 'tablo' and move each position and loop to the next. It is my source: var tablo= {0:{x:5, y:12}, 1:{x:10, y:25}, 2:{x:7, y:22}, 3:{x:15, y:2},4:{x:13, y:30}}; var myfx; ...
Michel J's user avatar
0 votes
1 answer
459 views

create a range selection on click in a div

I have a div: <div>Lorem ipsum dolor sit amet, <b>consectetur adipiscing elit.</b> Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo ...
Michel J's user avatar
0 votes
1 answer
111 views

mootools - request json with freegeoip

I am trying to display city and region data in a html element using JSON feed from freegeoip.net. I am pretty new to Mootools and I am not sure where I am going wrong with my current script. My ...
Arif M's user avatar
  • 1
1 vote
0 answers
125 views

Mootools Type Definition File

On http://definitelytyped.org/, there are a lot of typescript type definition files for various well-established javascript libraries. However, I cannot find any for MooTools though. Any ideas? Just ...
Lokomotywa's user avatar
  • 2,664
0 votes
1 answer
25 views

QBO3 form validation classes being overwritten

I have a QBO3 form that I've added custom javascript to for validation. When I add a 'validation-failed' class to my element using: set('class','Validation-Failed') which causes the UI to behave ...
Eric Patrick's user avatar
  • 2,127
1 vote
1 answer
70 views

Using 'Class' and ES6

Is there a conflict of behavior for using the Class expression, since it became a reserved word in the latest version of Ecmascript? Can't say if there is identity of grammar between the two contexts, ...
Manaus's user avatar
  • 431
0 votes
1 answer
210 views

Selecting last element of a list

Trying to select the last element of a list, I can't grasp the fundamentals of getElements, here is the html code <section class="main"> <ul> <li>Lorem ipsum dolor sit amet.</...
Manaus's user avatar
  • 431
0 votes
1 answer
81 views

Is Mootools' $$ a synonym of jQuery's $?

I consider jQuery's $ function very handy. I know MooTools returns an Elements instance, but as a selector are there specific differences? Can you select whatever node on the Dom tree?
Manaus's user avatar
  • 431
2 votes
1 answer
1k views

Can I get contentDocument of dynamically created object tag in JavaScript?

I load a SVG file from an object tag and access its content from a JavaScript. $(document).ready(function() { $(window).load(function () { var a = document.getElementById("svgObj"); ...
katakuri's user avatar
1 vote
2 answers
821 views

jsFiddle Throws Console Error

I am an experienced developer, but I am new to JavaScript. Having an issue with JavaScript, I decided to use jsFiddle, which is also new to me. I found this tutorial: http://doc.jsfiddle.net/tutorial....
The Pascal King's user avatar
1 vote
3 answers
224 views

How to remove “onclick” with Mootools

I want to click other element to remove attribute on click with element a ; I used html like this: <a href="#" data-value="all" class="search-item" onclick="showCat(this)">全部商品</a> And ...
ethan's user avatar
  • 13
1 vote
0 answers
112 views

Squeezebox show custom content (no iframe)

I'd like to show some custom (HTML) content on a squeezebox (within Joomla). To show an iFrame I'm using this code: window.addEvent('domready', function() { SqueezeBox.open('https://whatever.com',...
alve89's user avatar
  • 989
2 votes
0 answers
256 views

Tabs does not work with mootools on joomla

Front-end article editing on Joomla! uses Mootools and my template uses Bootstrap (custom joomla) and jquery (1.12.4). Edit article is divided into tabs, which do not work. When I load form via CTRL+...
cododi's user avatar
  • 31
2 votes
0 answers
832 views

Cleave.js PhoneFormatter not working

I'm trying to implement Cleave.js with MooTools.js but although I'm doing it correctly (or so I believe, the implementation is very simple) I can't seem to get it to work no matter what. I also tried ...
James's user avatar
  • 679
0 votes
1 answer
321 views

How to prevent conflict between mootools and jquery for using selectvizr?

I need to be able to support all CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8. The polyfill called selectivizr allows you to do this. It needs a javascript library such as ...
Asif Ali's user avatar
  • 271
1 vote
1 answer
49 views

disable mootools sortable function without editing original

i've never worked with mootools before , i have to kill this specific sortable function , but i can not edit the original script , so i need to recall the function and disable it from triggering any ...
MShack's user avatar
  • 652
1 vote
0 answers
42 views

Do allow sorting of sortable items to be placed in unsorted items areas

I'm using mootools sortable , here is function below I have to be able to sort some tabs. I have disable a few tabs from sorting , but the other tabs that are allowed to be sorted can be moved into ...
MShack's user avatar
  • 652
0 votes
1 answer
84 views

Knockout JS select box issue

I am using knockout 3.4.0 for my project along with MooTools . I need to store an information of fields. One of the information is a select box which was loaded through KO . <select data-bind="...
Vivek's user avatar
  • 341
0 votes
0 answers
45 views

how to replace the existing clone data to new data retrieved

var copy = $('sports1').clone(true); copy.getChildren("span.yearsplayedtext").set('html', yearsplayed); $('profile-sports-holder').appendChild(copy); $('profile-holder-sportsadd').hide();
Kumar's user avatar
  • 1
1 vote
1 answer
80 views

Mootools login facebook

In a simple webpage I want user to be able to login with his facebook acount which is in javascript and mootools framework. The code is: var moofb = new MooFB.Base(APP_ID); $('login')....
mona's user avatar
  • 101

1
2 3 4 5
52