[Proto-Scripty] Re: Content slider with prototype/scriptaculous?

2009-09-30 Thread keemor
Here you go: http://code.google.com/p/prototype-carousel/ BTW. Very good example of coding On 30 Wrz, 01:28, zion wrote: > I need to build a content slider like this: > > http://www.gimiti.com/kltan/demo/jFlow/http://www.gimiti.com/kltan/wordpress/?p=46 > > The slides(divs) should fill the wh

[Proto-Scripty] Error: $A is not defined

2008-11-12 Thread keemor
Hi, I had an error: $A is not defined I found solution very fast http://www.skybyte.net/articles/prototype.js/ and wonder if I should put new ticket on http://prototype.lighthouseapp.com/dashboard ? Is this fix for bind and bindAsEventListener methods correct? --~--~-~--~~---

[Proto-Scripty] Re: Error: $A is not defined

2008-11-12 Thread keemor
stie[1]? It doesn't happen on localhost, but only on production server. At this moment I'm not able to paste any simple example of this error. When we go public I will come to this topic. Thx > > [1]http://pastie.org > -- > T.J. Crowder > tj / crowder software / com > > O

[Proto-Scripty] #readAttribute('class') returns wrong results in IE8 - where is solution?

2009-03-20 Thread keemor
Hello, I have exactly this problem: http://prototype.lighthouseapp.com/projects/8886/tickets/364-ie8-doesnt-like-readattributeclass I the last comment, Andrew Dupont says: "This was fixed a while back when I made all the changes necessary to get the DOM tests passing in IE8." I'm very glad, but

[Proto-Scripty] DOM building methods

2009-05-13 Thread keemor
Hi, I'd like to present 3 ways of building ul list and compare the speed of them. I used firebug's profiler on FF3 html: go $('go').observe('click',go); First method: Time to build (2122.406ms, 84055 wywołań) function go(e){ e.stop(); $('list').update();

[Proto-Scripty] Re: DOM building methods

2009-05-13 Thread keemor
it will change things for > all three methods. > > keemor wrote: > > Hi, > > > I'd like to present 3 ways of building ul list and compare the speed > > of them. > > I used firebug's profiler on FF3 > > > html: > > > >    go > >

[Proto-Scripty] Is this proper use of bind?

2009-07-14 Thread keemor
Hi, My main problem is that in xhrRequestFake method 'this' is itemManager object and not clicked 'li' element. I wanted to have access in method to the clicked element and object in the same time. I found myself doing something like this: var itemManager = { init: function(json){

[Proto-Scripty] Re: Is this proper use of bind?

2009-07-14 Thread keemor
Yes, but if there were something text something else e.element() would be li, span or strong and I would rather use e.findElement('li') But I don't really know the advantage of such solution. On 14 Lip, 16:20, Lox wrote: > Regarding your first exemple I would: > > $$('#list > li').invoke > ('

[Proto-Scripty] Re: Is this proper use of bind?

2009-07-15 Thread keemor
Thanks for this tip, I didnt know that What about this fragment: xhrRequestFake: function(e){ //now "this" is a which I want to use to read id from itemManager.json = [{'key':'no'},{'key':'way!'}]; itemManager.createHTML(); } Is it a good practice

[Proto-Scripty] The Simplest Modal Box

2008-10-13 Thread keemor
'overlay').setStyle({height : height+'px'}); //hiding select boxes in IE if (Prototype.Browser.IE) $$('SELECT').invoke('setStyle', {visibility : 'hidden'}) That's it! Tested on: IE6,IE7,FF2&3,Safari & Opera. Please tell If I misse