Hi Greg,
Prototype definitely helps with creating a Class based OO approach.
http://prototypejs.org/api/class
Javascript, however, is a prototype (little p) based object oriented
language,
http://en.wikipedia.org/wiki/Prototype-based_programming
not a functional language,
http://en.wikipedia.or
Also, here's a shameless plug to my own blog that showcases a simple OO
prototype plugin. However, it doesn't use Class#create :(
http://www.virgentech.com/code/prototagger
-Hector
On Fri, Feb 27, 2009 at 5:16 PM, Hector Virgen wrote:
> Check out Class#create
>
> http://prototypejs.org/api/cl
Check out Class#create
http://prototypejs.org/api/class/create
It's a great way to get started with OO javascript.
-Hector
On Fri, Feb 27, 2009 at 3:43 PM, greghauptmann wrote:
>
> Hi all,
>
> I confess this is a newbie question in advance:
>
> Q1 - If one wants to build a set of higher level
Hi all,
I confess this is a newbie question in advance:
Q1 - If one wants to build a set of higher level library functions in
javascript (e.g. to aid in drawing objects say) does Prototype assist
here? That is would it provide a framework, or a standard way of
building up JavaScript code with a
Try either setting the z-index css style for both so that the effects
div is a higher number or make sure the div/element holding the
effects is later in the html document and higher in the nesting level...
Hope that makes sense, and that I'm answering this right...
-bop
On Feb 27, 2009, at
Hi,
> No, the only real solution here, is to split the module at the point
> of the Ajax.Request() call...Then, call the
> remainder wrapped in a setTimeout().
Why not in the onSuccess of the Ajax.Request? That's what it's there
for... You'll never get the timing right 100% of the time with
s
I'm using an older scriptaculous library along with Prototype on a
global news site. I have a drop-down menu that lists all the languages
available which naturally opens and closes when clicked. However, when
my BROWSER language is Japanese, the menu is open by default and does
not close. This doe
I am trying to set up scrolling html boxes with the use of the
wonderful prototype.js, slider.js, and scroller.js on a site I am
creating for a friend.
cccspringfield.org/about.php
I have a side nav to link certain topics for a quick scroll.
The anchored named links work but the html sroll box
Hi
I do use prototype and scripttaculous to show bigger images from
thumbnail images, but i have a flash animation and the image just stay
below that flash animation.
How can i fix it so that the image can to be just above the flash
animation ?
Thank´s in advance
I just write in the head secti
any dance with tambourine around
$ git submodule init
$ git submodule update
doesnt help me :
Early it was enough to call "rake dist" to make a file
While now its so difficult???
How to get the latest release???
On 27 фев, 18:20, Richard Quadling wrote:
> 2009/2/27 buda :
>
>
>
>
>
>
Thanks for the feedback,
I appreciate it.True, it would be nice to have a progress
indicator. But I also said that the delay was not long, but long
enough to be of consequence. Therefore, the progress indicator is not
an issue.
The issue is that the code is a modular response to a user cl
2009/2/27 buda :
>
> C:\ruby\bin>$ git submodule init
> '$' is not recognized as an internal or external command,
> operable program or batch file.
>
> On 27 фев, 16:57, Richard Quadling wrote:
>> 2009/2/27 buda :
>>
>>
>>
>>
>>
>> > I downloaded last build and I tried to make a library an error
The mention of "$" within directions / examples usually means that this
needs to be run within a shell. The actual command is whatever follows the
$. Try just running:
git submodule init
And then:
git submodule update
- J e f f C o n k l i n -
- AOL IM - a14piece
- http://www.carabs.com
- htt
C:\ruby\bin>$ git submodule init
'$' is not recognized as an internal or external command,
operable program or batch file.
On 27 фев, 16:57, Richard Quadling wrote:
> 2009/2/27 buda :
>
>
>
>
>
> > I downloaded last build and I tried to make a library an error braks
> > the process
>
> > C:\...f
> T.J., while I absolutely agree with what you have said, I think you're
> missing part of BearState's question:
Thanks, Colin. On first read, I thought he meant some knucklehead
*programmers* might think it was a bug *in Prototype*. But I think
you're right.
And yes, simply displaying somethi
> thesortablelist could be linked to droppables.
how does one accomplish this in code ?
--~--~-~--~~~---~--~~
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 proto
2009/2/27 buda :
>
> I downloaded last build and I tried to make a library an error braks
> the process
>
> C:\...f75029182a448b35788ea010bffbc884>rake dist
> 'rake' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\...f75029182a448b35788ea010bffbc884>C
On Feb 27, 6:21 am, "T.J. Crowder" wrote:
> Hi,
>
> Rather than thinking of an Ajax request as a function call, think of
> it as a message you send out. Send it, then get on with other things,
> or just wait (where waiting is not a busy-wait where the user can't do
> anything). When you get a
2009/2/27 Radoslav Stankov :
>
> Yes this 'change' won't work on IE, so is submit / reset (... and more
> of witch I can't remember right now)
> I was thinking about a hacks for that, to 'simulate' such events: you
> can do something like this ->
>
>
> $('tabRG_DynamicContainer').delegate('select
Yes this 'change' won't work on IE, so is submit / reset (... and more
of witch I can't remember right now)
I was thinking about a hacks for that, to 'simulate' such events: you
can do something like this ->
$('tabRG_DynamicContainer').delegate('select', 'click', function(e){
var value = thi
If the element you want to fire a click event on is a link (
element) you can use
eval(element.href);
- which will "do the click". This is particularly great for e.g. asp.net
postbacks, where the location value is something like
"javascript:__doPostback('arg','arg');"
In IE, the ".click()" wi
I downloaded last build and I tried to make a library an error braks
the process
C:\...f75029182a448b35788ea010bffbc884>rake dist
'rake' is not recognized as an internal or external command,
operable program or batch file.
C:\...f75029182a448b35788ea010bffbc884>C:\ruby\bin\rake dist
(in C:/sstep
2009/2/27 Radoslav Stankov :
>
> Element#store / Element.#retrieve are in Prototypes github truck (this
> version I currently use), but they are available from here
> http://gist.github.com/53924 so one could used them until the new
> prototype version arrives :)
>
> as for my event-delegation imp
Element#store / Element.#retrieve are in Prototypes github truck (this
version I currently use), but they are available from here
http://gist.github.com/53924 so one could used them until the new
prototype version arrives :)
as for my event-delegation implementation it is completely free, so
you
Radoslav Stankov wrote:
> You can do this little more simpler using this event delegation
> methods: http://gist.github.com/66568
>
> and then use this syntax:
>
> $('elementId').delegate('click', '.some_selector', method);
>
Seems nice. What are requirements of your scripts?
It uses Element#s
25 matches
Mail list logo