[Proto-Scripty] Re: the effect in Effect.toggle does not work

2009-04-25 Thread Vinay Seshadri
Hi Walter, I downloaded the latest S 1.8.2 and P 1.6.0.3 and replaced the versions i had (P 1.6.0.1 and S 1.5.x) with those. I dint realize giving the same ID to multiple divs will cause problems!! sorry.. my bad.. i removed the IDs like you had in jsbin.com/abufa the div inside the form with the

[Proto-Scripty] Re: convert string to a number

2009-04-25 Thread Ananth Raghuraman
@Pradeep: I never really tried typecasting or the native functions because I didnt know about them. I actually started hardcode Javascript coding with the Prototype/Scriptaculous frameworks so I am used to using Prototype functions everywhere when there is a choice. On Sat, Apr 25, 2009 at 1:52

[Proto-Scripty] InPlaceEditor in IE loses paragraphs when editing

2009-04-25 Thread marcoow
Hi, I just recognized that when I use the InPlaceEditor in IE and edit a div containing several paragraphs like that div pone/p ptwo/p /div The value of the text area when I edit is one two instead of one two When I just save it again then, my paragraphs are lost and only a newline

[Proto-Scripty] Re: Prototype: Ajax.PeriodicalUpdater keeps running after container is removed or changed

2009-04-25 Thread T.J. Crowder
Hi, Your English is quite good. Again, just call the stop() method on the updater when you remove the container, it's not done automatically for you. Here's an example: http://pastie.org/457897 HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services

[Proto-Scripty] Is there a way to determine absolute coordinates of an element on the screen?

2009-04-25 Thread buda
I have a problem with keydown event - event.screenY in the handler show coordinates inside a form instead of screen so I need to have absolute coordinates of an element to show popup element under an element or beneath of it Help me please --~--~-~--~~~---~--~~

[Proto-Scripty] Re: the effect in Effect.toggle does not work

2009-04-25 Thread Vinay Seshadri
I created a super simple (more like as simple as possible) page in my app for the effect alone. Effect isnt working in my app but its working here http://jsbin.com/etela here's ultra simple http://jsbin.com/ipudi Even THIS isnt working at my end!! What the hell is going on??? Its amazing! I

[Proto-Scripty] Re: the effect in Effect.toggle does not work

2009-04-25 Thread Walter Lee Davis
Can you go to the tab where you see it broken, view source, copy and paste it into http://validator.w3.org/#validate_by_input and see if there's anything up there? Prototype is sensitive to standards, and you may eliminate some of your problem by starting with a clear page. Walter On Apr

[Proto-Scripty] Re: Prototype: Ajax.PeriodicalUpdater keeps running after container is removed or changed

2009-04-25 Thread Nahuel Bulian
Hi TJ. Yesterday at nigth I solved my problem... I going try to explain what a I did... First of all I moved the script who has the PeriodicalUpdater to my js file and I could use the function globally. Here the function: var ajax1 = new Array(); function update_apu(div ,url, freq) { i =