The site I'm making uses a tabbed navigation and MooTools to fade the pages in and out. One of the pages has a Flash player embedded on it, and all of the others consist of pure HTML. The problem occurs on the HTML pages -- somehow the Flash player is causing the HTML pages to display oddly. Vertical borders and text will be jagged in th...
I am sending a request using post, but on firebug I see the request type is OPTIONS.
How do I avoid that?
Here is the code I am using:
var Req = new Request.HTML({'onSuccess':function(responseTree){
$('my_id').innerHTML='';
$('my_id').adopt(responseTree);
...
Hi!
I am using Mootools extensively for a site which I am developing. But recently I noticed a problem that the animations slow down alot when I zoom (using the browsers Zoom In) in into the site. What could be a possible reason for this problem ? Or is this problem inherit in Mootools itself. This happens in Chrome 6.0.472 as wel...
hi.
using mootools, and have the follwoing test. the test has an initial function that traps the 'submit' event from the form, so the submit btn invokes the window.addEvent function. this works.
i'm trying to figure out how to call the window.addEvent function from a separate javascript function, ie the saveCollegedata function.
in lo...
I'm trying to get this mootools bubble chart demo (http://moochart.coneri.se/) to work in my code but am having a bit of difficulty. Can anyone help with this? Here is the code that I have (I think it's what the documentation is saying, but please correct me if I'm wrong).
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mo...
This is a basic question. Sorry.
I have the following code:
$extend(ImageCrop, Options.prototype);
Swiff.Uploader = new Class({
Extends: Swiff,
Implements: Events,
options: {
path: "Swiff.Uploader.swf",
target: null,
zIndex: 9999,
height: 30,
width: 100,
callBacks: null,
...
Hey all,
I mostly use jQuery, but am working on a site that is built on mootools.
I'm using "makeDraggable", which works fine on browsers, but falls apart on iPhone / iPad. It's being added like so:
dragIcon.addEvent('mousedown', dragTheIcon);
I added the "touchstart" and "touchmove" event listeners but they don't seem to work, and ...
Hello All,
i m newbie to joomla, although i have worked a lot with jQuery so i feel comfortable in jQuery rather than mootools, now i m developing a joomla component, so what i do..
on
joomla/administrator/component/com_property/admin.controller.php
i write below code
defined('_JEXEC') or die('Restricted access');...
Hello,
I don't know why joomla is not updating mootools with their updated version, joomla 1.5 still use mootools v 1.1, i tried to replace it with latest mootools version, but results are horrible, website stops working, everthing gone worst.
so please suggest me how to update mootools version into joomla without any problem.
...
I'm having problems implementing classes in mootools since I can't use 'this' when I send methods in say element.addEvent.
Say I have this mootools class:
var Dude = new Class({
highlightColor: '#f00',
doStuff: function() {
var parent = $('theParentId');
new Element('div', {'html': 'Click me'})
.i...
I'm trying to show a SCORM object into a lightbox-like plugin.
I've tried few jquery scripts (topup, prettyPhoto) and squeezeBox for mootools.
I can get the SCORM working only in Chrome and Safari but not in Firefox, where it shows only the left navigation bar.
Any idea?
...
My idea : when click a filename will get the path of file ,
then create a form and submit this form,
but i don't know how to submit ,
when submit , undefined form cause elements was created at same time
help me, thank !
<p onclcick='startUpload(this.value)'>PATHTOFILE<p>
function startUpload(file)
{
var form = '<...
Here's the logic:
- Use JSONP to generate a list of articles
- When the user clicks the title, do another JSONP req. and generate the content by replacing the subtitle from the previous request.
That's all nice and dandy, but this is what happens:
- I click a random article title, content replaces subtitle (works great)
- I click a seco...
I have a checkbox I wanting to show a fieldset in a form dependent on whether or not the checkbox is clicked or not? i.e if the checkbox is checked don't show the fieldset and if it is not show the fieldset.
My markup looks like this,
<fieldset class="toplined">
<label>Keep Image</label>
<input type="checkbox" name="update_image[]" va...
Hi All,
I have the following piece of code written using mootools and mootools canvas library.
CANVAS.init({ canvasElement : 'canvas', interactive : true });
var itemlayer = CANVAS.layers.add({ id : 'items' });
for(var j = 0; j < 5; j++)
{
for(var i = 0; i < 5; i++)
{
itemlayer.add({
id : 'item-'+i + '-' + j,
x ...
Hi,
I have asked this question before and it seemed that the code I was using was pretty confusing. So this is a virtually dumed down version of the same code.
I draw a square on the canvas using the add function. Like wise I should be able to remove the item from the canvas using the remove function! Alas it doesn't seem to happen so....
I have searched alot on google with no luck.
I want a flv film to play in a bumpbox window when a button is pushed in a flash banner. Does anybody know how?
I tried looking for some support on artvipers own site but no luck either.
Artviper - bumpbox
(This is my first post, so please be gentle :))
...
hi i am using mootool.js and i want to use two buttons (show/hide).There is li on my html page id as list.This is in loop (200 li has same id).i want to show hide images on onclick function of buttons.for this i have made a javascript in which i have send the value show and hide and write this line in javascript $('li#list').set('class'...
Hey all,
I'm about to port a series of my jQuery projects over to Vanilla Javascript (pure javascript, no framework) and would like to know if there are any existing [framework adapters / framework agnostic adapters] out there?
For instance I'm envisioning something like this:
// My Project
(function(){
// Fetch all the elements u...
How do you make javascript codes execute repeatedly? Say I have a DIV with id='box' and with innerHTML of 1. Then, say we have a link "add me up", which when you click and hold your mouse, the function will repeatedly increment the inner html by 1 until you let go of the mouse?
dragging mootools into the scenario, how can i run the code...