w00t! Great news! I don't need to spend time, which I don't have, to learn
jquery.
fractorr, I hear that you are in same situation as me.
Nice to see that this group is alive, must have been the fastest responses
ever.
--
---
You received this message because you are subscribed to the Goog
Hi guys, girls etc,
Today was thinking about the problems if the development of mootools is
discontinued, what would happen with my site if the scripts stops to work?
So I thought I should try to convert one of my scripts to jquery just to
test. I can tall you that it was a direct fail. I creat
Problem seems to be that the iframe takes focus over the div.
This problem could be solve with something like this.
http://jsfiddle.net/3JZQt/2/
Click on Drag Resize to increase decrease the size of the Some Content
area. Below the iframe the resizing goes without problem but within
the iframe the mouse looses control. This happens if the mouse is
moved fast enough but still not extremely fast. Dragging and the
release the mouse button whil
I couldn't get your jsfiddle code to work but you could try this,
var blaj = this.iframe.contentDocument ||
this.iframe.contentWindow.document;
blaj.scrollTo.
I think this is the difference between FF/Chrome and IE.
Still don't understand what you are trying to achieve with the while
loop. To
As Matthew wrote, it's quite complicated to understand code without
jsfiddle. I think I've already created a dynamic iframe resize code
which you can use?
Check this thread out.
https://groups.google.com/group/mootools-users/browse_thread/thread/44b98abb82e1ca09/cfc8c280cf92ed8c?lnk=
Your example works fine but it's not really what I'm looking for as I
have the real url as href because I want the link to work if someone
opens in a new window/tab.
I tried to modify your example to take the real url with hash but that
didn't work.
I wonder if this could be done with a html5 sol
> You need an href that matches the XHR URL. You don't have to follow
> the href (preventing default), but CSS needs it to match to the
> browser history.
Please explain.
Example in jsfiddle this time.
http://jsfiddle.net/NF2jz/2468/
I have links which updates some content when the user click the link.
The problem is that my users complain that the links aren't turning to
the :visited color after they have visited the link. How could I
achieve :visited colors to the clicked ajax links.
Sample code. No jsfiddle needed?
element
I've finally found a solution to my problem.
setIframeHeight: function() {
var innerDoc = (this.iframeElement.contentDocument) ?
this.iframeElement.contentDocument :
this.iframeElement.contentWindow.document;
var h = innerDoc.
Isn't there anyone who can help me with this?
Test to make a new build.js and exclude mootools-more package, if you
included that when you made the build.js
I've tried to put this in jsfiddle but I can't find any good content
from same domain that have different lengths contains links to other
content. Content from different domains will not work, see example 3
below. The goal is to get example 4, see below, to work.
Example 1:
http://fiddle.jshell.ne
Can someone help me with this problem?
I need help to add the new html5 event onbeforeonload to an Iframe
element.
http://www.w3schools.com/html5/html5_ref_eventattributes.asp
I'm going to do a iframe that dynamically changes the height after
different content. Everything will be in same domain. Right now I have
the problem that the he
Thanks.
On 11 Nov, 01:07, Philip Thompson wrote:
> Yes, thanks for this clarification!
>
> ~Philip
>
> On Thu, Nov 10, 2011 at 3:23 PM, Lee wrote:
>
> > On 10/11/2011 20:40, Sean McArthur wrote:
>
> >> Glorious.
>
> > Amen.
>
> --http://lonestarlightandsound.com/
Can someone explain how I can get the popstate event to be fired, with
ordinary mootools addEvent, when I use back/forward button in the
browser.
This code does not work
window.addEvent('popstate', function(event) {
console.dir(event);
});
This code does work
window.onpopstate = function
On Oct 27, 12:04 am, Aaron Newton wrote:
> that url argument is odd; that's the anchor element, yes?
>
> otherwise looks good.
The request function takes either a form- or an anchor element. A form
should pick out the query string and the anchor not. I guess I
shouldn't name it url.
Thanks.
http://jsfiddle.net/5bdLx/4/
Is it possible to make different events between leftClick and scroll
button click?
I usually use the scroll button to open new link in a new tab (Chrome)
but if I use the ordinary 'click' event then both left and scroll
button clicks are detected.
See jsfiddle code. I want to prevent left clicks
I now use delegation.
if(!this.relayLoaded) {
if(this.options.ajaxLinks) {
element.addEvent('click:relay(a.' +
this.options.ajaxClass + ')',
function(event, url){
event.preventDefault()
The code I'm currently working with is actually something I began with
before event delegations existed (or at least before I knew about it).
Event delegation seems to be correct solutions. I'm working with a
ajax content updater class.
I'm going to convert an existing framset- to an ajax layout.
I got most of my answers here
http://mootools.net/blog/2011/03/28/events-with-mootools-element-class-delegation-and-pseudos/
How does it work with addEvent and AJAX request?
If I have a page with a sidebar to the left and another column with
main content to the right. All the links in the sidebar have click
addEvent which updates the main content area with AJAX requests. The
maincontent area also have links with click a
I solve the problem now. I couldn't use elements in the onComplete.
Instead I had to use $$('a'). The whole code is far more complicated
than just this part but this will solve this problem.
On Oct 9, 10:50 pm, zipz wrote:
> Yes my code was very ugly. I have a new
like that and expect anybody
> > to know what you're trying to do :D
>
> > Read the "Backend Support" section on the site so you can make real
> > requests.
>
> > My code (http://mooshell.net/7Czz9/) does exactly what you want (I think.)
> > St
Try to get the alert. http://mooshell.net/de3My/
On Oct 9, 9:17 pm, Fábio M. Costa wrote:
> zipz, Ryan just gave you a nice start, modify the code and show it to us so
> we can help you.
> Thanks zalum for this great service (mooshell)!
>
> --
> Fábio Miranda Costa
&g
I think my problem is something similar and I haven't found a solution
either. I want to make some click events on the loaded elements in the
requested. I get the responseElements in the onSuccess/onComplete
function but the events aren't attached to the elements. I know it's
because the domready
28 matches
Mail list logo