hello buda,
as T.J. Crowder mentioned above, firing an event means that the event is
going to fire *up* the DOM.
so it's only natural that firing an event in the form level won't get
captured by one of its children.
so for the sake of this discussion, what you really need is an event
hello siim,
i have worked on something similar lately but used a different syntax:
add_article_link_url_list.1.link
that is to say '.' instead of '[]'.
And then use
http://code.google.com/p/gvascript/source/browse/src/protoExtensions.js#Hash.expandmethod
to restructure your flat tree into a deep
i believe he means something like:
http://fuelyourcoding.com/scripts/infield/
cheers
--
mona
On Wed, Feb 3, 2010 at 4:46 PM, Diodeus diod...@gmail.com wrote:
What is a input label solution/plugin to begin with?
On Feb 1, 10:45 pm, Marcelo Barbudas nos...@gmail.com wrote:
Hi Guys,
What
http://livepipe.net/control/textarea
cheers
--
mona
On Tue, Oct 20, 2009 at 7:27 AM, Manfred Rebentisch mrebenti...@comparat.de
wrote:
Hello,
I use tinyMCE for my Content Management System, for Web-Designer and
Web-Developer. They can edit the content easy.
But I am not happy with
hey excellent, let's see what i can juice out for this neat project :)
On Mon, Sep 21, 2009 at 11:22 PM, Matt Foster mattfoste...@gmail.com wrote:
You asked for it Mona, I've set you up as a contributor for the
project
http://code.google.com/p/agileajax/
On Sep 21, 1:39 pm, Mona
thanks for sharing this!
i would love to contribute to this project if any help is needed .. let me know
cheers
--
mona
On Mon, Sep 21, 2009 at 7:00 PM, Matt Foster mattfoste...@gmail.com wrote:
Hey Everyone,
I've finished a project that handles the problems of browser history
when
Hi Radoslav,
Thanks for reply, I have indeed did something very similar to this,
just some different terminology
plus i have wrapped the Form.Element.setValue method to fire
'value:changed' event too.
You might wanna do that too if you are initializing your form elements
with some default values
Hello Prototypers,
I am currently in the process of implementing events delegation on HTML forms.
As you might know, IE does not bubble the onchange event :( and i find
that the onblur is a poor and a high maintenance alternative.
Can anyone propose a neater solution?
The forms i'm delegating
Mona,
Have you considered using Form.Observer[1] instead of events?
[1] http://prototypejs.org/api/timedObserver/form-observer
--
T.J. Crowder
tj / crowder software / com
www.crowdersoftware.com
On Aug 31, 10:07 am, Mona Remlawi mona.reml...@gmail.com wrote:
Hello Prototypers,
I am
Must be that you're using (dot) or (colon) in your ids.
This has been fixed, but not yet released. You can manually change in
prototype.js line:3338 to match
id = id.replace(/([\.:])/g, \\$1); // NOTE the $1 instead of $0
This fix will be a part of next release as it is in the trunk [1]
[1]
most welcome, glad to know that someone else out there is using dots in ids ;-)
cheers
--
mona
On Fri, Jul 24, 2009 at 11:20 AM, Daniel Rubindru...@dimedis.de wrote:
ColinFine wrote:
On Jul 21, 1:52 pm, Alex McAuley webmas...@thecarmarketplace.com
wrote:
Each to their own, everyone has
Yes I agree, now I know better ;)
(dots) and (colons) in ids .. it's not really their place esp. with
the new Selector API. Had this API been out with HTML 4, I'm sure
this would've been deprecated.
On my next project, I have to let go a bit of my obsession with namespaces :)
cheers
--
mona
Event Delegation is your friend.
You can get an idea on
http://usabletype.com/weblog/event-delegation-without-javascript-library/
Intrigued? Check out a live demo on event delegation in action on
http://javascript.nwbox.com/NWEvents/delegates.html
Really cool stuff, try editing the HTML DOM in
notes...
Rick
On Mon, Jul 20, 2009 at 11:28 AM, Mona Remlawi mona.reml...@gmail.com
wrote:
You've guessed it, it's unfeasible, the amount of effort that takes
makes my head hurt :)
Anyway, i found the little bug in prototype (hooray!).
IE8 and FF3 have their selectors go
Not sure if this is related (haven't worked on MAC OS), but I would
double check the use of '../' for relative uri.
Different operating systems might interpret this differently.
You might wanna consider absolute uri's instead : /appcontext/index.php
cheers
--
mona
On Tue, Jul 21, 2009 at 9:13
://prototype.lighthouseapp.com/projects/8886-prototype/tickets/559
[3] https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/501
Cheers,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Jul 21, 10:28 am, Mona Remlawi mona.reml
Hello prototypers,
I'm getting a basic error (in selectors) in *IE8/FF3* and don't think
anyone has reported it yet -- or maybe did, i searched but not
extensively.
The problem is that the Element#selector fails when invoked on an
Element that has a '.' in its id.
I've put a small unit test on
for the feedback and hopefully a patch :)
cheers
--
mona
On Mon, Jul 20, 2009 at 5:06 PM, Richard
Quadlingrquadl...@googlemail.com wrote:
2009/7/20 Mona Remlawi mona.reml...@gmail.com:
Hello prototypers,
I'm getting a basic error (in selectors) in *IE8/FF3* and don't think
anyone has reported it yet
hi nikhil,
you might wanna take a look at http://livepipe.net/control
there is a scrollbar control that you might adjust for your needs.
--
mona
On Wed, Jun 3, 2009 at 7:15 AM, Nikhil nikhilsa...@gmail.com wrote:
Hi,
I'm trying to create a vertical menu (using Protoaculous) with flyouts
hi Tobias,
I advise you to add an onException handler to the outer Ajax.Request
as the default exception handler silently eats any error thrown in the
other handlers. This way you'll have more insight why the
Ajax.Updater is failing.
cheers
--
mona
On Wed, Jun 3, 2009 at 9:21 AM, majestixx
explanatory?
Thanks for your responses!
On Apr 22, 7:24 pm, Walter Lee Davis wa...@wdstudio.com wrote:
You can also set overflow:auto to the same effect, and you don't have
to hide it from other browsers, either.
Walter
On Apr 22, 2009, at 10:17 AM, Mona Remlawi wrote:
.clearfix {zoom
, Apr 23, 2009 at 12:22 PM, Mona Remlawi mona.reml...@gmail.com
wrote:
hey Ram, you mentioned that you are testing on Safari and FF.
so you need to include this rule
.clearfix:after
{content:.;display:block;height:0;clear:both;visibility:hidden;}
in your style block.
.clearfix
Form.Observer [http://prototypejs.org/api/timedObserver/form-observer]
is your friend
cheers
--
mona
mreml...@optaros.com
On Thu, Apr 23, 2009 at 9:11 AM, Chris c...@clicksports.de wrote:
Hi all,
I want to add some sort of Saving-Reminder to forms on my page. The
process would be roughly
application.
the showing of the div seems to be fine in this link though. Only the hiding
of the div is abrupt and thats what I see in both hiding AND showing of MY
comms div.
On Thu, Apr 23, 2009 at 1:07 PM, Mona Remlawi mona.reml...@gmail.com
wrote:
ok time for jsbin
i created 2 pages
abrupt
most likely it's related to the content of what you are trying to
apply the effect on.
I tried your example, works fine on FF IE6.
Can you provide more info related to css you apply to div#comms
cheers
--
mona
mreml...@optaros.com
On Wed, Apr 22, 2009 at 2:24 PM, Ram
fix things for you.
cheers
--
mona
mreml...@optaros.com
On Wed, Apr 22, 2009 at 3:24 PM, Mona Remlawi mona.reml...@gmail.com wrote:
most likely it's related to the content of what you are trying to
apply the effect on.
I tried your example, works fine on FF IE6.
Can you provide more info
2 things, i advice you to add the global css rule
table {border-collapse: collapse}
and to insert your rows into table/tbody element
tabletbody id='test'/tbody/table
this would make it work for FF and IE
on the other hand, if you are building dom elements on the fly, why
not take a look at
oh _the_ Matt Foster !
i'm very much aware of your blog and i'll take this opportunity to
thank you for sharing what you share -- it's been an inspiration
finally I ended doing something similar to what you mentioned, i just
named my constant: TOLERANCE_RATIO where
0 : no tolerance : timeout
dear prototypers,
i have implemented the support for onTimeout in Ajax Responders, and
it's working like a charm (yeey!)
the delimma is when we have multiple simaltaneous requests, the
earlier requests would be slowing down the later requests and thus the
timeout set on the later requests would
, 2009 at 5:41 PM, Mona Remlawi mona.reml...@gmail.com wrote:
dear prototypers,
i have implemented the support for onTimeout in Ajax Responders, and
it's working like a charm (yeey!)
the delimma is when we have multiple simaltaneous requests, the
earlier requests would be slowing down the later
hello prototypers,
for some reason, i need to wrap getStyle method by a try/catch.
obviously, best way would be the wrap method (doh!)
but doesn't seem to work here. i can use another pair of eyes for help
--
// wrap getStyle function with try/catch
// as IE6 throws errors
Hi JC,
Best way to do this is by using the Event.observe method
(http://prototypejs.org/api/event/observe)
to attach your fading method to designated divs.
// assign a class name to the divs you want to have the fading behaviour
div class=fadeableClick me to fade away/div
div class=fadeableor
Hi Arun,
A way to go around this is to group your checkboxes by classname. Then
observe the click event on all checkboxes to check/uncheck all other
checkboxes with same classname.
cheers
--
mona
[EMAIL PROTECTED]
On Thu, Nov 27, 2008 at 5:14 AM, Arun [EMAIL PROTECTED] wrote:
Hi Walter ,
document.viewport is your friend
http://prototypejs.org/api/document/viewport
var screen_size = document.viewport.getDimensions();
$(div).setStyle({
position: 'absolute',
top: '0px',
left: '0px',
width: screen_size.width + 'px',
height: screen_size.height + 'px'
});
that ought to do
hmmm rings familiar.
check out the bug/fix and make sure you have a valid doctype
http://prototype.lighthouseapp.com/projects/8886/tickets/90-cloneposition-problem-in-ie7
cheers
--
mona
[EMAIL PROTECTED]
On Thu, Nov 20, 2008 at 4:04 PM, Phunky [EMAIL PROTECTED] wrote:
I'm writing a simple
Hi Abel,
Sorry I only skimmed through the thread here, so excuse me if my
response comes irrelevant.
Assuming forms is the array of forms you wanna submit, try the following:
var paramsObj = forms.collect(function(f) {return
f.serialize(false)}).join('').toQueryParams();
this basically merges
Hi Ricardo,
You need to evaluate the transport.readyState of the previous
Ajax.Request, and accordingly decide what you want to do.
Basically, 1|2|3 readyStates mean the the request is still in
progress. If you want to abort the old request, just call
myRequest.transport.abort(); and carry on
take a look at [http://prototype-window.xilinus.com/] prototype based
window class that does confirm windows and others. ..
On Mon, Nov 17, 2008 at 11:48 AM, Cristisor [EMAIL PROTECTED] wrote:
Hi! I'm trying to build a popup window, something like the confirm
box, but with more than Ok and
fields from the input elements ..
merge() seems to want to do it but is not working as expected
Thanks
Alex
- Original Message -
From: Mona Remlawi [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 12:34 PM
Subject: [Proto-Scripty] Re
- Original Message -
From: Mona Remlawi [EMAIL PROTECTED]
To: prototype-scriptaculous@googlegroups.com
Sent: Monday, November 17, 2008 12:52 PM
Subject: [Proto-Scripty] Re: Sending Json to the server
ok what about this:
var params = {};
$$('.formJson').each(function(e) {
params[$(e
great readings suggested.
when you finish, you can try the following :)
$$('.editable').each(function(e) {e.observe('click', (function()
{this._editField(e)}).bind(this))}, this);
the problem is that when you iterate, you have to specify the context.
On Mon, Nov 17, 2008 at 2:15 PM, T.J.
it
this._editField(elm);
}
}
Various links on event delegation can be found
here:http://proto-scripty.wikidot.com/faq#delegation
HTH,
--
T.J. Crowder
tj / crowder software / com
On Nov 17, 1:34 pm, Mona Remlawi [EMAIL PROTECTED] wrote:
great readings suggested.
when you finish
Super, I like the word shared. I'll keep an eye not to have any
state in the private block :-)
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 4:23 PM, kangax [EMAIL PROTECTED] wrote:
On Nov 17, 4:13 am, Mona Remlawi [EMAIL PROTECTED] wrote:
[...]
I'm wondering if this is a good
43 matches
Mail list logo