Hi
Im using Effect.Transitions.sinoidal to bring in a div with menu
options. Ive set the durattion time to .6 of a second
While the div is transitioning in , if the user mouseover another
javascript event there is a stutter in the transition event.
Is there a way to freeze all other javascipt
I am encountering odd behavior when I include scriptaculous libraries
on a page where I have done custom HTTP requests (AJAX).
Please view this screenshot:
https://mywebspace.wisc.edu/ahoffmann/pub/autocompleter_bug.jpg
When the user selects a Project, I generate a list of teams in a drop
down
Hi,
It's not that it's conflicting with Ajax, it's that you're using a
for in loop in an incorrect (but common) way:
for ( var i in responseArr )
The JavaScript for in loop iterates over properties of an object,
not elements of an array. Array elements are also properties of the
array
Hi Cob,
I don't think there is a already done way to do that, I personnaly use
a common function and when effect is executing, set a variable and
test the variable so new effect while be launched or not.
But If you cannot do that, you can use the before effect callback to
test the variable and
ye there is only one small issue
the afterFinish has a bug and is actually called before the
Effect.Transitions.sinoidal is executed.
If you know of a solution for that then I can listen for the other events in
the before and afterFinish
2009/2/18 david david.brill...@gmail.com
Hi Cob,
I
Hi Isaac,
As I say in your previous post, modify the for loop and you will have
some gain !
For the problem of the overflowed DIV, I think it's an error in
Scriptaculous, because it did not take the scrolled offset to parent.
So you could look at this inside the class.
if some guys around could
Hi brendan,
For the bug of the afterFinish, I already have that kind of problem.
So I just delay a little (normally the time of one frame should be
enough) the code that should be normally execute.
What I recommend is to wrap all call to scriptaculous inside a
function, so you could easilly
ok thx for you help David
2009/2/18 david david.brill...@gmail.com
Hi brendan,
For the bug of the afterFinish, I already have that kind of problem.
So I just delay a little (normally the time of one frame should be
enough) the code that should be normally execute.
What I recommend is to
Hi all J
It's possible to retrieve the currently focused element with prototype ?
Thanks !
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send
Also fixed another bug for IE, whenever you click an option instead of
using return/tab it would ignore the afterupdateelement function and
not focus on the next text box but remain in the current one
onClick: function(event) {
var element = Event.findElement(event, 'LI');
this.index =
Dear David and All,
Still a newbie in the group, humble apologies again! Thank you for
taking time to respond to my issue, i'm also looking inside the class
to see if there's any thing i can change to make it work. Taking
javascript programming to new frontier in Africa creating, free
javascript
Dear David, All
Yes i do have a good reason, imagine you have multiple baskets which
can be for example type of rooms in a hotel e.g average one bedroom,
master sweet or a case where a university has multiple students. For
easier management of resources [hotel equipment or student courses]
the
I couldn't find a DOM or Javascript-specific way to to that. One way
to hack around thathe would be to assign a function to onFocus and
onBlur events like this:
var focusedElement = null;
Event.observe(window,'load',function() {
$$('input, select, textarea').each(function(e){
Dear David, All,
Looked at the Dragdrop.js and prototype, would be nice if one can
explain how the droppable is obtained, i presume it might be by
pointer position passed also had some revelations in show: function
(point, element). Anyway looked at the functional tests [scriptaculous-
Hi Isaac,
Hope to soon become pro-javascriptor, senior scriptaculous african
Rep, will spread this good deed also by helping others in the forum.
Again humble apologies for rude way of problem presentation.
Hope I can help you !!!
On 18 fév, 13:23, javamaasai ikhag...@gmail.com wrote:
Dear
Hi Isaac,
I've resolve your problem, I did not have the same version of
scriptaculous as you, but afetr modifying what you change, here is how
it works:
The problem was that the Draggable/Droppable method use
Position.within to verify if the mouse pointer is on an element or
not.
This function
About the idea of using table == could be interresting, but IE have
some trouble with it !!!
About usability:
the problem is that while dragging, you should scroll to drop in the
fourth droppable, I personnaly think that people will don't have the
idea to do this even if there is a scrollbar,
Hi bearState,
I did not see this post, look at
http://wiki.github.com/madrobby/scriptaculous/ajax-inplaceeditor
and you'll have I think what you need:
Using HTML within the In Place Editor
If you are using Markdown or Textile, you can include HTML within your
text. And if you follow the
Hi,
There are Sinusoidal transitions and Reverse (linear) transitions - is there a
way to get a reverse Sinusoidal?
Thanks,
Jim
--
Jim
my wiki ajaxification thing: http://wikizzle.org
my blog: http://jimhigson.blogspot.com/
--~--~-~--~~~---~--~~
You received
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
the value that you use for xCo
run the the same function again using -xCo
I use the following
moveRight : function(mvePan,xCo){
menuFrag.scrollCnt = menuFrag.scrollCnt + 1;
new Effect.Move(mvePan, {duration: .5,
x: xCo, y: 0, mode: 'relative',
On Wednesday 18 February 2009 15:53:08 Brendan O Connor wrote:
run the the same function again using -xCo
I use the following
moveRight : function(mvePan,xCo){
menuFrag.scrollCnt = menuFrag.scrollCnt + 1;
new Effect.Move(mvePan, {duration: .5,
valid point..my solution is for slide show so its very simple
2009/2/18 Jim Higson j...@wikizzle.org
On Wednesday 18 February 2009 15:53:08 Brendan O Connor wrote:
run the the same function again using -xCo
I use the following
moveRight : function(mvePan,xCo){
On Wednesday 18 February 2009 16:18:37 Jim Higson wrote:
On Wednesday 18 February 2009 15:53:08 Brendan O Connor wrote:
run the the same function again using -xCo
I use the following
moveRight : function(mvePan,xCo){
menuFrag.scrollCnt = menuFrag.scrollCnt + 1;
I have a demo page here:
http://scripty.walterdavisstudio.com/gallery/
that demonstrates the following problem in Firefox:
Click on a picture (the moon is good for this) that covers the
vertical scrollbar. The picture appears under the scrollbar (but over
the rest of the page and the
Bear with me, as the problem I'm encountering seems very arcane.
Hopefully I can describe it well enough that we can determine what the
problem is and fix it.
A few months ago I designed an lightbox style modal dialog class
that I call the Dashbox. No one else really uses it but me, I wrote
it
Hi,
I'm using the scriptaculous fade and appear effects together to swap
in new content in an area of my website. So first I call the fade
effect to remove the old content, and then I call the appear effect to
bring in the new content.
This works perfectly in Firefox, but in IE7, the text in
Naturally, writing this helped me figure it out. The solution was to
add position: fixed to the overlay when it's in a Gecko browser. There
was already one hack in the _addLightWindowMarkup function for another
Gecko issue, so I was able to tack this on at the end and now the
scrollbar
Hi,
All of your subclasses and instances share a unique responders object.
Why don't you just set your responders as regular instance methods of
your class ?
That would be a lot cleaner and would avoid the problem completely.
Best,
Tobie
On Feb 18, 10:36 pm, dashifen dashi...@dashifen.com
I have a script that facilitates 3 Ajax requests. One of the requests
takes a while for the server to render because it dynamically creates
a series of .png files in a hidden div which is toggled to display
inline. Because the server takes long to render, the users are
prompted (by IE) to turn
You could have this long running request simply return a status of still
processing or something like that right away, which would then trigger your
client code to poll again in X milliseconds, repeatedly, until the process
returns as complete. Of course this would mean that the initial request
I suppose you are using synchronous requests.
Make sure your using async requests.
Best,
Tobie
On Feb 19, 3:35 am, dizzyjay dizzy...@gmail.com wrote:
I have a script that facilitates 3 Ajax requests. One of the requests
takes a while for the server to render because it dynamically creates
Thanks again for the advice, and let me tell you it made a huge
difference when testing with 2,000 rows vs. 200. Kangax's code made
for a very quick sort, but trying to do so at each keyup was a killer.
Here's where I ended up in the end:
var list = $$(#delegates li);
I get an error object expected in IE 7 SIMPLY by referencing this
file with an html script tag.
--~--~-~--~~~---~--~~
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
Hi there!
I need to remove an arbitray element from the DOM and add it later
exactly to the same point in the DOM. I wonder is there is a direct
way to achieve this. Right now i have to check wether the element has
a previous sibling or directly a parent and remember this information
to add
Hi,
Obviously you'll have to give folks a LOT more to work with than
that. Just including Prototype in a page does not cause an error on
IE7, there's some conflict somewhere with other code on your page.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting
Hi,
You must have checked this, but... Are you _absolutely_ sure that
bookFormHandler() is being called at all? It sounds like it's just
not hooked up. Have you walked through the code with Firebug?
FWIW...
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting
Hi,
FWIW, I think you can avoid the branching.
To remember an element's position and then remove it:
* * * *
function saveAndRemoveElement(elm) {
var saved;
saved = {
elm:elm,
parent: elm.parentNode,
next: elm.nextSibling // = May be undefined, that's
On Feb 19, 3:55 pm, RobG rg...@iinet.net.au wrote:
[...]
*Do not* use Prototype.js's sibling array as it will remove text
nodes, you certainly don't want to do that.
Not worded quite right: Prototype.js doesn't include text nodes in its
sibling arrays, but they should be used in this case so
Dear David, All
Successful, thank you for the tips on browser compatibility issue and
yes [Position.includeScrollOffsets = true;] is the key plus adding
scroll capability of the parent container. Glancing over the posts
with craving of wanting to know more fast, wishing it was possible to
hire
40 matches
Mail list logo