[Proto-Scripty] Re: Vertical menu with scrolls on top and bottom

2009-06-03 Thread Nikhil Saini
I did look at Scripteka but couldn't find what i was looking for. On Wed, Jun 3, 2009 at 11:50 PM, david wrote: > > Hi nikhil, > > have you tried scripteka.com ?? > I'm not sure there is something that could fit your need, but who > never knows. > > -- > david > > On 3 juin, 10:53, Mona Remlawi

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread Alex McAuley
seeing Ricks reply... it is better to go with his method ... Obviously sometimes it is not allways viable to go with non-inline handlers but it is best to go with them when you dont need to get anymore information from an element that its ID or perhaps its next sibling etc etc also in PHP i wo

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread Alex McAuley
you have at least one syntax error here Random Text that doesn't matter"; There is no space between id='' and style=''. put a space in and try it again! - Original Message - From: "craig" To: "Prototype & script.aculo.us" Sent: Thursday, June 04, 2009 12:13 AM Subject: [Pro

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread Rick Waldron
Oh yeah... and this was your problem; onclick='Effect.toggle('blinddown1', 'slide'); return false;'> would've worked as: onclick="Effect.toggle('blinddown1', 'slide'); return false;"> You cant use single quotes inside of single quotes. On Thu, Jun 4, 2009 at 12:37 AM, Rick Waldron wrot

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread Rick Waldron
There is a much cleaner way to do this... check it out (tested and passed) This goes in

[Proto-Scripty] Re: Need Help With Ordering Sortables

