[Proto-Scripty] Modal Dialog question...

2009-03-06 Thread Daniel Israel
Is there some sort of add-on or control out there that will make a modal dialog? I've got an application where I want a dialog to pop up in the middle of the screen and allow the user to enter/edit data, then do something if the user clicks OK. All the data (to populate the dialog's

[Proto-Scripty] nested method calls?

2009-03-06 Thread icarus.wings
i'm using the Function.wrap() method in a utility I am greating for my company that does something similar to the prototype update helper, but more specific to my companies needs. we are in the middle of a big move from a very messy pile of copy and pasted javascript functions to using prototype

[Proto-Scripty] Creating a Submit Button

2009-03-06 Thread Tommaso
I am having a problem creating a submit button with prototype in IE. I use the following code: button = new Element('button', {'type' : 'submit'}); form.insert(button) unfortunately in IE if you make at button, and run the code new Element('button', {'type' : 'submit'}).type You always get

[Proto-Scripty] Re: Modal Dialog question...

2009-03-06 Thread Chris Sansom
At 10:25 -0800 5/3/09, Daniel Israel wrote: Is there some sort of add-on or control out there that will make a modal dialog? I've got an application where I want a dialog to pop up in the middle of the screen and allow the user to enter/edit data, then do something if the user clicks OK. All

