2009/2/16 kangax kan...@gmail.com:
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
Am having one problem i cannot seem to solve. The autocompleter box
displays the results which has a set height so a scroll bar displays.
In FF but not other browsers when you scroll through the results it
works fine but in any other browser it will just lose focus and
disappear.
Anyone come
Hello Javascript friends!
I am working on a fairly simple javascript issue and I can't seem to figure
out what is going wrong. I have tried two setups, both of which don't
work. The simpler is this:
In our html we have a form and in the form tag we add an
onsubmit=greySubmits()
Hello Javascript friends!
I am working on a fairly simple javascript issue and I can't seem to figure
out what is going wrong. I have tried two setups, both of which don't
work. The simpler is this:
In our html we have a form and in the form tag we add an
onsubmit=greySubmits() attribute.
Hey All,
I'm creating a small online traditional Shop, where tourists can buy
African traditional goods. These include things like beads, Warrior
spears clothing e.t.c My web application has pictures of african items
draggables in an overflowed div and droppables pictures of visit
locations
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.
It's because you lose the scope of the $('sessionError')
I'm using the SlideUp/SlideDown effects, and I'd like to use the same
button for both effects. Context from the demo wiki:
img src=/images/uparrow.png onclick=Effect.SlideUp('%=slidedown
%'); return false;
img src=/images/downarrow.png onclick=Effect.SlideDown('
%=slidedown%'); return false;
I
Hello everyone,
probably a newbie question, but here we go:
We have been using prototype for some time now, now we want to use a
few script.aculo.us features which means updating prototype.js to
1.6.0.3.
Which itself means someone - me - has to check for possible
compatibility issues between
2009/2/16 Daniel Rubin dru...@dimedis.de:
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.
It's because you
I have a problem with calling function passed as parameter in class
definition. I get error when i call fun(). How can i correct this ?
var Slider = Class.create({
initialize: function (elContainer) {
this.elContainer = elContainer;
Hi craig,
not seems trivial, could we have an example?
--
david
On 17 fév, 11:03, Craig cr...@europe.com wrote:
Am having one problem i cannot seem to solve. The autocompleter box
displays the results which has a set height so a scroll bar displays.
In FF but not other browsers when you
Hi,
What's the error?
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Feb 17, 10:53 am, marioosh marioosh@gmail.com wrote:
I have a problem with calling function passed as parameter in class
definition. I get error when i call
Hi javamaasai,
try this portion of code to create droppable (instead of the FOR
loop):
$R(1,4).each(function(i){
Droppables.add('droppable_demo'+i, {
accept: 'draggable',
hoverclass: 'hover',
onDrop: function(){
alert(i);
Hi Robert,
That's another problem, if prototype is loaded dynamically, it's a
kind of lazyloading you need.
just look at some code that aleready exist:
== http://ajaxian.com/archives/a-technique-for-lazy-script-loading
== http://www.bram.us/projects/js_bramus/lazierload/
Both use prototype, but
Hi Claus,
just go at :
http://www.prototypejs.org/2008/9/30/prototype-1-6-0-3-one-more-bugfix-release-before-1-6-1#comment-22052
the changelog is inside comments !
--
david
On 17 fév, 11:44, claus.k...@googlemail.com
claus.k...@googlemail.com wrote:
Hello everyone,
probably a newbie
Hi marioosh,
I did a test, and there is no error !!
just at : --- ! ERROR !!
--
david
On 17 fév, 12:14, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
What's the error?
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services
Sorry craig,
So let's resume:
You want when an element was slided down, on a button click to slide
it up, and when it's slided up, on the same button click to slide it
down !!
Am I right ??
If that what you want, to do that, just use the conveniant
Effect.Toggle, where documentation is at:
Hi craig,
perhaps stupid remarks, but in FF the scrollbar is contained inb the
element, not in IE.
Couldn't it be something like that ??
Can you send the code for the autocompleter ?? (just it, with
callbacks definition ??
--
david
On 17 fév, 12:48, Craig cr...@europe.com wrote:
Sorry cant
On 17 Lut, 12:14, T.J. Crowder t...@crowdersoftware.com wrote:
Hi,
What's the error?
--
Error: Cannot convert undefined or null to Object
Slider class is a base class and doit() method is redefined in
subclasses. I see that calling fun() works, but i get error in
redefined method doit().
Craig..
Why not try removing the onclick and adding it to an observer
img id=foo /
Event.observe(window,'load', function() {
$('foo').observe('click',function() {
/*
please change foloowing for a tenary oprator if needs be !!
*/
if($(this).style.display!='none') {
Hi craig,
I've tested the following code, and it works in FF3 !!
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/...
html xmlns=http://www.w3.org/1999/xhtml;
head
script src=prototype.js type=text/javascript/script
script
Hi craig,
Go and see the url of Effect.toggle:
http://wiki.github.com/madrobby/scriptaculous/effect-toggle
--
david
On 17 fév, 13:25, Alex Mcauley webmas...@thecarmarketplace.com
wrote:
Craig..
Why not try removing the onclick and adding it to an observer
img id=foo /
Firefox probabaly ignores clicks on the scroll bar and thus does not
lose focus. Here is the main part of the code
var auto_cust;
var auto_bran;
var auto_call;
new Event.observe(window, 'load', pageload);
function pageload() {
auto_cust = new Ajax.Autocompleter('customer', 'customer_auto',
Oh and the border goes around the div and the scroll bar on IE so
doubtful that its that.
On 17 Feb, 13:08, Craig cr...@europe.com wrote:
Firefox probabaly ignores clicks on the scroll bar and thus does not
lose focus. Here is the main part of the code
var auto_cust;
var auto_bran;
var
On 17 Feb., 12:28, david david.brill...@gmail.com wrote:
Hi Claus,
just go at
:http://www.prototypejs.org/2008/9/30/prototype-1-6-0-3-one-more-bugfi...
the changelog is inside comments !
Hello David,
thanks, that is exactly what I was looking for!
Have fixed this now by changing the event observer from the element to
the update element line 90 controls.js
Event.observe(this.update, 'blur', this.onBlur.bindAsEventListener
(this));
On 17 Feb, 13:08, Craig cr...@europe.com wrote:
Firefox probabaly ignores clicks on the scroll bar and
Hi T.J.
On Jan 19, 12:31 pm, T.J. Crowder t...@crowdersoftware.com wrote:
On my machine, the DOM version takes at least 10 times longer than the
HTML version.
Did you use prototype DOM (x=new Element('P',{...});...) or plain
old vanilla DOM (x=document.createElement('P');...) ?
I was
Hi,
I'll bet this is the problem line:
this.minimize(this.doit);
You're assuming that 'this' is somehow bound to 'doit' when you pass
the reference. It isn't. When you later call fun(), 'this' is not
set to what you think it is within the call. JavaScript functions are
functions, not
?xml version=1.0 encoding=utf-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en-UK lang=en-
UK
head profile=http://www.w3.org/2000/08/w3c-synd/#;
meta http-equiv=Content-Type
Fixed the problem now by making changes in controls.js
Line 48 this.hasFocus= false;
add below:
this.update.hasFocus = false;
Line91 Event.observe(this.element, 'blur',
this.onBlur.bindAsEventListener(this));
add below:
Event.observe(this.update, 'mouseover',
Hello.
I'm having problems using the Hash.merge() method on a Form.serialize(true).
What I want to do is ...
parameters : $('formUserAdmin').serialize(true).merge({Action :
'ClientAddUser', JSONP:'tabUA_UpdateUserIDs'});
But it isn't working because the output of the serialize method is not
Hi Richard,
I could have sworn I opened a doc ticket on this about two weeks ago,
when someone else ran into the fact that the docs say it ...returns a
hash... (which it does, in the lower-case general sense of the word
-- all POJOs are hashes; it doesn't return a Hash).
But it looks like I
Naturally as soon as I give up and post, Lighthouse comes back to
life.
The ticket:
http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/556
-- T.J. :-)
On Feb 17, 4:20 pm, T.J. Crowder t...@crowdersoftware.com wrote:
Hi Richard,
I could have sworn I opened a doc ticket on
Hi marioosh,
TJ is right, when you call the doit function via fun, the 'this' value
is equal to Object window.
So you need a little more binding to resolve your problem:
replace the call to this.minimize(this.doit); by this.minimize
(this.doit.bind(this));
--
david
On 17 fév, 15:33, T.J.
Dear Team,
Humble apologies for spamming, but was using the framework to create
an urgent job. forgive me! I have multiple droppables in an overflowed
div, the draggable seem to only remember the offset position of the
droppables. If i move the droppables in the overflowed div there's no
correct
Thanks guys. I didn't realize toggle would do this for me.
--~--~-~--~~~---~--~~
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...yes, that works!
thanks very much!! :D
ps: sorry for my english ;)
On 17 Lut, 18:41, david david.brill...@gmail.com wrote:
Hi marioosh,
TJ is right, when you call the doit function via fun, the 'this' value
is equal to Object window.
So you need a little more binding to resolve your
37 matches
Mail list logo