)
focusedElement = null;
}
}(e));
});
});
As a result, focusedElement will either have the focused element or
null of none.
Hope my haccome have been of value,
- Baglan
p.s. Sorry for rather unintelligible code :)
On Feb 18, 5:43
And sorry for so many typos - I'm not sure what haccome even
means :) but the code should work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to
I see 2 parts to this problem:
1. How to figure out that dragging has finished (so that AJAX request
for saving new coordinates can be initiated);
2. How to figure out element position.
If you're using the Scriptaulous Draggable behavior, result should
look like this:
script
Hi!
I see 2 parts to this problem:
1. Determining which part of the page has enough visible space (above
or below the field);
2. Positioning the DIV containing the suggestions above or below.
I haven't tried it yet, but (1) should be easy to do with
document.viewport.getDimensions()
Cool effects!
There's one tiny thing: when using 'HorizontalSplit', 1px-high part of
the original image shows thru.
- Baglan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post
I see a problem here:
document.onload = findForms();
it assigns to document.onload value that findForms() RETURNS. As the
function itself doesn't return anything, document.onload is being
assigned null.
Rewriting it as following should work:
document.onload = findForms;
However, rewriting it
of
issues. Personally, I'm using FireBug for Firefox - it shows if there
were any Javascript errors and lets you inspect AJAX requests easily.
- Baglan
p.s. Here's the link for the Firebug:
https://addons.mozilla.org/en-US/firefox/addon/1843
such a request and pose as a
different user. I'd use sessions instead.
Good luck with the service
- Baglan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email
of updates - never a PeriodicalUpdater or
PeriodicalExecuter. I guess it makes sense to keep that functionality
on the server side.
- Baglan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us
=update_stuff();return false;Update/a
Otherwise default behavior gets triggered and '#' makes page jump to
the top.
- Baglan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post
That's certainly possible, however, you will have to implement the
mechanism for checking which JS files are necessary yourself.
As for method to optionally load JS files, Scriptaculous, for
instance, inserts script tags (see scriptaculous.js).
- Baglan
I'm using a Mac, so I'm not entirely sure about IE7, however, I
suggest you to try setting 'method' to 'get' if you have not done that
already (default method is 'post' and browsers tend to fail with
request method not supported error). Here's an example:
new
'course it is :-) Check out:
http://github.com/madrobby/scripty2
Coming up soon: finalization of the brand-new effects engine, then new
Behaviors module and all-new Drag-n-Drop module. Then Controls and
Sound will be ported, quite probably by YT, and Builder may end up as an
Hello!
Browsing thru the GIT repository for the Script.aculo.us, I've found
this phrase on the Contributions page (http://github.com/madrobby/
scriptaculous/wikis/Contribute):
As script.aculo.us 1.xx is feature-frozen, this development trunk is
for bugfixes only (new features will only happen
14 matches
Mail list logo