On Feb 13, 2:57 pm, Alex Mcauley webmas...@thecarmarketplace.com
wrote:
because the body is not a dynamically added element !!!
I want to add an element to the document dynamically and have it appear in
the center of the screen no matter where the scroller is
Well, if you ignore
On Sunday 15 February 2009 11:09:28 timbob wrote:
The problem is that you are triggering a mousemove event _every_ time
you move the mouse within the div, and every single time you create
a Move effect.
So when you leave the div there is a mouseout event and also the
mousemove event from
Hello and Howdy Do!
I'm working on something and Prototype and Scriptaculous are new to
me.
I've been hashing at it and learning it on my own, but I've finally
relented and accept that maybe hearing from others who have already
been there and done that is OK.
ajaxOptions has
I made a script to get the results of a XML file:
// to encode the url
function URLencode(sStr) {
return escape(sStr).
replace(/\+/g, '%2B').
replace(/\/g,'%22').
replace(/\'/g, '%27').
replace(/\//g,'%2F');
}
function
Hi there,
I've tried googling around for an answer to this, but either I'm using
the wrong keywords, or I'm just not getting the answer I'm looking
for.. Anyway, I'll give it a shot here.
I'm using Ajax.Updater to update a div with dynamic content. Pretty
cut and dry and this works fine, no
Hi!
I'm using Symfony 1.0.x with the prototype (1.5.0) helpers to monitor
a web-form for changes.
The prototype code generated by the helpers looks like this:
new Form.EventObserver(job_search_form_id, function(element, value)
{new Ajax.Updater('search_results', '/search/jobResultPage',
Hi,
Ajax.Updater is (by default) *asynchronous*, so your code doing the
resizing runs before the request completes. Use an onSuccess handler
[1] instead. (Don't just make the request synchronous, it locks up
the browser UI.) You might also find the bulletproof ajax requests
page[2] on the
Hi,
I'm using Symfony 1.0.x with the prototype (1.5.0) helpers to monitor
a web-form for changes.
Prototype 1.5.0 is very, very out of date. Many people here on the
list (including myself) won't even have seen it. Strongly recommend
updating to something more current. Presumably Symfony
I create my draggables in a function addDraggable(). The issue is that
only one Draggable, namely the last one created, is ever usable. This
is freaking me out, since I don't see why this is the case. My guess
is that scriptaculous doesn't have the right coordinates for the
floating elements.
T.J. Crowder wrote:
Hi,
Ajax.Updater is (by default) *asynchronous*, so your code doing the
resizing runs before the request completes. Use an onSuccess handler
[1] instead. (Don't just make the request synchronous, it locks up
the browser UI.) You might also find the bulletproof ajax
Aha. Try using onComplete. onSuccess fires when the Ajax event returns
success (naturally) but before you've done anything in the local DOM
with your new content. It's the Ajax equivalent of a 200 header from
the browser. All it means is everything worked, now your content is
coming!
Jason Frisvold wrote:
I actually tried onSuccess before, and had the same results. Is this
the correct syntax?
onComplete makes this work properly. So, I wonder, if I properly check
for failures, is it ok to use onComplete for this?
--
---
Jason Frisvold
Walter Lee Davis wrote:
Aha. Try using onComplete. onSuccess fires when the Ajax event returns
success (naturally) but before you've done anything in the local DOM
with your new content. It's the Ajax equivalent of a 200 header from
the browser. All it means is everything worked, now
Hi.
I want to set an error message for 20 seconds ...
$('sessionError').update(o_E.responseText).show().hide.delay(20);
The message is displayed correctly.
But not hidden again after 20 seconds or so.
Instead, I'm getting an error ...
element.style is undefined.
If I ...
HI All,
I have been trying to do this for several months and the documentation
seems to be of no help to me. Can someone help? I appreciate it.
I would like to be able to take these banners and move them to the
right or to the left.
Why doesn't move or Parallel work in this queue?
I little suggestion
Checking the source you have Domain Name Selection inside a div, follow
html suggestion for correct use I think what is better change to h4 or h5
tags.
Sorry my english. My native langueje is spanish.
2009/2/12 Andrew aara...@gmail.com
Thank you very much for the help, as
Hi,
your code does not work, because there is no Element method called
move.
You have to a) create a new Effect for this and b) you must merge the
two options hashes before using them since move expects only one:
new Effect.Move('banner1' , $H(options).merge({x: 60, y:-30}))
I would also
Hi Timm,
your code does not work, because there is no Element method called
move.
You have to a) create a new Effect for this and b) you must merge the
two options hashes before using them since move expects only one:
new Effect.Move('banner1' , $H(options).merge({x: 60, y:-30}))
How do I
At first: Sorry but i missed that you do not specify all required
options for Effect.Move
You should check at http://wiki.github.com/madrobby/scriptaculous/effect-move
, there you will find that you have to specifiy x, y and mode at least.
And i just realized that using a hash as container for
THANK YOU SO MUCH!!
On Mon, Feb 16, 2009 at 4:13 PM, Timm Florian Gloger
timm.glo...@gmail.com wrote:
At first: Sorry but i missed that you do not specify all required
options for Effect.Move
You should check at
Thanks, you are right, it works.
However, I tried the solution which saves the stat but i wasn't able
to solve the problem, I made it even worse...
html xmlns=http://www.w3.org/1999/xhtml;
head
script src=./module/prototype.js type=text/javascript/script
script src=./module/scriptaculous.js
On Feb 16, 11:10 am, Richard Quadling rquadl...@googlemail.com
wrote:
Hi.
I want to set an error message for 20 seconds ...
$('sessionError').update(o_E.responseText).show().hide.delay(20);
The message is displayed correctly.
But not hidden again after 20 seconds or so.
Instead, I'm
I'm not sure if this calls for a redesign, or if this is valid behavior.
I have a table with an onClick action on the tr tags. Normally, I
want this behavior to fire every time a row is clicked with one
exception. Within the tr is an a href that triggers a different
behavior on a click. At
The problem is that you have different scopes in all callbacks.
So the callback called when a mouseover event bubbles up, does not
know about ausgefahren as defined in the callback of dom:loaded and
so on.
You could use a global variable to save the state or use a custom
object with the
Hi,
Intermittently, I get a browser popup error that says:
RJS error:
TypeError: Value undefined (result of expression Element.insert) is
not object.
My suspicion is that since
Hi Jason,
I don't think it's possible, because you use Event inline, and you
can't control the event bubbling or propagation.
If you register the event with or without prototype but
programmatically with the traditionnal model, you could use the
event.stopPropagation function or for IE the
Sorry, I needed some more test, i did not use traditionnal event
model:
try this:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
head
titleo0O TEST O0o/title
/head
Hi Mario,
it's because you observe the aeusseresmenue element id on mouseover
and mouseout.
and when mouseover the element, it's move to show, that works
great :))
But when it move, as move is very quick (it's not that thing to
modify), the mouse stay in place and go on the inneresmenue element
Hi robert,
It's hard to guess your problem, but, javascript are loaded
synchronously, so that not the reason.
If you have an exemple, I could help you? a little bit more !?
--
david
On 16 fév, 23:31, chienr chi...@gmail.com wrote:
Hi,
Intermittently, I get a browser popup error that says:
Hi david, I don't have an example to show you, and it happens so
randomly. FWIW, I'm loading prototype on-demand with
element.appendChild(), which probably complicates things a little.
I just found reference to setInterval() in Javascript, will look into
that to see if it fits my needs.
Thanks.
30 matches
Mail list logo