Hi Ed,
the function uses Timeouts to scroll the contents of your container
(this is what var x is). I think you should only need to set x =
setTimeout(scrollMe(),40)
The second argument (40) is the time in ms I think.
Greetings from Germany,
Chris
Hi,
Is
there a way for submit() to function with input name=submit
type=submit / because that is so ingrained into the html and back
end code that if I cannot I need to re approach a different way in
javascript.
The problem (as I'm sure you figured out) is that IE puts properties
(well,
Worked perfectly, thanks very much for your help Chris.
Ed
On May 27, 5:46 am, Chris c...@clicksports.de wrote:
Hi Ed,
the function uses Timeouts to scroll the contents of your container
(this is what var x is). I think you should only need to set x =
setTimeout(scrollMe(),40)
The second
Hi ColinFine,
It doesn't seem to me that these imply that there will be a different
scope, but I'm not sure.
I translate badlly my though (and I'm probably wrong). The created
function in both case have the same scope (I think too).
According to what you quote, I made the following test:
var
Hi again ColinFine,
Just had another test that make me understand what you quote:
var _f=function(){return true};
var F;
if(_f()===true) F=function(){alert('F true');}
else F=function(){alert('F false');};
F();
var _ff=true;
if((function(){return false})()===true) { function FF(){alert('FF
Hi austenc,
just one thought,is there any delay ???
btw, could you post much more code, because I've used queue in Effect
and never see such a behaviour.
--
david
On 26 mai, 23:49, austenc austen.came...@gmail.com wrote:
I'm trying to queue blindup and blinddown effects so the user can't
Hi austenc,
you should have to handle that yourself, by saving the current effectS
you used in the accordian and if another effect should be launch, test
the variable and use the cancel() function of scriptaculous Effects
before launching the new Effect.
Be sure on the afterFinish Callback to
Hi geoffcox,
do you change something, because the slider is well centered in the
gray contener.
Tested one FF3.0 and IE6.
--
david
On 26 mai, 21:43, geoffcox geoffa...@gmail.com wrote:
Hello,
The slider at the bottom of this page,
Hi again,
I just see the complete page with all sliders exemples:
http://www.aldenta.com/examples/script.aculo.us/index.html
I found it interresting, because itr cover quite all exemple people
should need ?
perhaps an upgrade to scriptaculous 1.8.3 would be perfect but I did
not think slider
I added the line
elm.up('form').submit();
after playing with this script in a simple test page I setup. I
created a simple html document with just a form w/ 1 field and 2
submit buttons. In IE6 regardless the form will not submit if you
remove the submit() line. disabling the submit button on
Hi,
I'm using bindAsEventListener in my classes like this :
code
initialize : function(){
$$('.poper').each(function(element){
Event.observe
(element,'click',this._clicCase.bindAsEventListener(this)
}.bindAsEventListener(this));
}
/code
in the prototype doc we can read : quote
Hi,
I am using partials in my application.I have a cancel link
(link_to_remote) in my partial which will update the div id.It is
working fine.But,problem is it is throwing a error in firebug saying
App is not defined in prototype.js line 403.I have no idea how to go
about it.
any clue ?
I cam across these related tickets:
http://dev.rubyonrails.org/ticket/6722
http://dev.rubyonrails.org/ticket/9871
I think it would probably be critical for many use cases that the
scripts load synchronously in order of appearance after an element is
updated. Maybe another value for the
Hi,
So i was wondering if my code could be optimized ?
Yes, you only need to do the binding once, and then you can reuse it.
There are actually several optimizations you can perform on that
code. I'll take an iterative approach:
1. You don't need to bind your iteration function;
Hi All,
I am new to prototype and I need a bit of an explanation on
Event.observe please - I have used it several times and it's been ok -
Now I have a function that builds a table row on the fly but it's
behaving a bit strange. (I can paste the code of the function if
needed - it's taken from
Hi again gio,
some explanation on:
Event.observe(window, 'load', function() {
Event.observe(window,'load',computeTotalForTable('cities'));
})
The first Event.observe register the handler function
function() {
Event.observe(window,'load',computeTotalForTable('cities'));
}
so when the event
I suppose I should be more specific. My question is whether there are
certain HTML tags that could cause this to not work. I realize that
there's nothing in the slide div, in the actual code there is, I just
didn't paste it here.
--~--~-~--~~~---~--~~
You
Hey,
I am trying to update prototype from 1.5.0 to 1.6.0RC but i seem to be
getting a error something like :
hash.__properties is undefined
[Break on this error] if (current.length == hash.__properties.length)
in prototype update file.
Thanks
--~--~-~--~~~---~--~~
all i see is missing td/td... in my experience that can jack things up
rather quickly, depending on browser and other factors...
- Original Message -
From: craig
To: Prototype script.aculo.us
Sent: Wednesday, May 27, 2009 11:08 AM
Subject: [Proto-Scripty] Screwy CSS
OK, nevermind I've got it. As you were saying, and as I didn't know,
everything in tr needs to be inside a td.
Thanks for your help!
Craig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us
Hi all,
So I'm wondering what is best practice.
I've got a table that users can click a row and get sent to an edit
screen.
I'm also sending the users to the same edit screen after data inserts.
I'd like to use the same function to handle this. However, when you
click the row it returns an
David,
It is still behaving oddly / making a good 3-5 second delay for each
effect..
Thanks for your help, here's my current script.
//
var proj_array = new Array
(ep1,ep2,ep3,ep4,ep5,ep6,ep7,ep8,ep9);
22 matches
Mail list logo