[Prototype-core] Re: browser and platform info?

2007-08-17 Thread Matt Foster
Prototype.Browser.IE and the others are booleans, not functions that return booleans. Cheers, Matt On Aug 7, 3:06 am, "Lino Jan Telera" <[EMAIL PROTECTED]> wrote: > For browser u can write (only if you are using prototype 1.5.1) > Prototype.Browser.IE (return true if you are using IE) >

[Prototype-core] Fisheye control for prototype.

2007-08-20 Thread Matt Foster
Hey Everyone, Remember when i was whining about wanting a fisheye control for prototype? http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/548aa597c47487ec/558d1f04dff374ff?lnk=gst&q=fisheye&rnum=1#558d1f04dff374ff Well I followed through and rolled my own,

[Prototype-core] Re: Fisheye control for prototype.

2007-08-20 Thread Matt Foster
or on anything descending in the document. I'll put that into the entry as this is a concern. Cheers, Matt On Aug 20, 1:04 pm, "John Barnette" <[EMAIL PROTECTED]> wrote: > On 8/20/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > > > On 8/20/07, Matt F

[Prototype-core] Re: Fisheye control for prototype.

2007-08-20 Thread Matt Foster
ow when it is actually not. Cheers, Matt On Aug 20, 4:52 pm, Matt Foster <[EMAIL PROTECTED]> wrote: > That is a very keen observation, well kind of, the bounce certainly > catches my eyes. I believe this is in FF only. A solution is to set > the Fish Eye Toolbar's posit

[Prototype-core] Re: Fisheye control for prototype.

2007-08-20 Thread Matt Foster
flow when it is actually not. I have used this in the implementation linked above, so let me know if you continue to see the header "jog". Cheers, Matt On Aug 20, 4:59 pm, Matt Foster <[EMAIL PROTECTED]> wrote: > I just found an easier workaround to resolve this &qu

[Prototype-core] Save State in ajax application

2007-09-06 Thread Matt Foster
Greetings Everyone, I had posted about a method for handling the back and forward buttons for ajax applications. I have completed a working prototype for the other half of the history coin, enabling the bookmark. The basic premise falls in line with many other approaches, stashing JS

[Prototype-core] Re: Event.observe

2007-09-14 Thread Matt Foster
I agree with Tom, If you're looking for that sort of functionality just use the old fashioned way of setting the event handler as a property. That way any event will only have one handle. On Sep 14, 11:34 am, Tom Gregory <[EMAIL PROTECTED]> wrote: > On Sep 14, 2007, at 1:08 AM, Roland wrote: >

[Prototype-core] Re: XML nodes and Element.readAttribute (IE bug)

2007-09-14 Thread Matt Foster
Wow I hate the attribute model, so broken heh. What is wrong with the native "getAttribute" method, is there anything different going on here? Cheers, Matt On Sep 13, 3:02 pm, Yanick <[EMAIL PROTECTED]> wrote: > I don't know if anyone has encountered this problem before, but I was > rea

[Prototype-core] Prototype DateChooser

2007-09-17 Thread Matt Foster
Hey Everyone, I had been looking for an implementation of a date chooser. Many were close but I was really looking for something more...declouped. So i ended up taking a new approach, maybe because im left handed. What I wanted to do was build up the functionality of a grid and then st

[Prototype-core] Re: Superclass constructor

2007-09-28 Thread Matt Foster
More support for the non-automatic constructor team, a lot of my classes do not have constructors, they're abstract, this functionality would fubar so much of my code. On Sep 28, 11:24 am, "Nicolás Sanguinetti" <[EMAIL PROTECTED]> wrote: > I'm not gonna say to you that if you have something c

[Prototype-core] Re: Superclass constructor

2007-09-28 Thread Matt Foster
I have a question about the 1.6 inheritance model. What exactly is the "$super" argument and why does it always have the dollar sign in front of it? Is the super a reference to the super class's prototype object or is it an instance of the super? Cheers, Matt On Sep 28, 11:24 am,

[Prototype-core] Re: Event methods' bug in Internet Explorer

2007-10-09 Thread Matt Foster
You sure that will fail? I am pretty sure the "static" event methods should all work with a regular event object. Isn't it just for convenience, like the Element methods that they put the method in as a property just for the syntactic sweetness? Also I agree with Mislav, inline event handling i

[Prototype-core] Prototype Pagination

2007-10-15 Thread Matt Foster
Greetings Everyone, I have developed a pretty smooth UI Control for handling client side pagination. It is composed of 3 classes that allow for maximum decoupling. In this manner the view is decoupled from the iteration control, such that the same iteration control can be used on any da

[Prototype-core] Re: Prototype Pagination

2007-10-18 Thread Matt Foster
cument that scrolls the UI can get tricky as the focus of the mouse determines which object will scroll with the mouse wheel. Cheers, Matt On Oct 17, 8:47 am, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > On 10/15/07, Matt Foster <[EMAIL PROTECTED]> wrote: &g

[Prototype-core] Re: Problem with getting my data

2008-04-30 Thread Matt Foster
I like the variable names, sometimes it is such a mess! The problem is that you aren't waiting for the reply, you're instantiating the object and then immediately calling what should be your call back to the request. You need to execute the request and then in your "appendMessages" method, which

[Prototype-core] Re: Prototype without browser?

2010-04-22 Thread Matt Foster
I've used the Enumerable methods and the core stuff like Function.bind and Class.create in whatever ECMA flavor the Adobe programs use(Indesign & Photoshop) so I'm sure it's possible to leverage some things from prototype in your program. http://www.adobe.com/devnet/photoshop/pdfs/JavaScriptRefere