i believe he means something like:
http://fuelyourcoding.com/scripts/infield/
cheers
--
mona
On Wed, Feb 3, 2010 at 4:46 PM, Diodeus wrote:
> What is "a input label solution/plugin" to begin with?
>
> On Feb 1, 10:45 pm, Marcelo Barbudas wrote:
> > Hi Guys,
> >
> > What are you using as an in
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 on
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 level won't get
captured by one of its children.
so for the sake of this discussion, what you really need is an event
dispatcher/regis
http://livepipe.net/control/textarea
cheers
--
mona
On Tue, Oct 20, 2009 at 7:27 AM, Manfred Rebentisch 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 tinyMCE because it is very
Hello Alex,
I had a similar problem with my custom autocompleter. So to workaround a
solution, I leveraged the mouseenter and mouseleave events over the
suggestion box to detach/re-attach blur handler over search_input.
Something like:
search_input.observe('focus', showSuggestionBox);
search_in
Hi Bill,
There's a service to do just that and much more at
http://www.printwhatyoulike.com/
Check it out for ideas and inspirations ...
cheers
--
mona
On Wed, Sep 23, 2009 at 3:18 PM, bill wrote:
> Alex McAuley wrote:
>
> you can define a style sheet for media print
>
>
>
> In the print styl
this must be the comma after the last item in your array below
[
new Effect.Appear(this.el_id_photoAlbumsSelectorDisplayMatte,
{sync:true, "to":0.76 }),
new Effect.Appear(this.el_id_photoAlbumsSelectorDisplayBtn,
{sync:true, "to":0.88 }),
],
somehow all brows
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 wrote:
>
> You asked for it Mona, I've set you up as a contributor for the
> project
>
> http://code.google.com/p/agileajax/
>
>
>
> On
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 wrote:
>
> Hey Everyone,
>
> I've finished a project that handles the problems of browser history
> when implementing ajax solut
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 o
31, 2009 at 1:49 PM, Tobie Langel wrote:
>
> None of my business... but you're certainly doing something wrong UI-
> wise if you have 100s of inputs on the same page.
>
> Best,
>
> Tobie
>
> On Aug 31, 1:15 pm, Mona Remlawi wrote:
>> oh that would be a big ov
server[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 wrote:
>> Hello Prototypers,
>>
>> I am currently in t
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 eve
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 Rubin wrote:
>
> ColinFine wrote:
>> On Jul 21, 1:52 pm, "Alex McAuley"
>> wrote:
>>> Each to their own, everyone has their own coding practices and concepts.
I agree with Colin, but I guess in your case, it looks like you are
parsing some kind of a service response ..
Just a bit of explanation, it's only normal that your code breaks when
you set XHTML as a DOCTYPE since XHTML only identifies and accepts a
list of valid HTML elements (and your XML docum
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 fir
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
On
ave used scripty's unit test
> suite more than I.)
>
> [1] http://prototype.lighthouseapp.com/projects/8886-prototype
> [2] https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/559
> [3] https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/501
>
> Che
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 A
statement with escaped periods.
>>
>> This question caused me to read a bunch regarding valid id's from one html
>> spec to another, and then double back to css selector specs. Apparently,
>> they didn't compare notes...
>>
>> Rick
>>
>>
>>
best way to go around it, or if there is
another chars for escaping, so it's in your hands now.
Waiting for the feedback and hopefully a patch :)
cheers
--
mona
On Mon, Jul 20, 2009 at 5:06 PM, Richard
Quadling wrote:
>
> 2009/7/20 Mona Remlawi :
>>
>> Hello prototyper
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 pa
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 wr
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 wrote:
>
> Hi,
>
> I'm trying to create a vertical menu (using Protoaculous) with flyouts
> that would have top
e 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
> wrote:
>>
>> ok time for jsbin
>> i created 2 pages
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 wrote:
>
> Hi all,
>
> I want to add some sort of Saving-Reminder to forms on my page. The
> process would be roughly the following:
; margin: 0 auto;
> }
> main.html.erb (layout page)
> (within head tags)
>
> .clearfix {zoom: 1; /* triggers hasLayout */ }
>
> and the comments partial
>
> ...
> ...
> everything else is the same as before.
> is it definitely the unfixed height causing
hanges as gracefully as they might
>> otherwise.
>>
>> Walter
>>
>> On Apr 22, 2009, at 12:32 PM, Ram wrote:
>>
>> > Dint really understand what you guys meant. Can you be a bit more
>> > explanatory?
>> > Thanks for your responses
ok I was able to replicate your bug when I added this rule
div#comms>div {float:left;}
so the thing is that you are trying to hide a div that has all its
contents floating, so theoratically, this div has no actual height.
to fix this, you need to apply the known clearfix hack.
add the following
I once used EJS (embedded javascript)
http://embeddedjs.com/
good performace and a very low learning curve.
I am too interested to know any feedback about this library
cheers
--
mona
mreml...@optaros.com
On Wed, Apr 22, 2009 at 9:28 AM, Ron Derksen wrote:
>
> Hi,
>
> Lately I've run into the c
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 wrote:
>
> spawning off
2 things, i advice you to add the global css rule
table {border-collapse: collapse}
and to insert your rows into table/tbody element
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 following links
http://wiki.github.co
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 will
aros.com
On Wed, Apr 15, 2009 at 5:41 PM, Mona Remlawi 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
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 be
the thing is by the time the element.getStyle executes, element would
have ceised to exist!
twisted logic i'm trying to workaround phh
On Wed, Jan 14, 2009 at 2:46 PM, kangax wrote:
>
> On Jan 14, 6:29 am, Mona Remlawi wrote:
>> hello prototypers,
>> for some
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
Element.Met
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 ,
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
Click me to fade away
or click me to fade away
// event.target to
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 it
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 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 wit
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 t
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 PROTEC
x27;click', this.handleContainerClick.bind(this));
>>
>> and your handler might look like this:
>>
>> function handleContainerClick(event) {
>> var elm;
>>
>> // Get the element on which the click actually occurred
>> elm = eve
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. Crowd
o the server ?
>
>
> Thanks
> Alex
> - Original Message -
> From: "Mona Remlawi" <[EMAIL PROTECTED]>
> To:
> Sent: Monday, November 17, 2008 12:52 PM
> Subject: [Proto-Scripty] Re: Sending Json to the server
>
>
>>
>> ok what about
ated ... i need to get certain
> 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:
> Sent: Monday, Novemb
hmm just out of the top of my head here, did you try using
$H(form.serialiaze()) ?
cheers
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 1:13 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrote:
>
> basically i think i need a push method to push values into a json object
>
> then i can try to decode
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 O
Dear Prototypers,
I've been using the following technique for separating private and
public methods/variables in a class declaration.
---
Object.extend(myclass.prototype, function() {
//private variables
var attr1;
var attr2;
...
//private methods
f
tested your page and it works on my IE6!
--
mona
[EMAIL PROTECTED]
On Mon, Nov 17, 2008 at 9:23 AM, T.J. Crowder <[EMAIL PROTECTED]> wrote:
>
> Fails how? Nothing happens? An error message?
> --
> T.J. Crowder
> tj / crowder software / com
>
> On Nov 17, 1:27 am, bejitto101 <[EMAIL PROTECTED]>
Hi Alann,
I believe the problem is that you are using the variable name to be
the same as the ID of the element.
IE tends to support referencing an element with its ID.
Ex:
then 'bla' would refer to div#bla element.
Now back to your example, do you have multiple elements?
That will cause IE to
Hi Jan-erik,
You need to initialize your global counter to 0 so that counter+1
would increment correctly.
Also you need to move myAjax to be a global variable, to be able to
access myAjax.stop()
--
mona
[EMAIL PROTECTED]
On Fri, Nov 14, 2008 at 9:56 AM, jeaswe <[EMAIL PROTECTED]> wrote:
>
> How
55 matches
Mail list logo