[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 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 > same thing. > > However: Effects offer beforeStart and afterFinish callbacks, and

[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 Array(le

[Proto-Scripty] IE7 scrollTop

2009-07-17 Thread lun.ashis
Hi . I am wandering why IE7 is not calculating the exact scrollTop of 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] 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] Re: DataGrid

2009-07-17 Thread Douglas
Cannot see the 'edit' attr working too. Very nice grid though. Thanks. On Fri, Jul 17, 2009 at 5:14 AM, Alex McAuley wrote: > > 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" > To:

[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) or

[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" 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 > same thing. >

[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" wrote: > Nice data grid! ... what about inline editing of the cells ? .. i cant get > it to work on firefox in your demo > > - Original Message - > From: "nirbha

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

2009-07-17 Thread T.J. Crowder
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 callbacks, and the style property has this nifty cssText property on it, which suggests this

[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 workarou

[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 lon

[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: 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" To: "Prototype & script.aculo.us" Sent: Thursday, July 16, 2009 1:52 PM Subject: [Proto-Scripty] Re: checked !status in l

[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" To: "Prototype & script.aculo.us" Sent: Thursday, July 16, 2009 7:32 AM Subject: [Proto-Scripty] DataGrid > > http://is.gd/1zDvC have a f

[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 basi

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

2009-07-17 Thread T.J. Crowder
Hi, Effect.SlideDown is a constructor, that might be the problem. Put "new" in front of it as you see in the examples on the script.aculo.us website. I don't know that's it, but it could be. FWIW, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services av

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

2009-07-17 Thread T.J. Crowder
Hi Lin, this.initialize(arguments) would call the initialize method and pass in an array of arguments as the first and only parameter to the function. (Well, on many browsers 'arguments' isn't quite a real array, but very similar to one.) this.initialize.apply(this, arguments) calls the initiali

[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: Read More About Aama The page is here: http://www

[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 Ajax.Updater('loginFormDiv','/abinWebProject/stru

[Proto-Scripty] problems with observe mouseover and mouseout

2009-07-17 Thread Dennis Schmidt
Hello everyone. I've basically got this HTML code: some content some more content some actions and this JS code: $$(".superlist li").invoke("observe", "mouseover", function(event) { alert(event.element().inspect().escapeHTML()); }); So now the thing is, that the event.

[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 dif

[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] 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" wrote: > as it states... > > Return !status (NOT STATUS) || (OR) status greater than or equal to 200 > (TRUE|FALSE)

[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 FAQ Example Lorem ipsum dolor sit amet, consectetur adipisicing elit Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt

[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 prototype-scriptacul