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.
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 wrote:
> Hi,
>
> Intermittently, I get a browser popup error that says:
>
> ===
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" elem
Sorry, I needed some more test, i did not use traditionnal event
model:
try this:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
o0O TEST O0o
var stop='ok';
function process(e){
if (stop=='ok') e.stopPropagation()
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
window
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 inc
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 t
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 tags. Normally, I
want this behavior to fire every time a row is clicked with one
exception. Within the is an that triggers a different
behavior on a click. At the moment, b
On Feb 16, 11:10 am, Richard Quadling
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 getting an error
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...
http://www.w3.org/1999/xhtml";>
document.observe("dom:loaded", function(ev)
{
ausgefahren = 0;
$('aeusseresmenue').ob
THANK YOU SO MUCH!!
On Mon, Feb 16, 2009 at 4:13 PM, Timm Florian Gloger
wrote:
>
> 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
> , ther
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
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}))
H
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
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
>
> Thank you very much for the help, as well as the co
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?
http://wiki
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 ...
$('sessionError')
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, no
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
xenopha...
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!"
Wa
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
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.
Btw
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 1
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 un
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',
{async
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 pr
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 re
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 hasstripLoadedTex
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 , and every single time you create
> a Move effect.
> So when you leave the there is a mouseout event and also the
> mousemove event from your
On Feb 13, 2:57 pm, "Alex Mcauley"
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 standards-busting browsers, you can
30 matches
Mail list logo