[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread Michael Hauptmann
Hi Tomaso, The submit is a input element. new Element('input', {'type' : 'submit'}) should work. Miguel Tommaso wrote: I am having a problem creating a submit button with prototype in IE. I use the following code: button = new Element('button', {'type' : 'submit'}); form.insert(button)

[Proto-Scripty] Re: writeAttribute problem

2009-03-06 Thread Tobie Langel
writeAttribute does not fix cross browser differences in the implementation of setAttribute. How so? What's missing? File bugs! :) Feel free to recommend otherwise but I'd like to see some reasons why. There's one simple reason: forward compatibility. Prototype 2.0 will stop extending

[Proto-Scripty] Re: Scriptaculous in Joomla

2009-03-06 Thread david
HI Doppelganger, I think this is not a prototype/scriptaculous issue. Try the JOOMLA support, I did not think you're the only one integrating P/S inside JOOMLA. -- david On 1 mar, 00:49, doppelganger a.ak...@gmail.com wrote: HI, I am trying to install the Scriptaculous system in my Joomla

[Proto-Scripty] Re: $$ failing in FF3.1b3

2009-03-06 Thread Jim Higson
On Thursday 05 March 2009 23:22:26 Tobie Langel wrote: Hi, Extending Object.prototype is regarded as a Bad Thing[1]. Does Prototype state anywhere that it doesn't work if Object.prototype is extended? If this is a stated limitation then fair enough I guess. It seems like some parts of

[Proto-Scripty] Re: Modal Dialog question...

2009-03-06 Thread Yevgeniy A. Viktorov
Hello, If you looking for something a bit more specified, take a look also: http://www.wildbit.com/labs/modalbox/ http://prototype-ui.com/ ( guess you already have this one, but just in case :) ) Thanks. Chris Sansom wrote: At 10:25 -0800 5/3/09, Daniel Israel wrote: Is there some sort

[Proto-Scripty] Re: Prototype with SVG

2009-03-06 Thread david
Hi marx, I try to do the following: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http:// www.w3.org/TR/xhtml1/DTD/... html xmlns=http://www.w3.org/1999/xhtml; xmlns:svg=http://www.w3.org/2000/svg; head script src=prototype.js type=text/javascript/script script

[Proto-Scripty] Re: effect.opacity issues

2009-03-06 Thread david
Hi Russ, That is normal, defaul opacity is 1, so if you did not set the opacity, when you first set visibility, the element is visible, and when scriptaculous begin effect, it sets it to (near) 0, nand effect end with the value 1 for opacity == fully visible. -- david On 28 fév, 09:14, Russell

[Proto-Scripty] Re: Scrolling scripts and Named Anchor

2009-03-06 Thread david
Hi Jason, could you explain what we have to do to find the error, I'm sorry I did not understand the problem. I just look at the site, but didn't find the problem ! -- david On 27 fév, 21:38, jsun at 82 jasonta...@gmail.com wrote: I am trying to set up scrolling html boxes with the use of the

[Proto-Scripty] Re: Sortable.create with dropzones / Event for Mousemoves

2009-03-06 Thread david
Hi Chris, I did not see any problem in IE6, but I did not have your complete code. I try to invent !! please, give us a live test to see the problem. -- david On 27 fév, 07:54, Chris c...@clicksports.de wrote: Hi, I have some little problems with prototype/scripty. First I want to use a

[Proto-Scripty] Re: writeAttribute problem

2009-03-06 Thread RobG
On Mar 6, 8:16 pm, Tobie Langel tobie.lan...@gmail.com wrote: writeAttribute does not fix cross browser differences in the implementation of setAttribute. How so? What's missing? File bugs! :) The differences are in the browsers' implementation of setAttribute, For example, using

[Proto-Scripty] Re: Slider handleImage and handleDisabled usage

2009-03-06 Thread david
I spaceage, I try to answer to your question, and look at the code, but can't find the two variable name in the code :(( Are they reall used ?? -- david On 1 mar, 20:37, spaceage davi...@mac.com wrote: Can anybody explain how to use this functionality? The wiki indicates:    

[Proto-Scripty] Re: How to correct the following code?

2009-03-06 Thread david
Hi SamuelXiao, about the bind or bindAsEventListener method, it does not help in your case. Those two functions are used to force the value of 'this', but you are not inside a class, and do not use 'this' inside the gotopreview function. I made testiung with given code, but there is some

[Proto-Scripty] Re: nested method calls?

2009-03-06 Thread david
Hi icarus.wings, Check the MDC doc about functions at : https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Global_Objects/Function and more particulary the caller property inherited from Functions.prototype. It is flagged at non-standard, but work in IE andd FF, and I think, but

[Proto-Scripty] Re: Effect Problems

2009-03-06 Thread david
Hi John, your problem is as you say normal, because both effects take place at the same time. The Queue add does not resolve it because you miss the way to write it: new Effect.Appear('pkgSearchFormLoading', { { queue: 'end' } }); should be write: new Effect.Appear('pkgSearchFormLoading', {

[Proto-Scripty] Re: Effect Problems

2009-03-06 Thread John McGowan
Sorry, I didn't notice the double brackets when I pasted those in there... The double brackets are necessary, because I've copied the code from an XSL stylesheet. The double brackets are there to escape the curly brackets. What gets outputted by the XSL Transformation, and therefore sent to the

[Proto-Scripty] Re: Array.without() problem

2009-03-06 Thread ColinFine
On Mar 5, 5:24 pm, webbear1000 normpo...@hotmail.com wrote: Hey peeps! I'm sure I'm missing something obvious here but I can't for the life of me figure out what's going wrong. I'm trying to use Array.without() to get rid of a number from an array in the fourth line of my code. The

[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread ColinFine
On Mar 6, 10:05 am, Michael Hauptmann mhauptm...@gmail.com wrote: Hi Tomaso, The submit is a input element. new Element('input', {'type' : 'submit'}) should work. Miguel Hang on, Miguel HTML has both input type='submit' and button type='submit', so Tommaso's expectation is

[Proto-Scripty] Re: Array.without() problem

2009-03-06 Thread Jerod Venema
Use delete history[index]; If you're trying to remove elements from a history array (not an object), you probably want history.splice(index,1), or your indexes are going to be all out of whack. Using splice will cause your history array to have a length of n-1 (which is what you're probably

[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread Michael Hauptmann
Hi Colin, I wasn't aware about these details, but the last time I had this problem I could solve it by using an input element :-) As many times... this problem finally is an IE issue, it's not about standards :-) Regards, Miguel ColinFine wrote: On Mar 6, 10:05 am, Michael

[Proto-Scripty] Re: $$ failing in FF3.1b3

2009-03-06 Thread kangax
On Mar 6, 5:49 am, Jim Higson j...@wikizzle.org wrote: On Thursday 05 March 2009 23:22:26 Tobie Langel wrote: Hi, Extending Object.prototype is regarded as a Bad Thing[1]. Does Prototype state anywhere that it doesn't work if Object.prototype is extended? If this is a stated limitation

[Proto-Scripty] Simulating focus

2009-03-06 Thread Lee Jenkins
Hi all, Assume that I have 2 div's which each contain appropriate content to resemble desktop forms with caption, min/max/close buttons, etc. and that they are overlapping on the same z-index. If I click on the form that appears behind the first, it should come to the front. My idea was to

[Proto-Scripty] Re: Processing Ajax.updater response before updating container

2009-03-06 Thread Richard Quadling
Or you could fix the server side code to not output anything except the actual data? 2009/3/6 John McGowan j...@steakfest.com: Thanks for the reply, but the issues is that I have no control over the debug output.  It's appended to the html response by the application server.  I want to avoid

[Proto-Scripty] Re: Processing Ajax.updater response before updating container

2009-03-06 Thread Alex Mcauley
is it php thats generating the reposnse .. If so you can just tell php to not output warnings .. example: ini_set('display_errors','0'); HTH Alex - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, March 06,

[Proto-Scripty] Re: Simulating focus

2009-03-06 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, Assume that I have 2 div's which each contain appropriate content to resemble desktop forms with caption, min/max/close buttons, etc. and that they are overlapping on the same z-index. If I click on the form that appears behind the first, it should come to

[Proto-Scripty] Re: Error by use HTTPS, Google Adwords and Prototype Ajax.(Periodical)Updater

2009-03-06 Thread Webhopper
On 4 Mrz., 16:14, disccomp discc...@gmail.com wrote: Are you loading Prototype from an https:// location? Like: I use it lokal with relativ path : .. new Ajax.PeriodicalUpdater('zitate', '/global/ajax/zitat.asp', {... http request are no problem, https let the browser chrash.

[Proto-Scripty] Re: writeAttribute problem

2009-03-06 Thread Tobie Langel
Hi again, Rob. I don't really want to argue over the benefits of attributes versus expandos, just wanted to outline that they weren't the same thing although the specs mandate a mapping of specified expandos to their attribute counterpart for backwards compatibility with DOM 0. It is also the

[Proto-Scripty] Re: Effect Problems

2009-03-06 Thread John McGowan
Update... I thought about this a little bit, and I realized that there were 2 different contexts where I was creating the Effect objects. One of them required the double curlies, and the other should have been single curlies. The reason for the doubles was to stop the xsl processor from thinking

[Proto-Scripty] Re: writeAttribute problem

2009-03-06 Thread kangax
On Mar 6, 7:07 am, RobG rg...@iinet.net.au wrote: [...] The differences are in the browsers' implementation of setAttribute, For example, using setAttribute with any of the intrinsic event handlers. Setting intrinsic event handlers was never supported, as far as I remember, although some

[Proto-Scripty] script.aculo.us compare Jquery UI

2009-03-06 Thread vtsuper
Today I read the JQuery UI 1.7 http://jqueryui.com/demos/ I found that their document is clear, their demo has been cover most of the cases. For example Draggable, Droppable. It is really convenient for the developer. I remeber that about 1 to 2 years before, script.aculo.us has been developed