Skip to main content

All Questions

Tagged with
0 votes
1 answer
422 views

mootools group checkbox return values

How can I return selected checkboxes values from mootools class: Mootools class: var CheckboxGroup = new Class({ Implements: Events, initialize: function(master, slaves) { this....
XTRUST.ORG's user avatar
  • 3,374
0 votes
1 answer
372 views

el Child in each function

I have a questions. I search for a solution for these. Wanna use el with child function. But didn't work sofar. If i clear the el it works but then i have all elements class last. Mootools Script $$...
user1898361's user avatar
8 votes
4 answers
402 views

Is there a way to search for attributes that start with a certain string in HTML

Is there a way to find all the elements with attributes that start with a particular string? I am using Mootools framework and this is what I have tried: $$('*[data-media-*]'); But it just outputs ...
jnbdz's user avatar
  • 4,913
0 votes
1 answer
5k views

How to trigger an event in Mootools for a specific tag/element with a specific element ID?

How to trigger an event in Mootools for a specific tag/element with a specific element ID? I have this: <a href="youtube-clip...etc" rel="rokbox" id="video_popup" style="display: none;">Video&...
user avatar
0 votes
1 answer
1k views

Mootools 1.3.1: Selector for parent (id) > child

I am currently working on a mootools 1.3.1 script and have a structure like this: <div id="100"> <img src=""> </div> I know already the selector $$('div.class img') but how does it ...
user avatar
0 votes
2 answers
466 views

How to inject an image inside a div using its class as selector

I cant get this to work, I want to create a new element DIV with id = item and class = item+variable, like this: <div id="item" class="item1"></div> and then inject an image inside by ...
Thaiscorpion's user avatar
3 votes
1 answer
1k views

mootools css multiple attributes

I am trying to match in Mootools [version 1.11] a multiple CSS attribute as in this element: <input type="radio" value="dev" name="radio_server"> I would like to match this element that has ...
dawez's user avatar
  • 2,714
0 votes
1 answer
267 views

Selecting a pattern within HTML with jQuery

I'm trying to convert an old Tips plugin from Mootools to jQuery: http://flowplayer.org/tools/tooltip/index.html Everything's in working order, except I'm having trouble re-styling the value of the ...
Jay's user avatar
  • 1,094
2 votes
1 answer
941 views

Remove CSS selectors and it's related properties if needed

I am trying to remove specific CSS selectors, and if there is no more selectors for a list of properties than the script removes it... I was able to get a part of the script working: http://jsfiddle....
jnbdz's user avatar
  • 4,913
0 votes
2 answers
113 views

Mootools selector trouble

I have this html: <div id="link-thumbs-list"> <img src="image.php?f=http://www.jetphotos.net/trans.gif&amp;h=72&amp;w=128" /> <img src="image.php?f=http://www.jetphotos.net/...
Ste's user avatar
  • 1,510
2 votes
3 answers
6k views

How to get a collection of input elements by name attribute

I've got a form which looks like that: <form method="post" enctype="multipart/form-data" onsubmit="return new_post_form_submit();"> <input type="hidden" name="task" value="addPost"> ...
Piotr Salaciak's user avatar
1 vote
1 answer
702 views

selecting pseudo-elements with mootools

Using MooTools,is it possible to select elements generated using the css pseudo-selectors ':before' and ':after'? Specifically, I'm defining the element below, and trying to adjust its height with ...
sslepian's user avatar
  • 1,911
2 votes
2 answers
2k views

MooTools: Attaching event to multiple elements

I've got a jQuery routine I need to convert to MooTools, but I can't get it to work. Here's my jQuery version: $(".google-analytics-link").click(function () { var href = $(this).attr("href"); ...
foobarbarfoo's user avatar
4 votes
2 answers
3k views

Getting all visible elements using MooTools

I am moving from jQuery to MooTools (for the fun..) and I have this line of code : $subMenus = $headMenu.find('li ul.sub_menu:visible'); How I can write this in mootools? I know that I can use ...
Yosi's user avatar
  • 2,956
0 votes
1 answer
2k views

Mootools wildcard selector

How can I select all elements whose IDs start with "row_", for example "row_223425" and "row_at264" etc.? What I am ultimately trying to do is give a background colour to each even .productWrapper ...
Psyspi's user avatar
  • 3

15 30 50 per page