I'm using slider as a scrollbar for a horizontal layout. It works
fine, but when I re-size the browser, the scrollbar's range will not
resize based on the browser's viewport width. The scrollbar extends to
the rigth and the default horizontal scrollbar shows up.
Here's the page where you can
I have a form that when a user selects something from a drop-down,
another element in the form appears. There is another piece of the
form, that is never showing up, I need to understand what I am doing
wrong and how to fix it:
script type=text/javascript language=JavaScript
function
Hi,
thx a lot for your help.
@Colin
doesn't work means it returns NULL ;)
But of course, you are right.
I already feared that the A string is not a document/DOM is the main
problem.
@T.J. Crowder
thx! I'll try this soon, it looks promising :)
I already created a regEx solution but it's too
You could always update the response into a hidden iframe and search that -
i am pretty sure this works
- Original Message -
From: fufolewe rentsch.dan...@gmail.com
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Tuesday, June 16, 2009 10:49 AM
Subject:
I'm curious about the recent discussion that's arisen as a sideline
from the 'Creating new lines and bypassing them through escapeHTML'
thread.
I've been using Prototype for a little while now (though not
Scriptaculous - yet!). I'm not by any stretch of the imagination an
expert and I'm sure
On Jun 15, 1:41 pm, T.J. Crowder t...@crowdersoftware.com wrote:
2. Alternately, use a document fragment[1][2]. This is to a large
extent what document fragments are for -- holding copies of things and
mucking about with them off-to-the-side. I was surprised not to have
an example lying
Chris Sansom wrote:
I'm curious about the recent discussion that's arisen as a sideline
from the 'Creating new lines and bypassing them through escapeHTML'
thread.
I've been using Prototype for a little while now (though not
Scriptaculous - yet!). I'm not by any stretch of the
Hi,
as it isn't documented, I was wondering if this is the intended
behavior: when registering two separate event observers on one object,
Event.stop doesn't prevent the second one from firing. Test case:
http://pastie.org/513548
Steffen
--~--~-~--~~~---~--~~
Hi,
Interesting question. It's the expected behavior. The documentation
[1] says that Event#stop will:
* Prevent further bubbling of the event
* Prevent the default behavior of the event (where the browser allows
it)
Not triggering other observers doesn't fall under either of those
Hi David
Thanks for the link, but this does not help me. I know what
pollDoScroll() does. My problem is that when I use prototype in my
webapp, I get Out of stack space error messages in IE because the
pollDoScroll() method is executed over 600 times in a recursion and
the expression
There's the simple method (these names are from the documentation in
the Wiki):
$('foo').morph('top:12px;')
and the complex method:
new Effect.Morph(foo,{style:'top:12px;',duration:0.5});
They work fine. Yet, from reading the code, I can't tell why I can't
seem to use any parameters
A few things...
var params = Form.serialize($('createAdjForm'));
You can clean this up as:
var params = $('createAdjForm').serialize();
There are other points that you could optimize, but thats not your
question...
And at whatever point you want adjForm to appear, you need to add:
OK problem solved - I realised I needed large droppables - so I made
each column in the grid a droppable area, and worked out the target
from the mouse event coordinates. Works now!
On Jun 15, 10:44 am, adamski adam.elemen...@gmail.com wrote:
I'm working on a 3 column grid of draggable objects.
I'm having some trouble getting a Draggable to dorp onto a Droppable.
I get the old element is null error from prototype (its trying to
show an non-existent element).
However, the element being dragged most definitely exists, as does the
droppable. JS generated form Rails helpers.
Any help much
Could you set this up on http://jsbin.com/?
On Tue, Jun 16, 2009 at 2:06 PM, adamski adam.elemen...@gmail.com wrote:
I'm having some trouble getting a Draggable to dorp onto a Droppable.
I get the old element is null error from prototype (its trying to
show an non-existent element).
Thanks so much for your help! I'll give it a go and see what happens.
--~--~-~--~~~---~--~~
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
Thanks so much for your help! I'll give it a go and see what happens.
--~--~-~--~~~---~--~~
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
On Jun 16, 4:57 am, T.J. Crowder t...@crowdersoftware.com wrote:
Heya,
If XHTML isn't necessary for Prototype, I'd suggest we change the
doctype of the examples and unit tests.
Good idea. Exclusively using XHTML doctype either shows our ignorance
on the subject or the fact that we prefer
On Jun 16, 5:52 am, Chris Sansom ch...@highway57.co.uk wrote:
I'm curious about the recent discussion that's arisen as a sideline
from the 'Creating new lines and bypassing them through escapeHTML'
thread.
I've been using Prototype for a little while now (though not
Scriptaculous - yet!).
19 matches
Mail list logo