2009-06-03 Thread Walter Lee Davis
If you know the order already, you could do something like this: var foo = $('parentList'); ['item_1','item_2','item_3'].each(function(id){ foo.insert({bottom:$(id).remove()}); }); You could also capture a snapshot of the list before any dragging is done with var original = $('parentL

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread craig
That's right, yes. I tried that at one point: $count=$count+2; while ($count<=$num_teams) { echo "Player ".$count . "{click to reserve a player spot} Random Text that doesn't matter"; $count++; } However, it still wasn't working, so I decided to mess around with i

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread craig
That's right, yes. I tried that at one point: $count=$count+2; while ($count<=$num_teams) { echo "Player ".$count . "{click to reserve a player spot} Random Text that doesn't matter"; $count++; } However, it still wasn't working, so I decided to mess around with i

[Proto-Scripty] Re: Working outside loop, but not inside

2009-06-03 Thread Tom
You have an id hardcoded to the div inside the loop - ids have to be unique on the page - I'm assuming you mean to append $count to the id instead of hardcoding the digit 1 Tom On Jun 3, 3:37 pm, craig wrote: > Hey, > > I've got some php that's pulling entries from a table, and displaying > ent

[Proto-Scripty] Working outside loop, but not inside

2009-06-03 Thread craig
Hey, I've got some php that's pulling entries from a table, and displaying entries as well as giving a toggle effect to some. I put in some static html to confirm that the effect is working inside the file, but inside the php code the effect doesn't work... here's a snippet: while ($count<=$num_

[Proto-Scripty] Re: Opera & Chrome not fully extending Element?

2009-06-03 Thread T.J. Crowder
Hi Joe, This may not have any bearing on your problem, but I'll ask anyway: Are you sure those are valid IDs? Because my read of the spec is that [ and ] are not valid in HTML element identifiers. The "id" attribute [1] is of type "name"[2], which "...must begin with a letter ([A-Za- z]) and ma

[Proto-Scripty] Re: Prototype & Xml representation

2009-06-03 Thread confiteor
Hi, I want to write a Add-In for Visual Studio 2008. This Add-In would have to show the method in the Prototype class. And there is a problem. I do not want to create a static class, which would include a description of each class library Prototype. I would prefer to load all data from an XML

[Proto-Scripty] Problems with pollDoScroll and IE family (1.6.1 rc)

2009-06-03 Thread Florian Gnägi
Hi I get errors with prototype 1.6.1rc in IE browsers. In IE debugger I get the "Out of stack space" message. I could track it down to the lines 635 and 636 in event.js. When I remove the lines, everything runs smoothly. http://github.com/sstephenson/prototype/blob/483c7886de5c0c6e721dee06b3f9d

[Proto-Scripty] Ajax.Request's getStatus and success

2009-06-03 Thread Cliff
Hi, I have a question regarding the code in Ajax.Request. Specifically, the "success" and "getStatus" methods. Here is the code from the latest version for reference: success: function() { var status = this.getStatus(); return !status || (status >= 200 && status < 300); }, get

[Proto-Scripty] Need Help With Ordering Sortables

2009-06-03 Thread Daryl
I have 4 divs that are sortable and they have numbered id's. e.g list_1, list_2 etc. What I want to do is call a function when a button is pressed that will put by sortable Divs into a set order. Is this possible? --~--~-~--~~~---~--~~ You received this message b

[Proto-Scripty] Re: JSON and Ajax.Updater

2009-06-03 Thread Celso
THANKS !! On 3 jun, 16:48, Douglas wrote: > Ops! My mistake now O.o > > you'd use something like this: > > [code] >   var myParameters =  { ID : 17, Name : 'hello' }; >   new Ajax.Updater( >     td.id >     ,'../adicionar' >     ,{ >         asynchronous:true >        ,parameters: myParamete

[Proto-Scripty] Re: JSON and Ajax.Updater

2009-06-03 Thread Douglas
Ops! My mistake now O.o you'd use something like this: [code] var myParameters = { ID : 17, Name : 'hello' }; new Ajax.Updater( td.id ,'../adicionar' ,{ asynchronous:true ,parameters: myParameters // see? Setting Ajax.Updater.parameters as myParameters ,onC

[Proto-Scripty] Re: JSON and Ajax.Updater

2009-06-03 Thread Douglas
On Wed, Jun 3, 2009 at 2:31 PM, Celso wrote: > > var parameters = { ID : 17, Name : 'hello' }; > >                new Ajax.Updater( >                                td.id >                                ,'../adicionar' >                                ,{asynchronous:true >                        

[Proto-Scripty] Re: JSON and Ajax.Updater

2009-06-03 Thread Celso
In FireBug: invalid object initializer [Break on this error] ,{asynchronous:true If I put it Ajax.Updater works, but my function is not generic new Ajax.Updater( td.id ,'../adicionar'

[Proto-Scripty] Re: Vertical menu with scrolls on top and bottom

2009-06-03 Thread david
Hi nikhil, have you tried scripteka.com ?? I'm not sure there is something that could fit your need, but who never knows. -- david On 3 juin, 10:53, Mona Remlawi wrote: > hi nikhil, > you might wanna take a look athttp://livepipe.net/control > there is a scrollbar control that you might adjust

[Proto-Scripty] Re: Prototype & Xml representation

2009-06-03 Thread david
Hi confiteor, could you extand a bit more what you need. I haen't understand, and seeing the number of response, it seems that I'm not the only one. -- david On 2 juin, 14:12, confiteor wrote: > Hi, >      I try find Xml representation of Prototype library. > Is something like this exist? > >

[Proto-Scripty] Re: IE 8 Prototype Issue

2009-06-03 Thread david
Hi again CMRstar430, I will have a glance tonight in case prototype have trouble with IE8.0. -- david On 3 juin, 19:57, david wrote: > Hi CMRstar430, > > it seems that it is a problem with lightwindow and IE8.0. > have you check if a newer version exist ??? > > -- > david > > On 2 juin, 22:20,

[Proto-Scripty] Re: JSON and Ajax.Updater

2009-06-03 Thread david
Hi Celso, is it possible to have a live page with the problem ? or something that explain the error. Or even better, what you want to do and what is the error. In fact, you'll have more chance to receive an answer with plenty of details. -- david On 3 juin, 19:31, Celso wrote: > var paramete

[Proto-Scripty] Re: IE 8 Prototype Issue

2009-06-03 Thread david
Hi CMRstar430, it seems that it is a problem with lightwindow and IE8.0. have you check if a newer version exist ??? -- david On 2 juin, 22:20, CMRstar430 wrote: > Hello All, > > I am having an issue with lightwindow in IE 8.0. > > http://proofs.icongraphics.com/usbe/services.asp > > If you go

[Proto-Scripty] JSON and Ajax.Updater

2009-06-03 Thread Celso
var parameters = { ID : 17, Name : 'hello' }; new Ajax.Updater( td.id ,'../adicionar' ,{asynchronous:true ,parameters

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread terry-5-
I just figured out that if I remove the event 'Update:+function call' changeClass is never executed during 'revert:changeClass'. I planted an alert statetement right before the function return statement to see what value is being returned and it doesn't execute if 'Update' is removed. So is it the

[Proto-Scripty] Re: [OT] someone know a good book from certificates x509

2009-06-03 Thread Alex McAuley
Google is your friend !! - Original Message - From: Miguel Beltran R. To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 03, 2009 4:53 PM Subject: [Proto-Scripty] [OT] someone know a good book from certificates x509 Hi list, first my apologize for this off-t

[Proto-Scripty] [OT] someone know a good book from certificates x509

2009-06-03 Thread Miguel Beltran R.
Hi list, first my apologize for this off-topic, but I asked to lot people and noone can help me. Using a OpenSSL -request, and convert to p12) (in Slackware) + Windows 2003 -certificate valid againts my CA Windows - create a lot certificates. My certificates have one year before expirate -six month

[Proto-Scripty] Opera & Chrome not fully extending Element?

2009-06-03 Thread joe t.
Opera/Chrome & Prototype 1.6.1RC The symptoms of this problem are noticeable in Opera and Chrome. i have a table, and the first cell of each row is observing "click" to perform an Ajax call and get a sub-table: a primitive tree-grid structure. Works fine in Firefox & IE. i'm using Opera 10 (just

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread Alex McAuley
I would have to say its an error in your function but i cant see where at the moment... i will deeper investigate when i've finished what i am doing Alex - Original Message - From: "terry-5-" To: "Prototype & script.aculo.us" Sent: Wednesday, June 03, 2009 3:23 PM Subject: [Proto-Scri

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread Walter Lee Davis
They are two, and this is just a place where Lint and Prototype disagree. This could be written as if((match = source.match(pattern))) { ... and Lint would say "Sure! That's just fine! " because that's like saying if (true){ But Prototype house style is about less typing (in the keyboa

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread Alex McAuley
sorry i cant read the = signs ... are they 3 equals ( = = =) or 2 (= =) - obviously without spaces !! - Original Message - From: "terry-5-" To: "Prototype & script.aculo.us" Sent: Wednesday, June 03, 2009 3:23 PM Subject: [Proto-Scripty] Re: Revert sortable on return value true? Poss

[Proto-Scripty] Re: High performance replacement of html elements

2009-06-03 Thread arianglan...@googlemail.com
Hi Walter and david, thanks for your input. @Walter: Maybe I gave a wrong impression. I am already doing it like you suggested. I go even further: the current status of the sorted list will only be saved when the user clicks a button "I am done sorting, save this". In my case it wouldn't be good

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread terry-5-
Warning: test for equality (==) mistyped as assignment (=)? Source File: http://tltc.la.utexas.edu/rr/js/scriptaculous/prototype.js Line: 1921, Column: 39 Source Code: if (match = source.match(pattern)) { Warning: test for equality (==) mistyped as assignment (=)? Source File: http://tltc.l

[Proto-Scripty] Re: The parameter data getting fixed in Ajax.PeriodicalUpdater

2009-06-03 Thread ColinFine
Hello SKalra. Nobody can debug your problem without seeing any code. My guess is that the way your are writing it, the value you are passing for the parameter is being evaluated only once, when you create the PeriodicalUpdater, and is thereafter a constant as far as the Updater is concerned; but

[Proto-Scripty] Re: OverLIB Clone - IE not appending to Style Tag - setStyle() sometimes not working

2009-06-03 Thread Walter Lee Davis
But to reiterate, the key here is to pick one format for the entire hash, and stick to it. Prototype "sniffs" the first element in the hash to figure out which method to use all the rest of the way through the rest of the hash. This is done for performance reasons. Walter On Jun 3, 2009, a

[Proto-Scripty] Re: OverLIB Clone - IE not appending to Style Tag - setStyle() sometimes not working

2009-06-03 Thread Walter Lee Davis
Well, float is a kind of Number, so that's why you can't use that word directly -- it's reserved by JavaScript, and 'you have to dance with who brung ya'. In those cases, you can usually use css[the word] as a substitute, so cssFloat in this case, if you want to use the bare camelCase word

[Proto-Scripty] Re: OverLIB Clone - IE not appending to Style Tag - setStyle() sometimes not working

2009-06-03 Thread IMBI-Indie-Portal
Thanks Walter, I have noticed some varied usage of 'quoted' and unquoted, and some reports that some 'names' must be quoted and others work fine unquoted... in particular 'float' must be quoted to work at all.. Seems like odd behaviour to me Thanks Colin, I think its time for me to organise

[Proto-Scripty] When are is final 1.6.1 going to be released?

2009-06-03 Thread KHelal
Hi all, Do you have any ETA on the final version of 1.6.1? IE8 is being force- fed by Microsoft and is starting to show usage for some of our customers. Thx. .K --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Pro

[Proto-Scripty] Re: Nested Ajax Requests

2009-06-03 Thread majestixx
Thanks for the advice. I now got it running. On 3 Jun., 11:01, Mona Remlawi wrote: > hi Tobias, > I advise you to add an onException handler to the outer Ajax.Request > as the default exception handler silently eats any error thrown in the > other handlers.  This way you'll have more insight why

[Proto-Scripty] Re: Revert sortable on return value true? Possible?

2009-06-03 Thread Alex McAuley
can you post the errors so i can see whats happening - Original Message - From: "terry-5-" To: "Prototype & script.aculo.us" Sent: Tuesday, June 02, 2009 9:20 PM Subject: [Proto-Scripty] Re: Revert sortable on return value true? Possible? > > Thanks Alex. > > > --~--~-~--~-

[Proto-Scripty] Re: Nested Ajax Requests

2009-06-03 Thread Mona Remlawi
hi Tobias, I advise you to add an onException handler to the outer Ajax.Request as the default exception handler silently eats any error thrown in the other handlers. This way you'll have more insight why the Ajax.Updater is failing. cheers -- mona On Wed, Jun 3, 2009 at 9:21 AM, majestixx wr

[Proto-Scripty] Re: Vertical menu with scrolls on top and bottom

2009-06-03 Thread Mona Remlawi
hi nikhil, you might wanna take a look at http://livepipe.net/control there is a scrollbar control that you might adjust for your needs. -- mona On Wed, Jun 3, 2009 at 7:15 AM, Nikhil wrote: > > Hi, > > I'm trying to create a vertical menu (using Protoaculous) with flyouts > that would have top

[Proto-Scripty] Vertical menu with scrolls on top and bottom

2009-06-03 Thread Nikhil
Hi, I'm trying to create a vertical menu (using Protoaculous) with flyouts that would have top and bottom scrolling buttons rather than a horizontal scrollbar - similar to what YUI provides (example at http://yuiblog.com/sandbox/yui/v260/examples/menu/example13.html). I've been trying to look fo

[Proto-Scripty] The parameter data getting fixed in Ajax.PeriodicalUpdater

2009-06-03 Thread SKalra
Hello, I have tried Ajax.PeriodicalUpdater function and as passed the parameter using post method, the parameter value is getting fixed. I am passing the data with variables and every time instead of getting the data from variable it is picking the first time value, the junk. and there is no mea

[Proto-Scripty] Re: How do I access 'this' from within Ajax.Request onSuccess?

2009-06-03 Thread T.J. Crowder
Hi, Via Function#bind[1], more here[2]. Or you can just use a straight- forward closure[3], like this: loadItemsFromUrl: function(url) { var self = this; new Ajax.Request(url, { method: 'get', onSuccess: function(transport) { // Here, 'self' references the in

[Proto-Scripty] Nested Ajax Requests

2009-06-03 Thread majestixx
Hi, I tried to nest ajax requests. I think this should be possible, but just the outer is executed properly. The script is working till the update in the onComplete function. The ajax.updater is not started. Firebug has no network activity and nothing happens. Any idea where the error is? Probab