[Proto-Scripty] DataGrid

2009-07-17 Thread nirbhab
http://is.gd/1zDvC have a flexible datagrid...but sorting issue is there. --~--~-~--~~~---~--~~ 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-Scripty] Mimicking a jQuery accordion using the same markup

2009-07-17 Thread MikeeBee
Hi all, what I assume to be a bit of a tricky one here! I made a jQuery accordion using this code and markup //HTML h2FAQ Example/h2 dl class=faq dtLorem ipsum dolor sit amet, consectetur adipisicing elit/dt dd pExcepteur sint occaecat cupidatat non proident, sunt in

[Proto-Scripty] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-07-17 Thread dmitrymos
Alex, what does success() return if getStatus() returns 0 in case of error? Looks like success() returns TRUE all the time as foolged said. On Jul 16, 7:37 am, Alex McAuley webmas...@thecarmarketplace.com wrote: as it states... Return !status (NOT STATUS) || (OR) status greater than or

[Proto-Scripty] Re: IE8 invalid argument line 4501

2009-07-17 Thread breed...@gmail.com
Hi to evebody! I'm getting the same error! Maybe you know the reason or how to fix it But i guess it's a big of RC3. Regards, Dmitry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] What is this.initialize.apply(this, arguments);

2009-07-17 Thread damerub
Could someone explain what the following line does? this.initialize.apply(this, arguments); I know how 'apply' works, but I cannot understand why 'this' is used twice here? both 'this' refer to the same object (current object). then why not just call this.initialize(arguments)?. What's the

[Proto-Scripty] problems with observe mouseover and mouseout

2009-07-17 Thread Dennis Schmidt
Hello everyone. I've basically got this HTML code: ul class=superlist li class=foo id=bar div class=foobarsome content/div div class=contentsome more content/div div class=actionssome actions/div /li /ul and this JS code: $$(.superlist li).invoke(observe, mouseover,

[Proto-Scripty] parameter null in struts action class

2009-07-17 Thread abinawale
Java Script function with prototype in it: - function strutsProtScriptAjaxLogin(){ // Gets form value with id password var password = $F('password'); // longinFormDiv is my div id new

[Proto-Scripty] Effect.SlideDown('') trouble in IE

2009-07-17 Thread talkingAnimals
Everything works great in Firefox and Safari, but when it comes to internet explorer it's a bust! The bottom left says there's an error on the page, and when the link is clicked, the page just jumps to the top. This is the code I use in the page: a href=# onclick=Effect.SlideDown('aamaBio');

[Proto-Scripty] Re: problems with observe mouseover and mouseout

2009-07-17 Thread David Behler
Try this: http://www.prototypejs.org/api/event/findElement $$(.superlist li).invoke(observe, mouseover, function(event) { alert(|Event.findElement(event, 'li')|.inspect().escapeHTML() |); |}); That should return the li element instead of a div. David Hello everyone. I've basically

[Proto-Scripty] Re: DataGrid

2009-07-17 Thread Alex McAuley
Nice data grid! ... what about inline editing of the cells ? .. i cant get it to work on firefox in your demo - Original Message - From: nirbhab nirbhabba...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, July 16, 2009 7:32 AM Subject:

[Proto-Scripty] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-07-17 Thread Alex McAuley
What about status's that are zero ? (some browsers report 0 as offline server) .. Thats why its in there - Original Message - From: dmitrymos dmitry...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, July 16, 2009

[Proto-Scripty] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-07-17 Thread T.J. Crowder
Looks like success() returns TRUE all the time as foolged said. Yes, if getStatus returns 0 (either because the HTTP status code really came back from the browser as 0, or because the browser didn't supply one at all), then success will return true. This has been noted before.[1][2] I'd love

[Proto-Scripty] Re: MySQL - order ID

2009-07-17 Thread WLQ
So many non related posts here, so I've thought of throwing in one too. It's about the script you gave me. Now I've tried to manipulate it as far as I could, but still could't get the results I was waiting for. Because you know it better and really I have no idea in how to accomplish it, for a

[Proto-Scripty] Effect.Highlight Breaks CSS Hover

2009-07-17 Thread Nicholas Van Weerdenburg
Hi, I found this ticket http://dev.rubyonrails.org/ticket/6134 but the problem still exists. No matter what I do, Effect.Highlight pollutes the DOM by changing the element background color, breaking css :hover and other style rules due to the element rule css precedence Anyone know of a

[Proto-Scripty] Re: DataGrid

2009-07-17 Thread Matt Foster
That is nice, you should submit it to http://scipteka.com -- http://positionabsolute.net On Jul 17, 4:14 am, Alex McAuley webmas...@thecarmarketplace.com wrote: Nice data grid! ... what about inline editing of the cells ? .. i cant get it to work on firefox in your demo - Original

[Proto-Scripty] Re: Effect.Highlight Breaks CSS Hover

2009-07-17 Thread Tobie Langel
cssText works in all supported browsers and is of course fully unit tested. Best, Tobie On Jul 17, 4:42 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Yeah, bit of a pain that there's no standard way to _remove_ a style from the style property entirely.  Setting things to is not the

[Proto-Scripty] Re: Unresponsive script

2009-07-17 Thread T.J. Crowder
Hi, That's not nearly enough information to work with. For instance (picking at random), what version of Prototype are you using? The line number is not useful information without knowing what file it refers to. 811 isn't a particularly significant line in either the latest stable (1.6.0.3)

[Proto-Scripty] Unresponsive script

2009-07-17 Thread usha
Hi I am sometimes getting this warning : A script on this page may be busy, or it may have stopped responding.You can stop the script now, or you can continue to see if the script will complete. .../prototype.js:811 I wanted to know how to avoid this warning . thanks

[Proto-Scripty] IE7 scrollTop

2009-07-17 Thread lun.ashis
Hi . I am wandering why IE7 is not calculating the exact scrollTop of div element as Firefox and Safari. I found that if i made position relative/fixed than it calculates the exact scrollTop position otherwise returns frequently 0. can anyone explain this. Thanks in advance... Cheers

[Proto-Scripty] Re: Unresponsive script

2009-07-17 Thread usha
Hi .. thanks for the response . I am currently using the 1.6.0.2 version and I always get that at that error in lines marked as below function $A(iterable) { if (!iterable) return []; if (iterable.toArray) return iterable.toArray(); var length = iterable.length || 0, results = new

[Proto-Scripty] Re: Effect.Highlight Breaks CSS Hover

2009-07-17 Thread Nicholas Van Weerdenburg
Thanks! On Fri, Jul 17, 2009 at 10:42 AM, T.J. Crowder t...@crowdersoftware.comwrote: Hi, Yeah, bit of a pain that there's no standard way to _remove_ a style from the style property entirely. Setting things to is not the same thing. However: Effects offer beforeStart and afterFinish