[Proto-Scripty] Re: Ajax.Updater and firefox 3.01

2008-12-03 Thread julien Devouassoud
Check you dont have a duplicate id : 'pnl_results' Ie might take first pannel, FF just says no On Tue, Dec 2, 2008 at 4:49 PM, kayakko [EMAIL PROTECTED] wrote: Hi, i'm using protoype (tried 1.6.0.3 and 1.6.0.2 ) and i found a problem using ajax.updater with FF (IE 7 WORKS). The problem is

[Proto-Scripty] Re: double play with sound.js

2008-12-03 Thread Peter De Berdt
On 02 Dec 2008, at 22:47, Bill Walton wrote: I'm adding simple sounds (beep and burp) to a Rails app with sound.js. I'm having a really wierd problem with it though. I call Sound.play(good_sound) or Sound.play(bad_sound) depending on whether or not a search succeeds. First time it

[Proto-Scripty] Re: Ajax.Updater and firefox 3.01

2008-12-03 Thread julien Devouassoud
ho.. ok, that mean there is an asynch problem in your algorithm i guess if you put an alert in your function it will work too :) On Wed, Dec 3, 2008 at 11:39 AM, kayakko [EMAIL PROTECTED] wrote: only one pnl_result. the strange thing is if i debug (firebug) and step into the function, it

[Proto-Scripty] Re: Ajax.Updater and firefox 3.01

