[Proto-Scripty] Re: building object orientated javascript libraries - does Prototype support/help here???

2009-02-27 Thread Josh Powell
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

[Proto-Scripty] Re: building object orientated javascript libraries - does Prototype support/help here???

2009-02-27 Thread Hector Virgen
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

[Proto-Scripty] Re: building object orientated javascript libraries - does Prototype support/help here???

2009-02-27 Thread Hector Virgen
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

[Proto-Scripty] building object orientated javascript libraries - does Prototype support/help here???

2009-02-27 Thread greghauptmann
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

[Proto-Scripty] Re: Prototype effects below flash animation

2009-02-27 Thread Boysenberry Payne
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

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-02-27 Thread T.J. Crowder
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

[Proto-Scripty] Japanese language support for prototype

2009-02-27 Thread dc2043
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

[Proto-Scripty] Scrolling scripts and Named Anchor

2009-02-27 Thread jsun at 82
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

[Proto-Scripty] Prototype effects below flash animation

2009-02-27 Thread Ângelo Rigo
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

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread buda
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 : > > > > > >

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-02-27 Thread BearState
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

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread Richard Quadling
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

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread Jeff Conklin
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

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread 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 braks > > the process > > > C:\...f

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-02-27 Thread T.J. Crowder
> 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

[Proto-Scripty] Re: Creating other lists from a drag and drop list

2009-02-27 Thread leggyxav...@googlemail.com
> 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

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread Richard Quadling
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

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-02-27 Thread ColinFine
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

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread Richard Quadling
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

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread 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', 'click', function(e){ var value = thi

[Proto-Scripty] Re: How to fire 'click' on element ?

2009-02-27 Thread Jan Hansen
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

[Proto-Scripty] I have a problem with building prototypejs with rake

2009-02-27 Thread 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:\ruby\bin\rake dist (in C:/sstep

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread Richard Quadling
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

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread 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 implementation it is completely free, so you

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread Szymon Wilkołazki
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