There must be a way... have a look at demo.script.aculo.us/shop and
try
to drop some item above the window chrome - it just works there (and I
have no idea how is it possible). Anyone can help me explain it?
On the Mac OS, this works with Safari but not with FireFox. I don't
know what the be
My validation lirary does this too:
http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/
var Validation = Class.create();
Validation.prototype = { /*define instance methods*/};
Object.extend(Validation, {/*define class methods*/}
On 22/05/06, Ed C. <[EMAIL PROTECTED]> wro
There must be a way... have a look at demo.script.aculo.us/shop and try
to drop some item above the window chrome - it just works there (and I
have no idea how is it possible). Anyone can help me explain it?
On Sunday, May 21, 2006, at 5:08 PM, Jeremy Kitchen wrote:
>On Sunday 21 May 2006 11:0
Jeremy, it looks like your URL is using an internal address (your
workstation name?)
On 5/21/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
On Sunday 21 May 2006 02:53, Maninder, Singh wrote:
[snip]
> In the first case when I created an object, I can use it as
> Browser.getName() whereas in the s
On Sunday 21 May 2006 02:53, Maninder, Singh wrote:
[snip]
> In the first case when I created an object, I can use it as
> Browser.getName() whereas in the second case when I used Class.create(), I
> need to first do
>
> new Browser();
> Browser.getName();
not necessarily. With Class.create() (an
On Sunday 21 May 2006 11:07, Thomas Anderson wrote:
> Hello,
>
> How can I catch the onmouseup event outside the ducument - means when
> the pointer is above window chrome (e.g. toolbar)?
>
> Event.observe(document, 'mouseup', someListener) works only inside the
> document for me.
you can't.
I ev
Hello,
How can I catch the onmouseup event outside the ducument - means when
the pointer is above window chrome (e.g. toolbar)?
Event.observe(document, 'mouseup', someListener) works only inside the
document for me.
Thanks in advance for your help!
Thomas
--
Posted with http://DevLists.com
On 5/21/06, Maninder, Singh <[EMAIL PROTECTED]> wrote:
Not all OOP concepts translate very well to JavaScript, but here's how
I treat them.
I could do it any of the following ways -
var Browser = {
this.getName: function() {
},
this.getVersion: function() {
}
};
This is really creati
With the first method you are creating one static object, with the
second you have a method of creating as many instances of that object
as you need.
You pick the one that best suits your need.
On 21/05/06, Maninder, Singh <[EMAIL PROTECTED]> wrote:
Hi,
I have a basic question about Class.crea
Hi,
I have a basic question about Class.create() Vs creating objects.
I would like to know the pros of one over the other (which one I don't know).
Problem Description:
I would like to write an object "Browser" that has methods like getName,
getVersion...
I could do it any of the following wa
10 matches
Mail list logo