[Proto-Scripty] Re: Window Scrolling -- sortables.create() and scroll:window arg

2008-12-01 Thread Alex Mcauley
i cant see a question .. perhaps i am blind - it is monday afterall !! - Original Message - From: Marcus Richter [EMAIL PROTECTED] To: prototype-scriptaculous@googlegroups.com Sent: Sunday, November 30, 2008 3:12 PM Subject: [Proto-Scripty] Re: Window Scrolling -- sortables.create() and

[Proto-Scripty] Re: Link Form Function

2008-12-01 Thread Kal-El
Thank for the answer a href=javacript:; onclick=call function here/a if you want to make xmlhttp request yopu can use Ajax library of prototype example: var url=index.php?mod=game; new Ajax.Request(url,{parameters:params}); What is meaning of call function here can you make a 1

[Proto-Scripty] problem with draggable

2008-12-01 Thread Harry Porto Schroeter
hi it's possible to make an element that was inserted on the page by ajax.update draggable ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] Re: Scriptaculous 1.8.2 not loading library files

2008-12-01 Thread joe.roback
So, why can't your scripts be in the head? Do you know you can add scripts to the head dynamically? Like this: for example, pixelpost photoblog, you want to only load these in the image_template.html, and have a header.html+footer.html defined, the scripts will have to go in the body. I

[Proto-Scripty] Re: I just updated my prototype and scriptaculos

2008-12-01 Thread Alejo
Hello, I have the same problem, but I used scriptaculous 1.8.1 and I didn't have any problem until they released the last version 1.8.2 and Google updated the library. I use Google Ajax API Loader (Prototype+Scriptaculous) and Google Maps API. Thanks. On 28 nov, 16:03, mascix [EMAIL

[Proto-Scripty] new to prototyping

2008-12-01 Thread Sunil
Hi all, Well to tell u the truth i dont know anything about protype but eager to use it. i have written a function function al() { var scrollCovered=document.viewport.getScrollOffsets()['top'] +document.viewport.getHeight();

[Proto-Scripty] Re: Send object in ajax request

2008-12-01 Thread julien Devouassoud
... sleeping on it during the week end helped ... dont even know how i missed that: this works: {action:saveDraft,artId:12,texts['fr']:du textefrancais,texts['en']:some english text}} my answer was in my question [SOLVED] On Mon, Dec 1, 2008 at 10:10 AM, rr404 [EMAIL PROTECTED] wrote:

[Proto-Scripty] Re: new to prototyping

2008-12-01 Thread T.J. Crowder
Hi Sunil, Welcome! There are some recommendations for getting up-to-speed with Prototype quickly and fairly painlessly in the unofficial Prototype scripta.culo.us wiki's FAQ: How Can I Learn About Prototype?[1] [1] http://proto-scripty.wikidot.com/faq#learn HTH, -- T.J. Crowder tj / crowder

[Proto-Scripty] Re: problem with draggable

2008-12-01 Thread ColinFine
On Dec 1, 7:26 am, Harry Porto Schroeter [EMAIL PROTECTED] wrote: hi it's possible to make an element that was inserted on the page by ajax.update draggable ? Yes. Either - pass 'onComplete' the name of (or a call to) a function in your original page which will do this, or - include code in

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

2008-12-01 Thread Stucture_Ulf
the problem here is that if i run a second updater, targeted on the same div as the first one and before the first one is complete...the result of the second gets on top of the first request. i do not want to merge the data, only display the latest updater. so what I'm looking for is a way to

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

2008-12-01 Thread T.J. Crowder
so what I'm looking for is a way to wait or halt the second request until the first one is finished... Lots of ways to do that. You could maintain a queue, etc. Prototype maintains a count of active Ajax requests in Ajax.activeRequestCount [1], you could query that before launching the

[Proto-Scripty] Re: Scriptaculous 1.8.2 not loading library files

2008-12-01 Thread Alejo
I also have the same problem, but I use Google Ajax API Loader, so I don't know if the loader puts the javascript files in the head or somewhere else. How can I solve this problem?? Thank you in advance. On 1 dic, 09:27, joe.roback [EMAIL PROTECTED] wrote: So, why can't your scripts be in

[Proto-Scripty] innerText vs textContent

