[Proto-Scripty] Re: How can I access an element from outside iframe

2010-05-28 Thread oSerX
I did what you told me ... it's working perfectly in Safari 4 and IE8, but ... in GoogleChrome i get the following message in the console Uncaught TypeError: Object [object HTMLDivElement] has no method 'getOpacity'. - error in effects.js:line 357 ( from: this.element.getOpacity() || 0.0, ). If i

[Proto-Scripty] Re: Blur, Focus, Event Delegation

2010-05-28 Thread Радослав Станков
Hi, as I said in this ticket, you can use this code: http://gist.github.com/162593 for bubbling focus/blur. I have been using it for months and never have a single problem with this approach :) -- You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: How can I access an element from outside iframe

2010-05-28 Thread oSerX
I think I solved the problem ... not sure yet ... Yesterday I compressed prototype.js using bananascript. I think it did something wrong inside the source code. Now it seems ok in Google Chrome also... at lease until now. -- You received this message because you are subscribed to the Google

[Proto-Scripty] Re: How can I access an element from outside iframe

2010-05-28 Thread levan
You can create a js function in the parent file, something like function myOpacity(){ new Effect.Opacity('element ID', { from: 1, to: 0.4, duration: 0.7});} when you need the opacity to execute, just call the function from de iframe this way parent.myOpacity(); hope this helps. On 27 mayo,

[Proto-Scripty] PeriodicalExecuter

2010-05-28 Thread Russell Keith
I have a PeriodicalExecuter that is calling a function every so often that makes several AJAX calls. I am not having any luck getting the PeriodicalExecuter to stop via the onFailure callback in the Ajax call. Is this possible? I see in the API doc that I can use stop() within the

[Proto-Scripty] Ajax in IE7 vs. IE8

2010-05-28 Thread Russell Keith
Ok this doesn't make any sense to me. The following code works in IE8 but not IE7. The Ajax calls never get fired according to my proxy software. I don't have the luxury of firebug since I am relegated to IE here at work. Any ideas? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

RE: [Proto-Scripty] Ajax in IE7 vs. IE8

2010-05-28 Thread Russell Keith
It appears that IE7 doesn't like the port number added to the URL. Any thoughts on how to get around this? I have to have the port numbers. From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell Keith Sent: Friday, May 28,

RE: [Proto-Scripty] Ajax in IE7 vs. IE8

2010-05-28 Thread Rick . Wellman
Sorry for this short reply which may not even be correct but... Usually the port number is considered part of the URL from the server session viewpoint so if you're trying to go back to a different port than the rest of your app uses, that could be a problem. [I may have butchered this

RE: [Proto-Scripty] Ajax in IE7 vs. IE8

2010-05-28 Thread Russell Keith
The code posted is all the code there is. It is a simple little script to check that it can access a specific page on several servers. The servers are behind a load balancer using port forwarding hence the port requirement. Port 801 goes to server1 and port 802 goes to server2 and so on. The