Dear friends
I have a question about calling other functions in a mootools class. For example:
var f = new Class('foo',
{
test1: function(){
var table = new Element(........);
....
...
$(table).getElements('input').each(function(input) {
input.addEvent('change', function() {
**// how c...
I'm loading html content via ajax onto a div (using mootools 1.11 and squeezebox, if it matters).
In the content that I load I have some JS that manipulates some of the loaded HTML objects.
Everything works fine in FF, but when I load it in IE (tested on IE7 for now) the code fails with "'null' is null or not an object.
A quick test show...
dear friends
I am looking for numeric textbox control based on mootools framework.
i'd be grateful if someone help me to find or implement this control.
thank you .
Alimz
...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<script language="JavaScript" src="mootools-1.2.3-core-nc.js"></script>
<script language="JavaScript" src="mootools-1.2.3.1-more-nc.js"></script>
</HEAD>
<BODY id='body'>
</BODY>
<Script>
function onkeydown(e){
...
I'm looking to get acquainted with jQuery a little better than I already am. I'm not looking to necessarily replace MooTools, but rather for a basic difference guide between the two, not dissimilar to the Ruby From Other Languages guides.
Can you recommend any articles, books, or other sources of information for this purpose?
...
Hi there...
suppose I have a mootools Element
and I want to get a list of all it's descendants (not only direct children)...
how can I do this?
Thanks!
...
I'm doing a web where I heavily use AJAX requests to
a XML service. In fact, my web is a front-end with almost
no server whatsoever and uses AJAX to communicate with
the back-end.
Everything was going fine (I developed and tested in Ubuntu 9.04
and Firefox 3.0 as a browser).
One day I decided to see how my web did in IE8...
horror!
Not...
Hi,
I am developing an PHP/Mysql application whereby if the user enter a certain value, the results should be displayed to him in a Mootools SqueezeBox alert.
But all the usages of Squeeze I am seeing involve link-activated alerts i.e. when someone clicks a link, the Squeezebox alert appears.
How can it be as I mentioned?
Thanks
...
Internet Explorer 8 and 7 fails with error when i update the select box with new option and choose the selected option. In other browsers this works fine and without errors. I use Mootools 1.2.3.
<?php
$getdestiny=$_GET['dest'];
$getcountry=$_GET['countr'];
print "<script type='text/javascript'>
window.addEvent('do...
hi friends
I am developing one site using joomla 1.5 and mootools 1.1 for js framework,
in that i need to display some HTML content to be displayed in thick box.
I have tried a lot, but its not working for me not even giving an error.
Please let me know if have any solution to this problem.
Thanks in advance......
...
I use
< script type="text/javascript" src="jquery-1.2.2.pack.js"> < /script>
to load jquery and then load an external script that contains these :
var jkpanel={
controltext: 'menu',
$mainpanel: null, contentdivheight: 0,
openclose:function($, speed){
this.$mainpanel.stop() //stop any animation
if (this.$mainpanel.attr('...
I have a form, that has about 10 text entries (user, address, email etc;)
and about 50+ entries that are quantity entries (users select 2x of this item, 5x of this item).
Now I inherited this form from someone else (now its my duty to keep it up to date, when the customer requests it).
I don't want to re-write it all, but I would like ...
I'm writing a quick log function to wrap around the native console.log to prevent errors later on in development (like forgotten console.log statements in your code). I'm using the mootools $defined and $type functions to check for the existence of a console and the console.log function before calling it. However when I disable firebug...
Hi,i need to set the unique numeric rel attributes for anchor elements in table with class "tdresult". Im trying to set them in the loop, but im not very good at Javascript and probably don't undestood loops.
$$('.tdresult').each(function(chooseClass) {
var ellen=chooseClass.getElements('a').length;
var eli=chooseClass.getEleme...
Hi,
I am using Squeeze Box to access a PHP file which prints an alert for the user based on the link clicked (i.e. PHP file uses $_GET variable).
The problem is when I click once the alert box open correctly but when I click the link again, the result appears twice i.e. it duplicates itself and the results continue replicating each tim...
Hi,
How Can i force one Mootools ToolTip (Tip) to Open?
Regards,
Pedro
...
In jQuery trigger('click') and click() seem to only trigger the onclick event. I want to simulate a click of an a tag without an onclick event.
What I am trying to reach is to display a lightbox upon landing. The lightbox is attached to an a tag which needs to be clicked.
Any ideas?
...
Hi,
How do I get the id's of all the checkboxes generated by a checkboxlist, with datatable as its data source?
I think I have to use the "OnDataBinding" event of the checkbox list, but I don't see how that will help me.
I am using C#
I don't think getting the id's of all the check boxes generated by the check box list is possible, s...
Can we use MooTools AND Prototype & script. aculo.us, both in single project ?
Is there any problem occurs if we use both framework in single project ?
Is there any adapter, which help us to use both framework in single project ?
...
Hi! How would be correct to get the font elements in the table with color="#0000cc" and drop after each the new img Element? I'm trying to do like that, but it doesnt' work
$$('.tdresult font').each(function(el){
var state=el.get('color');
if (state.match('#0000cc'))
{
var newel = new Element ('img' , { 'src' : 'images/case.png' ,...