2008-12-01 Thread K.C.Leung
does the ptototype has the such method ? var setText = function ( element, text ) { try { element.innerText = text ; return this.innerText ; } catch ( e ) { try { element.textContent = text ;

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

2008-12-01 Thread Diodeus
That's very nice. Smoother than the one I've put together. On Dec 1, 9:49 am, julien Devouassoud [EMAIL PROTECTED] wrote: check this out : http://www.ndesign-studio.com/blog/design/css-dock-menu/http://www.javascriptfr.com/telecharger.aspx?ID=26334 On Mon, Dec 1, 2008 at 2:42 PM, Diodeus

[Proto-Scripty] Re: problem with draggable

2008-12-01 Thread Harry Porto Schroeter
Thanks! evalscripts worked! ColinFine escreveu: On Dec 1, 7:26am, Harry Porto Schroeter [EMAIL PROTECTED] wrote: hi it's possible to make an element that was inserted on the page by ajax.update draggable ? Yes. Either - pass 'onComplete' the name of (or a call to) a

[Proto-Scripty] Re: Very performant list filter

2008-12-01 Thread Walter Lee Davis
Wow, thanks! Had no idea. Walter On Dec 1, 2008, at 1:46 PM, Diodeus wrote: Performant isn't a word. http://weblogs.asp.net/jgalloway/archive/2007/05/10/performant-isn-t-a-word.aspx --~--~-~--~~~---~--~~ You received this message because you are subscribed

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

2008-12-01 Thread Diodeus
It was more about solving the problem of how to do it, and getting a little more practice in OO programming, than being the first to do it. Regardless, there isn't a scriptaculous version floating around yet. Based on the links you posted I have discovered room for improvement. It's turning out

[Proto-Scripty] Re: Very performant list filter

2008-12-01 Thread Matt Foster
I'd say your DOM traversals might add quite a bit of weight to your filter. Why select the LI element if you're really looking at its child A element's innerHTML property ? Select those nodes and skip the execution of down, should speed things up quite a bit. Also if you're using a text input

[Proto-Scripty] Re: Help, with iFrame And Parent Window

2008-12-01 Thread Matt Foster
Try Event.observe(tre, click, this.RowClick.bindAsEventListener(this)); On Dec 1, 9:15 am, Mauricio Díaz [EMAIL PROTECTED] wrote: Hi all, I have an iFrame that contains a page with my scripts,  and I want to show a popup dialog in the parent window. I can insert my popup (a div element

[Proto-Scripty] Each Not Working with getElementsByTagName

2008-12-01 Thread laurin1
var $aCSS = document.getElementsByTagName('style'); $aCSS.each(function($sEle){ alert('test'); }); I can make this work with $$, and if I use document.getElementsByTagName('style')[0], I can access each one individually. So why can't I use each()?

[Proto-Scripty] Re: Each Not Working with getElementsByTagName

2008-12-01 Thread Jonathan Rosenberg
Assuming you really want the $ as part of the variable name, this should be: var $aCSS = $A(document.getElementsByTagName('style')); -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of laurin1 Sent: Monday, December 01,

[Proto-Scripty] Re: Each Not Working with getElementsByTagName

2008-12-01 Thread Jarkko Laine
On 1.12.2008, at 23.14, laurin1 wrote: var $aCSS = document.getElementsByTagName('style'); $aCSS.each(function($sEle){ alert('test'); }); I can make this work with $$, and if I use document.getElementsByTagName('style')[0], I can access each one individually. So why can't I use

[Proto-Scripty] Re: Each Not Working with getElementsByTagName

2008-12-01 Thread laurin1
I was under the impression that $$ was not very efficient, or do you mean there is another way that I am overlooking? On Dec 1, 3:25 pm, Jarkko Laine [EMAIL PROTECTED] wrote: On 1.12.2008, at 23.14, laurin1 wrote: var $aCSS = document.getElementsByTagName('style');

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

2008-12-01 Thread yoshi
hi all, the fowllowing js is causing err on IE: $('someThing') instanceof Element error: Function expected it is fine on any other objects such as: $('someThing') instanceof Template -- return false $('someThing') instanceof Hase -- return false any idea y Element is diff or how i can get

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

2008-12-01 Thread kangax
On Dec 1, 7:36 pm, yoshi [EMAIL PROTECTED] wrote: hi all, the fowllowing js is causing err on IE: $('someThing') instanceof Element error: Function expected it is fine on any other objects such as: $('someThing') instanceof Template -- return false $('someThing') instanceof Hase --

[Proto-Scripty] Re: Each Not Working with getElementsByTagName

2008-12-01 Thread kangax
On Dec 1, 7:03 pm, Jerod Venema [EMAIL PROTECTED] wrote: It previously had some performance issues, but now that should not be noticeable. Actually, `getElementsByTagName` is still marginally faster than `$$` in slower engines (e.g. IE). [...] -- Jerod Venema Frozen Mountain

[Proto-Scripty] Ajax.Autocomplete and focus

2008-12-01 Thread beermad
I wonder if anybody has an answer to a slight problem I'm experiencing with Ajax.Autocomplete? It's populating the lists perfectly, but the first item on the list is taking focus. This means that my form which previously got submitted if I hit the return key now doesn't get submitted. Instead,

[Proto-Scripty] Re: Very performant list filter

2008-12-01 Thread kangax
On Dec 1, 1:43 pm, Walter Lee Davis [EMAIL PROTECTED] wrote: I've been working on a problem today and wanted to share the results here. I have a very tall list of authors on a page, and wanted to make a simple filter field where you could type in a few characters of the name and have the list

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

2008-12-01 Thread yoshi
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 prototype define them on global scope? what i m trying to do