[Proto-Scripty] Re: New Script.aculo.us combination effect: Fisheye (beta), I need help with callback

2008-12-02 Thread julien Devouassoud
i was not being sarcastic... your version was quite nice, just needed a lil smoothing. for a scripta version i'll check it out On Mon, Dec 1, 2008 at 8:12 PM, Diodeus [EMAIL PROTECTED] wrote: It was more about solving the problem of how to do it, and getting a little more practice in OO

[Proto-Scripty] Re: Function expected err when doing instanceof in IE

2008-12-02 Thread kangax
On Dec 2, 12:11 am, yoshi [EMAIL PROTECTED] wrote: but it is defined globally? cuz i open up the js debugger console in IE8 beta, i type 'Element' and the debugger returns {...} so it is defined? And y is only Element not globally defined and not the Template or Hash object ? I think

[Proto-Scripty] Re: Ajax.updater - data get merged in content when running many updaters

2008-12-02 Thread Stucture_Ulf
you're right, data doesn't get merged by using the updater. my problem is that the data get merged in a div while a user clicks and activates an update during page load, if so data get merged. how can I fix this quick without rewriting a lot of scripts ... I'm not using on dom:loaded...so I'm

[Proto-Scripty] Re: slide effect problem

2008-12-02 Thread Walter Lee Davis
As you've found, setting the display property in a CSS sheet will not work with the Scripty effects. Try hiding the things you want to hide after the DOM loads. Set an empty class on all your to-be-hidden bits, and then do this: document.observe('dom:loaded',function(){

[Proto-Scripty] Re: autocompleter.local

2008-12-02 Thread Walter Lee Davis
Make sure that the script containing the autocomplete stuff is at the bottom of your page (or at least lower in the source order than the element you are trying to apply the effect to) and it should work as written. Otherwise, wrap the new Autocompleter.Local part inside of a window.load

[Proto-Scripty] Re: analogue clock?

2008-12-02 Thread Diodeus
This one's a classic and does it using native JavaScript. http://rainbow.arch.scriptmania.com/scripts/mouse_clock3.html On Dec 1, 5:55 pm, geoffcox [EMAIL PROTECTED] wrote: Hello, Is it possible to construct a javascript analogue clock using prototype/scriptaculous? In particular I want

[Proto-Scripty] Re: $$(css-class).invoke('observe', 'mouseover', function) on the fly

2008-12-02 Thread Geoffroy Gomet
Thanks a lot for the quick response. Exactly what I was looking for. You saved me loads of work. Your wiki is really usefull, I'm going to consult it more often. Geoffroy On Dec 2, 7:12 am, T.J. Crowder [EMAIL PROTECTED] wrote: Hi, Check out this article on the unofficial Prototype

[Proto-Scripty] Class extendsion question

2008-12-02 Thread K.C.Leung
How can I create a class extends from Element ? var SubElement = Class.create ( Element, { initialize: function ( $super ) { $super ( div ) ; } } ) ; // error: 'subclasses' is null or not an object --~--~-~--~~~---~--~~ You received this message

[Proto-Scripty] Re: IE6 Error: Object doesn't support this property or method

2008-12-02 Thread T.J. Crowder
Hi, 1. 90% of the time, you'll figure out what's wrong in the process of doing it -- instant help! Bingo! Cool. :-) So I worked out that it is because of this: ... Though, changing to what I logically would have thought it should be hasn't worked IE is not tolerant of trailing

[Proto-Scripty] opposite effects

2008-12-02 Thread Yaffle
Sorry for newbies question, how opposite effects works? if Effect.SlideDown and Effect.SlideUp was called for one element, why call for Effect.SlideUp don't cancel ( stop ) Effect.SlideDown ? Is there easy way to do it? Thanks. --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: slide effect problem

2008-12-02 Thread shafir
thanks, but im not sure i understood my javascript function looks like that: function openClose(divId) { new Effect.toggle(divId, 'Slide', {duration: 0.5}); } my html looks like that: table border=0 align=center cellpadding=0 cellspacing=0 trtdspan

[Proto-Scripty] Re: Something like namespaces problem

2008-12-02 Thread PROM
Thanks for the answer but I finally decided to reorganize the page and now I just once load the modified script and another time load the clean script On Nov 26, 9:44 pm, Brian Williams [EMAIL PROTECTED] wrote: link to non-working sample or send the changed code please. On Wed, Nov 26, 2008

[Proto-Scripty] Re: slide effect problem

2008-12-02 Thread Walter Lee Davis
On Dec 2, 2008, at 12:15 PM, shafir wrote: div style=display:none id=advancedSearchBox Change this to: div class=hideme id=advancedSearchBox Don't do anything special to define hideme in your CSS, or at least, don't do anything to define the visibility of that class. Then somewhere in the

[Proto-Scripty] Re: slide effect problem

2008-12-02 Thread Walter Lee Davis
Sorry, typo below: On Dec 2, 2008, at 12:32 PM, Walter Lee Davis wrote: document.observe('dom:loaded',function(){ $$('.hideme}.invoke('hide'); ); document.observe('dom:loaded',function(){ $$('.hideme).invoke('hide'); ); --~--~-~--~~~---~--~~

[Proto-Scripty] Re: Very performant list filter

2008-12-02 Thread Matt Foster
By using the keyup event you can avoid the conditions to check for change, if the user has pressed and released a key on the input then the value has changed. Also it is very wise to add the timeout, your users will thank you. document.observe(dom:loaded, function() { var list = $$(#listAll

[Proto-Scripty] Re: slide effect problem

2008-12-02 Thread shafir mishal
thank u very much' i'll try it and let u know thanks again On Tue, Dec 2, 2008 at 7:32 PM, Walter Lee Davis [EMAIL PROTECTED] wrote: On Dec 2, 2008, at 12:15 PM, shafir wrote: div style=display:none id=advancedSearchBox Change this to: div class=hideme id=advancedSearchBox Don't

[Proto-Scripty] Re: analogue clock?

2008-12-02 Thread geoffcox
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 JavaScript. http://rainbow.arch.scriptmania.com/scripts/mouse_clock3.html On Dec 1, 5:55 pm, geoffcox [EMAIL PROTECTED] wrote: Hello, Is it

[Proto-Scripty] Stop submit post to div

2008-12-02 Thread knal
Hi there, I'm using 'Really Easy Field Validation' to handle my validation. Now i wish to submit the form to a div with Ajax, therefore i need to stop the original form submit and post it to contact.php 'in the div'. Then i'd like to return the contact.php page's response, e.g. 'Your message

[Proto-Scripty] double play with sound.js

2008-12-02 Thread Bill Walton
Greetings all! 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 works correctly, playing the correct