2008-12-03 Thread kayakko
Solved!! The problem was in the fnTrapKD function. FF does not stop the event with event.returnValue=false; These is the new function, It works Thanks anyway Luca function fnTrapKD(event) { if (navigator.appName.indexOf (Microsoft) !=-1) { if (event.keyCode ==

[Proto-Scripty] Re: analogue clock?

2008-12-03 Thread fero
Have you seen this ? I didn't tried but it seems wonderful :) http://randomibis.com/coolclock/ On Dec 3, 1:02 am, geoffcox [EMAIL PROTECTED] wrote: This is beautifully done! Cheers Geoff On Dec 2, 2:42 pm, Diodeus [EMAIL PROTECTED] wrote: This one's a classic and does it using native

[Proto-Scripty] fade Effect and PNG in IE

2008-12-03 Thread neugi
Hi, i made a animation where i used the move and fade effect. it works perfekt, but in ie there is a problem with the transparent background of the png. when the fade starts den png filter seems to get brocken. is there any fix for that? best

[Proto-Scripty] Re: fade Effect and PNG in IE

2008-12-03 Thread neugi
Hi, not only ie6 also ie7. currently i'm using png32, i'll give png8 a try best 2008/12/3 Christophe Porteneuve [EMAIL PROTECTED] neugi a écrit : it works perfekt, but in ie there is a problem with the transparent background of the png. when the fade starts den png filter seems to get

[Proto-Scripty] Re: autocompleter.local

2008-12-03 Thread Walter Lee Davis
On Dec 3, 2008, at 1:28 AM, charliem wrote: Bingo - thanks for the speedy help. Being very much a newbie with JS can you pint me to an explanation of what you are referring to when you say ... a window.load or document.dom:loaded listener ...? There are plenty of examples in the Prototype

[Proto-Scripty] Re: slide effect problem

2008-12-03 Thread Walter Lee Davis
Did you see my follow-up message where I corrected my typo? I had a curly brace in there instead of a normal parenthesis. Look through the rest of this thread. Walter On Dec 3, 2008, at 3:51 AM, shafir mishal wrote: sorry but it doesnt work :( i implemented your steps:

[Proto-Scripty] Is the new statement ever needed ?

2008-12-03 Thread fero
As I read the Prototypejs documentation, I noticed that every example in using your classes begin with the new statement. So I have written all my code like new Ajax.Request , new Effect.SlideDown etc. This works very well for FF. Now I am porting my code to IE :( and as I got some (other)

[Proto-Scripty] Re: Is the new statement ever needed ?

2008-12-03 Thread Alex Mcauley
not everything is a class and needs initiating with new ... you should check what does need new and what doesn't .. some effects need to be initiated as objects as they are classes and some dont Regards Alex - Original Message - From: fero [EMAIL PROTECTED] To: Prototype

[Proto-Scripty] Re: Banner viewport

2008-12-03 Thread Jerod Venema
I just took a brief look, but try moving the startScroller calls into the onload rather than having them inline, see if that helps. On Fri, Nov 28, 2008 at 10:40 PM, jonathon [EMAIL PROTECTED] wrote: I was just troubleshooting something like this, and can't figure out how to get it to work in

[Proto-Scripty] Re: Is the new statement ever needed ?

2008-12-03 Thread Jerod Venema
Follow the documentation. Those are classes, and do need the new. To avoid JSLint errors, simply use extra parens: (new Ajax.Request({foo:'bar'})); which will make it happy. On Wed, Dec 3, 2008 at 9:03 AM, Alex Mcauley [EMAIL PROTECTED] wrote: not everything is a class and needs initiating

[Proto-Scripty] ood problem with the delay being able to reference a div created via AJAX

2008-12-03 Thread mtm81
Hi, I've got an odd problem which affects IE7 all the time and FF3 50% of the time. I have two functions in the head of my document one of which uses an AJAX.Updater call and one of which uses an AJAx.Request call The first function uses the AJAX.Updater to update a single div within my page.

[Proto-Scripty] Re: Bug/Issue with autocompleter in IE7, first request doesn't appear, subsequent requests do

2008-12-03 Thread Ronan
I am having the very same problem on IE6 (XP) + IE7 (vista) using prototyp 1.6.0.3 scriptaculous 1.8.2 It seems that infos in this post might solve the problem : http://prototype.lighthouseapp.com/projects/8887/tickets/32-ajax-autocomplete-in-ie-with-doctype

[Proto-Scripty] Re: fade Effect and PNG in IE

2008-12-03 Thread neugi
soo, after a test the problem is still there. in ie6/ie7 when the fade starts it's breaking the transparent part of the png best 2008/12/3 neugi [EMAIL PROTECTED] Hi, not only ie6 also ie7. currently i'm using png32, i'll give png8 a try best 2008/12/3 Christophe Porteneuve [EMAIL

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
Hi Russell, Russell wrote: I have been brwosing the wiki learning the features of script.aculo.us and was wondering if there was an easy way to create a modal message box and if so is there an example somwhere? I'm looking forward to a better way but, in the meantime, I'm under the

[Proto-Scripty] Re: Extending every Ajax.Request onSuccess event

2008-12-03 Thread Tony Amoyal
According to the doc, onComplete should be fired after onSuccess http://www.prototypejs.org/api/ajax/request On Nov 13, 1:43 am, matte [EMAIL PROTECTED] wrote: Hi Alex, Thanks for the reply. Generic Ajax.Request code: new Ajax.Request(URL, {         method: 'post',         parameters:

[Proto-Scripty] Re: Bug/Issue with autocompleter in IE7, first request doesn't appear, subsequent requests do

2008-12-03 Thread Olivier Jaquemet
We also have this problem with proto 1.6.0.3, but it works with 1.6.0.2 It seems to be a regression of prototype 1.6.0.3 : To fix the issue, change the line 2092 of prototype.js (version 1.6.0.3) : while ((element = element.parentNode) element != document.body) to what it was in prototype

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
Hi Walter, Walter Lee Davis wrote: Here's a couple that are more focused than LightBox et al. http://prototype-window.xilinus.com/ http://livepipe.net/control/window Excellent! I hadn't come across these (I've been focused on Ruby-friendly versions). Thank you. Best regards, Bill

[Proto-Scripty] Re: Extending every Ajax.Request onSuccess event

2008-12-03 Thread Matt Foster
This is why I like using an Ajax Service it creates a central instance in which all requests are generated and processed through http://positionabsolute.net/blog/2007/07/javascript-service.php On Nov 13, 5:45 am, matte [EMAIL PROTECTED] wrote: Hi, Yes it is more straight forward but

[Proto-Scripty] Any table utils ?

2008-12-03 Thread K.C.Leung
Are there and table mehods for Table to make easier ? tabletbody tr tdTop Left/td tdTop/td tdTop Right/td tr tdLeft/td tddiv a href=# id=centercenter/a /div/td tdRight/td /tr tr tdBottom

[Proto-Scripty] Re: analogue clock?

2008-12-03 Thread geoffcox
very fine but seems to have problem with IE ... Cheers Geoff On Dec 3, 10:44 am, fero [EMAIL PROTECTED] wrote: Have you seen this ? I didn't tried but it seems wonderful :) http://randomibis.com/coolclock/ On Dec 3, 1:02 am, geoffcox [EMAIL PROTECTED] wrote: This is beautifully

[Proto-Scripty] [OT] better way to change to nextfield

2008-12-03 Thread Miguel Beltran R.
Hi list, I have the next code. can be done better? [code[ var el_back; $('main_form').select('*').each(function(el){ if(el.type=='text' || el.type=='select-one'){ el.observe('focus', function(evt){evt.element().select()}); if(el_back){

[Proto-Scripty] IE eval() question...

2008-12-03 Thread yoshi
heres my js: var stuff7=eval('function() {alert(stuff..);}') when i alert stuff7 it is undefined. now if i do this: eval('var stuff7=function() {alert(stuff..);}') and alert stuff7, it is defined does anybody know y, the jscript eval doc doesnt really help, i suspect it is a scope issue?