Re: [Proto-Scripty] Download

2011-12-30 Thread David Behler
Copy the code to a new text file and save it as prototype.js Or instead of left-clicking the link, just right-click and select Save target (or whatever it is called in your browser/language). David Am 28.12.2011 00:46, schrieb Joey: When i go to download the latest version of Prototypejs

Re: [Proto-Scripty] Textarea as a container

2011-11-22 Thread David Behler
From the top of my head and totally untested: new Ajax.Request('http://url-you-want-to-request', { onSuccess: function(transport) { $('id-of-your-textarea').setValue(transport.responseText); } }); David Am 22.11.2011 14:19, schrieb bill: I tried using a textarea

Re: [Proto-Scripty] Re: News Items List

2011-03-15 Thread David Behler
You might wanna try document.observe(); instead of document.observer(); David Am 15.03.2011 10:34, schrieb PartisanEntity: Sorry just to clarify: Line 3 Char3 is the first line of your function. So it's the line starting with: document.observer(. On Mar 15, 10:04 am

Re: [Proto-Scripty] Selector onchange

2010-12-20 Thread David Behler
Try this instead: $('pagePageSelector').observe('change', function(event) { alert('ding'); }); Am 20.12.2010 21:25, schrieb kstubs: $('pagePageSelector').observe('onchange', function(event) { alert('ding'); }); -- You received this message because you are subscribed to the Google Groups

Re: [Proto-Scripty] Should be simple - using up() with css class

2010-08-18 Thread David J. Hamilton
to do what I would like? Yes. You want +previous+[2] which lets you find the first (previous) sibling that matches a given selector. [1] http://api.prototypejs.org/dom/element/up/ [2] http://api.prototypejs.org/dom/element/previous/ -- med vänlig hälsning David JH -- You received this message

Re: [Proto-Scripty] Re: Preventing Autocompleter

2010-07-05 Thread David Behler
I don't think there is a built-in functionaltity for that. But you could edit the autocompleter class and add the check yourself right before the request is done. David Am 05.07.2010 18:54, schrieb infringer: No takers? I guess there is no way to do this? On Jul 1, 6:51 pm

Re: [Proto-Scripty] Ajax JSON Request with Flickr URL response don't work in Firefox

2010-06-24 Thread David Behler
Hi Nahum, as far as I know Firefox does not allow for cross-domain AJAX requests. What you could to is to request a php file on your server and that php file does the call to the Flickr API. David Am 24.06.2010 19:47, schrieb ncubica: Hi every body I have a weird issue I been working

Re: [Proto-Scripty] Re: Cloning/moving an element!?

2010-06-21 Thread David Behler
Hi, thansk for the explantation. Makes sense now. I totally forgot about the new API docs and only looked at the old docs (http://www.prototypejs.org/api/element) where the method wasn't around yet. David Am 21.06.2010 08:37, schrieb T.J. Crowder: Hi, For cloning, there's always Element

[Proto-Scripty] Cloning/moving an element!?

2010-06-20 Thread David Behler
: insert is not a function. Anyway, maybe someone else finds this useful aswell :) David -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from

[Proto-Scripty] Keep the state of the effect after refresh or reload.

2010-04-21 Thread david c
I have a scriptaculous fold effect above the header that enables me to hide the flash movie once it has played. The problem is that once you navigate to a different part of the site (klick on an About link for example) the page reloads and the script resets so the movie is no longer hidden. What I

[Proto-Scripty] Ajax.Updater not working in IE, works fine in FF Chrome and Safari

2010-03-16 Thread David Behler
really hope you can help me with this! Thanks in advance, David -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email

Re: [Proto-Scripty] Re: Ajax.Updater not working in IE, works fine in FF Chrome and Safari

2010-03-16 Thread David Behler
'cat_1' and there is no other element with that id or name. The strange thing is, that the update works the first time when the loading image is displayed: catObj.update(img src=' + base_images + loading_small.gif' /); Any other ideas? David Am 16.03.2010 12:37, schrieb T.J. Crowder: Hi

Re: [Proto-Scripty] Re: Ajax.Updater not working in IE, works fine in FF Chrome and Safari

2010-03-16 Thread David Behler
it looks fine to me. David Am 16.03.2010 15:25, schrieb T.J. Crowder: Hi, Any other ideas? From what you're saying, you've already verified (in your version using Ajax.Request) that: 1. `onSuccess` is getting triggered 2. The `response.responseText` has the correct markup 3

[Proto-Scripty] Ajax.Updater not working in IE, works fine in FF Chrome and Safari

2010-03-15 Thread David Behler
really hope you can help me with this! Thanks in advance, David -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email

[Proto-Scripty] prototype and Konqueror

2010-02-21 Thread David Goodenough
It would appear that my local doctors surgery has decided to use a system for repeat prescriptions and appointment booking which does a test to make sure that Javascript is enabled on my browser, and it does this by sending a message to the server using Ajax.request. I am a KDE user, and my

Re: [Proto-Scripty] Only fire event once on mouseover

2010-02-17 Thread David Behler
Try onmouseenter instead. It should only fire when the mouse enters the element. David Am 17.02.2010 22:40, schrieb louis w: Refer to the link below. I have a dropdown html element which has an event observer looking for mouseover. It's working, but it continuously fires mouseover events

[Proto-Scripty] Re: ASP, MySQL, and Sortables

2010-01-13 Thread david
trying to do, just post code and someone will hapilly help you :)) -- david On 13 jan, 16:23, vElentari jackien1...@gmail.com wrote: I'm learning ASP, MySQL, and javascript all crash-course style right now, so please forgive me ahead of time for my ignorance!  :) I'd like to use the Sortable

[Proto-Scripty] Re: Help with blindup/blinddown effect using mouseover/mouseout events

2010-01-13 Thread david
the Morph Effect and animate the Height property of the peekaboo to 50px and set it back to 0px for the blindDown. -- david On 12 jan, 20:31, Paul Kim kimba...@gmail.com wrote: Hi David, thank you for your response and what you explained is exactly what I'm trying to do. I have tried your code

[Proto-Scripty] Re: Ajax Issue

2010-01-12 Thread david
-read TJ response, he gives you the answer. -- david On 12 jan, 15:34, Sanil Music music.sa...@gmail.com wrote: I use instead of amp;, but I don't know why you can't see it here. For you Cowder, that I wanted a Ajax Request like that, I would use it. I want something else. As in my code, I

[Proto-Scripty] Re: Can not display flash when use Ajax.Updater

2010-01-12 Thread david
); myChart1.setDataURL(intdatalive_db.xml); myChart1.render(chartDivTopSigInt_Live); /script /body /html and it should work like that. -- david On 8 jan, 09:16, Song chen.so...@gmail.com wrote: Hi,   I use below code to display a page which including flash in a table

[Proto-Scripty] Re: Element feature Requests

2010-01-12 Thread david
Hi shellster, I think what you do is good. If you think it could be usefull for others, create a prototype plug- in that will does that and send it to everybody with scripteka. -- david On 6 jan, 19:02, shellster shellsterd...@gmail.com wrote: Hello, First let me say that prototype js

[Proto-Scripty] Re: Help with blindup/blinddown effect using mouseover/mouseout events

2010-01-12 Thread david
({ duration: 0.3 }); } }); /script In fact, you just save the scriptaculous object and cancel it if another animation should execute. Is that what your trying to do ?? -- david On 9 jan, 23:05, kimbaudi kimba...@gmail.com wrote: Hi, I have a hidden block element absolutely positioned

[Proto-Scripty] Re: instantiate class problem on IE

2010-01-12 Thread david
Hi RobG, Thanks to point it out, all should read HOST OBJECT :)) Can you imagine the ramifications of IE not allowing native objects to have methods? :-) No, I prefer not thinking to that. IE have so much pain for developper that it didn't need this one. -- david On 23 déc 2009, 03:31, RobG

[Proto-Scripty] Re: instantiate class problem on IE

2009-12-22 Thread david
Hi Loris, I think that your trouble is normal, because IE don't allow to instantiate method on native object. Generally it's not a good idea to extend native objects because your not sure that another JS will not use the same method name !! -- david On 19 déc, 00:36, Loris loris.men

[Proto-Scripty] Re: BlindDown/Up rendering wrong

2009-12-22 Thread david
Hi Lenni, Do you have any code whe can play with ?? the HTML used and CSS applyied on HTML element :)) -- david On 21 déc, 15:01, Lenni leonard.ehrenfr...@web.de wrote: Hi, I'm trying to use the BlindDown/Up effect but it it renders stuttery and weird on all the major (FF 3.5, IE 8, Chrome

[Proto-Scripty] Re: Extending a class

2009-12-17 Thread david
but not a string it does not work, or you could extend Array.prototype also. So now, call it with: $F('formElementId').toString().unserialize() or if your sure that it's string, $F('formElementId').unserialize() -- david On 17 nov, 16:47, david david.brill...@gmail.com wrote: Hi greg, try

[Proto-Scripty] Re: Issues with drag and drop using Sortable on IE

2009-12-17 Thread david
Hi Abhi, If you'll have code, it could be great. so we can catch the error :)) -- david On 17 déc, 01:15, abhi abhi...@gmail.com wrote: Hi, I am using the Sortable for drag and drop for the first time and the drag and drop works great on Firefox, Safari and Chrome but i am having

[Proto-Scripty] Re: An invalid or illegal string was specified code: 12 with protoaculous1.8.3

2009-12-17 Thread david
Hi Wen, Are you sure about the charset value on the script tag ?? couldn't you delete it ? I'm not sure it will resolve your trouble, but it can. Next, do you have a live exemple or the link to protoculous 1.8.3. -- david. On 16 déc, 22:39, Wen wenchen@gmail.com wrote:  Hi I was trying

[Proto-Scripty] Re: Multiple prototype calls

2009-12-17 Thread david
Hi cannonballer , First why do you need two prototype on the same page, if you need to modify a behaviour of a particular method, just use the magic wrap() function's method. To answer to your question, I'm not sure it's so easy to put prototype two times in your pages. -- david On 15 déc, 11

[Proto-Scripty] Re: Using cropping on images and affects

2009-12-17 Thread david
directly. -- david On 15 déc, 20:58, Topsoft Design Studio i...@topsoftweb.com wrote: On example I can give of what I mean is found here on the home page of this site: http://www.carlsonveit.com/ Ralph Brickley Owner logo-small 435 NE Evans St Ste 115 P.O. Box 510  McMinnville, OR 97128

[Proto-Scripty] Re: Observer problem

2009-12-15 Thread david
. In that case, element could be removed (no more event could be fired) and can be re-inserted. In that last case, the element have changed, but for the event delegation, the only important thing is that the element.id exist, and the event is well fired without anything to do. -- david On 14 déc, 01

[Proto-Scripty] Re: A class called Queue()

2009-12-11 Thread david
usefull, it could extend prototype. But the original idea is to keep prototype smaller as possible. -- david On 10 déc, 12:27, Hugeen norus.i...@gmail.com wrote: Hi guys,  Firstly I said that I am French. I'll try to speak best in English, be indulgent.  I recently developed a class based

[Proto-Scripty] Re: Event ordering for cross domain frames

2009-12-10 Thread david
Hi sumit, as explain in the previous post, I have not tested any code, and could not do any test actually. Do you have any live page we can test? It could be easier this way :)) -- david On 9 déc, 13:36, Sumit skbrnwl-...@yahoo.com wrote: Hi, So i finally came up with protoype based

[Proto-Scripty] Re: Event ordering for cross domain frames

2009-12-10 Thread david
Hi sumit, !! repost, it seems that an error delete my previous response !! As I said, I did not have possibility to test what you're trying to do, Could we have a live page so that it will be easier to point the trouble ?? -- david On 9 déc, 19:36, Sumit skbrnwl-...@yahoo.com wrote: Hi, So

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread david
Hi joe, I think that what you try to do could not be handle with AJAX.request (). In fact you'll receive control on a callback in the AJAX.request() when the response is complete in the browser. What you could do is a pure HTML solution: create an iFrame inside your page, and set its location to

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread david
. This could be Looking up your data and at each server styep, just flush() a dot to indicate progression. Then continue like this to indicate the progression inside the iFrame. When finish, just remove the iFrame to indicate it's finished to the user. -- david On 10 déc, 09:13, david david.brill

[Proto-Scripty] Re: Check a mouse button

2009-12-09 Thread david
to know at the moment the event is fired if a button is clicked. And the same existe in case of a key pressed. -- david On 8 déc, 15:07, Frédéric f...@gbiloba.org wrote: Le mardi 8 décembre 2009 13:54, Alex McAuley a écrit : ...observe('mousemove',function(e) { $('SomeElement').observe

[Proto-Scripty] Re: Check a mouse button

2009-12-09 Thread david
Hi Samuel, Thanks to point my mistake. It's effectivelly a method and not a property. Sorry frédéric. -- david On 9 déc, 18:35, Frédéric f...@gbiloba.org wrote: On mercredi 09 décembre 2009, david wrote: When observing an event with: Event.observe('mousemove',function(evt

[Proto-Scripty] Re: Element initialisation

2009-12-08 Thread david
the initialiseElement() function with a newly created object only containing element that were created inside each AJAX request. this could be a way to do what you'll need. What do you think ? -- david On Dec 7, 1:06 pm, david david.brill...@gmail.com wrote: Hi speedpacket, Is there a way

[Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-08 Thread david
! And of course it could be manipulate as a DOM element, but you'll have first to retrieve it from DOM using $() or $$(). -- david -- 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 prototype

[Proto-Scripty] Re: Custom events with iframes

2009-12-08 Thread david
','message to send',true); It could work, but my question is about frame and crossdomain ?? -- david On 8 déc, 20:31, Sumit skbrnwl-...@yahoo.com wrote: Hi, I've certain iframes loaded on my page (same domain) and i want to fire custom events from one of them to the other for which those iframes

[Proto-Scripty] Re: Solving IE and onResize

2009-12-08 Thread david
button) BUT in IE, the onresize event is submit every time the mouse is mouving, like the mousemove event :(( So use event delegation and in IE set a sorte of timeout to wait a certain time before recalculate this event ! -- david On 8 déc, 19:03, Rob Cluett rob.clu...@gmail.com wrote: I'm posting

[Proto-Scripty] Delay or defer ajax requests

2009-12-07 Thread David S.
Hello. I'm using animations on my website, and i want to start an Ajax request after a animation has finished. So i want to use Function.defer (...) on the Ajax.Updater function. The problem is that the Ajax.Updater must be initiated using the new keyword, but then Ajax.Updater isn't working. I

[Proto-Scripty] Re: Sliders freeze when the window is resized

2009-12-07 Thread david
Hi wonderingwout, It seems not to be a known problem (as there is no reply). Is it possible to have a test page, or a code we can test at pastie.org ?? -- david On 4 déc, 12:31, wonderingwout wonderingw...@gmail.com wrote: Hi, I've got an odd problem which I'm not able to fix. All my

[Proto-Scripty] Re: Element initialisation

2009-12-07 Thread david
Hi speedpacket, Is there a way to observe the dom and automatically run newly created elements through the initialise function? could you please explain a little more what is expected ! Or perhaps if you have some available code ? -- david On 4 déc, 13:19, speedpac...@gmail.com speedpac

[Proto-Scripty] Re: Custom signal

2009-12-07 Thread david
method, and prototype method. An now it's a pleasure playing with arguments :)) -- david On 7 déc, 12:53, fma f...@gbiloba.org wrote: Good! Is it possible to pass again this var to another function? What if I do: function func2(arguments) { ... } function func1() {     func2(arguments

[Proto-Scripty] Re: Delay or defer ajax requests

2009-12-07 Thread david
Hi David, You could also modify the AJAX Base class to accept a delay parameter, but it's more complex comparing to create an anonymous (or not) function ! I did not see any other choice. But I think that you should refine your question, because if your using scriptaculous, TJ response

[Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-07 Thread david
Hi All, This is not the original question, but to insert elements in the DOM, you should do: $('myContent').innerHTML='div .. /div' It's faster in execution than creating an element with a new.Element a set each needed property. -- david On 7 déc, 12:00, Alex McAuley webmas

[Proto-Scripty] Re: storing a closure as the value in a Hash (and then calling it later)

2009-12-04 Thread david
prototypish way: var myFunction=(function(info) { info.key.info.value(this)); }).bind(this); observerInfo.each(myFunction); -- david On 3 déc, 22:00, Wil wil.tur...@gmail.com wrote: Hi all, I'm trying to implement a somewhat generic way for my controller objects to listen

[Proto-Scripty] Re: element.insert not working in safari 4.0.3 (OS X)

2009-12-04 Thread david
to have a live view of the problem ?? -- david On 3 déc, 16:26, jjaayy jan.gloeck...@gmail.com wrote: hi everybody, I'm not sure I my code is wrong or if this is a problem with safari (it's working in FF): In a Ajax.Request statement I have onComplete: function(transport

[Proto-Scripty] Re: storing a closure as the value in a Hash (and then calling it later)

2009-12-04 Thread david
Hi, Thanks to TJ answer, I forgot THE each second argument to automatically bind the called function to a context. -- david. On 4 déc, 12:22, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Tracing through the code, everything appears fine up to the point where I try to call the stored

[Proto-Scripty] Re: Trouble removing a select

2009-12-04 Thread david
Hi srufle, it works for me in FF3.5. Don't you have modified the remove() merthod in the specified object. Because myElement.remove() ans Element.remove('myElementId') are the same function. -- david On 1 déc, 15:54, srufle sru...@gmail.com wrote: I am not sure I may have found an issue

[Proto-Scripty] Re: background-color stucked after an highlight effect

2009-12-04 Thread david
Hi Eric, do you try to reset the element style property for background-color ?? try this new Effect.Highlight('b',{queue: 'end', afterFinish: function() { $('b').setStyle({backgroundColor:''});}}); -- david On 4 déc, 12:55, Eric lefauv...@gmail.com wrote: Hi, I have a table with even rows

[Proto-Scripty] Re: Prototype conflict solution

2009-12-02 Thread david
Sorry, Should read ... GenevaJS, a port of jquery syntax using prototype at http://genevajs.com/ -- david On 2 déc, 13:42, david david.brill...@gmail.com wrote: Hi both, What is funny with the JQuery compatibility mode is that it breaks plugin, and standard JQuery code. What I propose

[Proto-Scripty] Re: Getting the coordinates of a draggable in the droppable

2009-11-30 Thread david
the Element.cumulativeScrollOfset at http://api.prototypejs.org/dom/element.html#cumulativescrolloffset-class_method of course both method could be call with element#cumulative... -- david On 25 nov, 01:43, sethammons seth.amm...@gmail.com wrote: Hi all! I'm a php person, and relatively new

[Proto-Scripty] Re: Attempting to extend a prototype method

2009-11-26 Thread david
to a Form.Element.Methods object. ... //call original method and return it's value if needed. return OriginalCall(this); } ); The OriginalCall is the original prototype function you overide. You can (or of course not) call it. hope that help. -- david On 25 nov, 22:30, Hippyjim

[Proto-Scripty] Re: element.attachEvent is not a function error in Prototype with Low Pro

2009-11-24 Thread david
Hi darth, an idea is to get the latest version from the github website. The DanWeb site have a link to the low pro version in GitHub (it seems that the version have some trouble with FF 3.5). -- david On 24 nov, 09:38, Alex McAuley webmas...@thecarmarketplace.com wrote: Evidently not  else

[Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-24 Thread david
, that is logical, but is it normal ?? -- david On 24 nov, 09:37, Alex McAuley webmas...@thecarmarketplace.com wrote: Arrays are stored in memory, they are not a cookie so they do not get stored on the client machine .. (and  you yourself say that even if it was its not cross browser) To test .. Do 100

[Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-23 Thread david
Hi Kenny, I tested the link with FF3.5 and it works :)) Which version has this problem ?? btw, one suggestion is to be sure that the starting color is defined in the CSS before the effects start. But default color in scriptaculous is white so -- david On 23 nov, 01:48, Kenny kennypres

[Proto-Scripty] Re: element.attachEvent is not a function error in Prototype with Low Pro

2009-11-23 Thread david
Hi darth, could we have an live exemple page ?? To see if we can do something. I see that you've try to send a message to the low pro Google Groups, but seems to have been spammed :(( Did you try to send a message directly to the webmaster of danweb site ?? -- david On 21 nov, 09:03, darth

[Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-23 Thread david
to 1. For other effects, no problem as the value is set at the element's level. -- david On 23 nov, 18:36, david david.brill...@gmail.com wrote: Hi Kenny, I tested the link with FF3.5 and it works :)) Which version has this problem ?? btw, one suggestion is to be sure that the starting color

[Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-23 Thread david
Hi all, if you need to save all returned value, just save each request result in an array. Check the length of the result list to know when all request are finished. But we still turn around the same idea. -- david On 23 nov, 15:59, Alex McAuley webmas...@thecarmarketplace.com wrote: The main

[Proto-Scripty] Re: Local autocomplete issue when searching for 'IN' string

2009-11-23 Thread david
no effects. Or invert the initial of the state with it's name, and style by defaul the name and add some HTML code to style the initial (the partialSearch parameter is still set to false). hope that help. -- david On 18 nov, 15:44, Manuel Corrales manuelcorra...@gmail.com wrote: Hello, I am using

[Proto-Scripty] Re: Documentation 1.6. 1CHM version

2009-11-23 Thread david
. -- david On 16 nov, 04:23, foolged fool...@gmail.com wrote: When be exist Documentation in CHM version for Prototype  1.6.1 likehttp://show.samesystem.dk/public/Prototype-v1.6.0.chm -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

[Proto-Scripty] Re: element.attachEvent is not a function error in Prototype with Low Pro

2009-11-23 Thread david
Hi Alex, Low Pro 0.5 supports Prototype 1.6. so should have no conflict with both inclusion. -- david On 24 nov, 00:15, Alex McAuley webmas...@thecarmarketplace.com wrote: Its probably conflicting with each other ... I use Jquery and Prototype together in alot of apps and i get the same

[Proto-Scripty] Re: Sychronize many asynchronous Ajax.Request

2009-11-23 Thread david
with Array the way you need. But there is I think plenty way to do this. -- david On 23 nov, 23:44, Alex McAuley webmas...@thecarmarketplace.com wrote: It would polute the variable and seriously eat RAM to save every result response in an array, i would highly recommend staying away from

[Proto-Scripty] Re: Ajax.Updater Issue in IE - cache issue - Symfony + Prototype

2009-11-23 Thread david
Hi Avichal, do you have a live exemple? because it's hard to find the problem with just explanation. -- david On 24 nov, 02:00, Avichal Garg avic...@gmail.com wrote: Hi David, It's a Get request. Appending the timestamp at the end of the URL was supposed to fix that but it didn't seem to do

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-17 Thread david
Bill, just a precision (in Fact I did not understand that you still need to get every minutes the result): the stop() method is at http://api.prototypejs.org/ajax/ajax/periodicalupdater.html#stop-instance_method normally, you could stop start the peridical updater at will. -- david On 16

[Proto-Scripty] Re: onClick vs Element.observe

2009-11-17 Thread david
element, it will always handle event for all elements. -- david On 17 nov, 00:27, phegaro pheg...@gmail.com wrote: Hi all,   I have an app that is going to put out a list of items onto a page and each one has a number of click targets. Now i could setup the event handler in one of two ways. 1

[Proto-Scripty] Re: IE8 Invalid argument @ setStyle function

2009-11-17 Thread david
Hi Mostafa, What line have an invalid argument ? And what is the function trying to do? means which style is trying to be modified ? -- david On 10 nov, 15:46, Mostafa ms.a...@gmail.com wrote: Hi, i have a problem when working with iGoogle style drag and drop portlets on ie8 my code runs

[Proto-Scripty] Re: Ajax.Updater + Sortable.Create = nothing?

2009-11-17 Thread david
('issue_order1', '/inc/modules/ issue_order.php? col=issue_order1', { parameters: { onComplete: function(){Sortable.create ('issue_order1') }} }); }); and that should work. I think, but I did not test it -- david On 13 nov, 20:29, Ian R i...@fairmountfair.com wrote: Hey all!  I have 4

[Proto-Scripty] Re: Extending a class

2009-11-17 Thread david
) verify the syntax, this is not tested. If trouble, repost, I could do some test to set the correct syntax :)) - david On 13 nov, 00:31, greg g...@reservation-net.com wrote: Some kind soul out there has created a form unserialize method (below) that I would like to use.  Being a newbie I can't

[Proto-Scripty] Re: Draggable failing after first drag in Firefox?

2009-11-16 Thread david
Hi WoolyG, I'm sure that this code will work on FF 3.0.15. Do you have any error in firebug? You could try tpo dowload prototype 1.6.1 and scriptaculous 1.8.3 to test if it's work ? -- david On 16 nov, 10:22, woolyg woo...@gmail.com wrote: Hi all, I'm using: Scriptaculous 1.8.2

[Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-16 Thread david
. But in your case, it seems that the call is done only once on a uxer click. So just use AJAX.Request, and on click launch it. The only think you will do is to manually update the div with the result of the AJAX call. -- david On 15 nov, 15:36, bill will...@techservsys.com wrote: When the user

[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8

2009-10-30 Thread david
not test in IE7/8. You should try to do set this line inside the load DOM event. -- david On 23 oct, 13:11, Alex McAuley webmas...@thecarmarketplace.com wrote: Its not prototype else it would happen to everyone. I asked for a pastebin of your page so we could see what else was being loaded

[Proto-Scripty] Re: Is there a way to write this differently?

2009-10-30 Thread david
a specific notation. Explain a little bit more why you want another notation? -- david On 28 oct, 03:00, patrick patrick99...@gmail.com wrote:   BuilderBox.buttons = {     add_behavior: {       '.some_class:click': function() {         BuilderBox.buttons.containerMorph

[Proto-Scripty] Re: $$ is a violation of Model-View-Controller

2009-10-30 Thread david
to the new one, and that' all. -- david On 29 oct, 23:03, Rick.Wellman rick.well...@kiewit.com wrote: Though I consider javascript/prototype to be one of my weaker web app skills (which is why I like Prototype in the first place), I feel compelled to add to this discussion in that: While I

[Proto-Scripty] Re: Finding the Absolute Position of an Element

2009-10-30 Thread david
is scrolled, just use: http://api.prototypejs.org/dom/element.html#cumulativescrolloffset-class_method -- david On 30 oct, 08:17, Alex McAuley webmas...@thecarmarketplace.com wrote: http://www.prototypejs.org/api/element/cumulativeoffset Alex Mcauleyhttp://www.thevacancymarket.com - Original

[Proto-Scripty] Re: Ajax.Updater Issue in IE - cache issue - Symfony + Prototype

2009-10-30 Thread david
Hi Avichal Garg, Is it a GET or a POST request, because IE (and OPERA) cache GET request. In Firebug, do you see the header you set when request is lauch from FF ? -- david On 28 oct, 08:54, Avichal Garg avic...@gmail.com wrote: Hi, I'm using Prototype 1.6.0.3. I spent a lot of time

[Proto-Scripty] Re: Works in FF3 not IE8

2009-10-30 Thread david
Hi mjhaston, What works and what doesn't ?? Where do you have any trouble ?? What is the question ?? -- david On 28 oct, 20:59, mjhaston mich...@haston.name wrote:             function ajaxRequest2(){                                 var url = /cgidev2p/r_chgpwd.pgm

[Proto-Scripty] Re: DragDrop performances

2009-10-30 Thread david
Hi Mattia, it seems that you can't do what you're actually doing, prototype could not be able to correct IE lack of speed. But what do you want to do exactly ? So that we could (if we find something of course) give you some other idea ;)) -- david On 29 oct, 10:29, Mattia Locatelli

[Proto-Scripty] Re: Toggle_Blind quesiton

2009-10-30 Thread david
Hi Joseph, Normally, just set the display:none to the element to toggle. But IN the style property of the element ! -- david On 26 oct, 23:48, Joseph DelCioppio jdelciop...@gmail.com wrote: Just a quick question about using toggle_blind, since it would be much easier then writing my own js

[Proto-Scripty] Re: Is stopObserving necessary?

2009-10-30 Thread david
Hi Simon, you should use event delmeguation so that, you first only set one observer, and then you can freely modify the DOM and still access to your event. -- david On 27 oct, 09:55, T.J. Crowder t...@crowdersoftware.com wrote: Hi Simon, ...do I need to stopObserving those events before

[Proto-Scripty] Re: mouseenter mouseleave: tooltip not hiding

2009-10-30 Thread david
) { this.setStyle('color:blue'); //just an exemple of a call to an element method. } In your writting, there is an element argument. If you use it, I'm not sure it works. Btw, if you can post your whole code, it could help us. -- david On 30 oct, 10:51, Kupido kup...@hotmail.com wrote: Hi all, I have

[Proto-Scripty] Re: Is stopObserving necessary?

2009-10-30 Thread david
Good catch Peter, my explanation was lacking ... explanation :)) btw, NWEvent is impressive, like NWMatcher: http://javascript.nwbox.com/NWMatcher/ I recommand using both ! -- david On 30 oct, 11:11, Peter De Berdt peter.de.be...@pandora.be wrote: Event delegation is indeed a wonderful thing

[Proto-Scripty] Re: mouseenter mouseleave: tooltip not hiding

2009-10-30 Thread david
the opposite (new) effect. Otherwise it will flicker ! -- david On 30 oct, 12:18, Kupido kup...@hotmail.com wrote: After some testing I noticed the problem only occurs when I use: tooltip.appear(); // scriptaculous effect instead of: tooltip.show(); Any suggestions? On Oct 30, 11:37 am

[Proto-Scripty] Re: mouseenter mouseleave: tooltip not hiding

2009-10-30 Thread david
Hi Kupido, This is a good way to do this. Just a suggestion, if the tooltip appear, let it des-appear sloowly too. so don't just hide() it, but do an effect to do this :)) -- david On 30 oct, 12:58, Kupido kup...@hotmail.com wrote: I think I solved the problem using effect queues

[Proto-Scripty] Re: onComplete functions firing after HTTP/1.1 connection closed

2009-10-30 Thread david
Hi Matthew, I think it is a bug, so open a ticket at lighthouse: http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/new -- david On 25 oct, 19:45, matt...@bytemark.co.uk matt...@bytemark.co.uk wrote: I'm trying to use Prototype to do some basic Ajaxy things for the first

[Proto-Scripty] Re: replace_html with javascript or rjs after ajax call

2009-10-23 Thread david
, use Ajax.Request onComplete callback to modify HTML. Use others callbacks in case of error. So that, the HTML is set only when the database is modified! -- david. On 13 oct, 23:17, Dave L dly...@gmail.com wrote: I'm not sure what is best practice in this situation.  I have a quiz add icon

[Proto-Scripty] Re: Moving Draggable object outside div with overflow hidden

2009-10-23 Thread david
, but be transparent. The dragging element could be inside this new element. Juste make sure to clonePosition to have exactly the same positionning (but your HTML code should accept that). -- david On 14 oct, 13:20, shyam khadka shyamkkha...@gmail.com wrote: I want to move scriptaculous draggable

[Proto-Scripty] Re: unable to drag elements from a scrolling div into another div

2009-10-23 Thread david
Hi converging rails, You should set the Position.includeScrollOffsets to true so when calculating the position of the element it take care of the scroll ofset. -- david On 17 oct, 14:15, converging rails bagam.ven...@gmail.com wrote: Hi all,           I have 2 divs photos and albums

[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8

2009-10-23 Thread david
Hi Etha, please send you HTML code to load prototype. There is no reason that it does such a thing. -- david On 23 oct, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From

[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8

2009-10-23 Thread david
other guy have does some test with IE (I'm one of them !) But of course we could also be wrong ;)) -- david On 23 oct, 13:43, Etha ev.distef...@gmail.com wrote: The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions

[Proto-Scripty] Re: Depreciation of Array#reduce

2009-10-23 Thread david
not work. -- david On 15 oct, 20:37, Christophe cdebuss...@gmail.com wrote: Hi, I have seen that in the new version of prototype, the Array#reduce was removed. Is there another way to do the same ? Thx for your help ! Christophe --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: nested json posting using Ajax.updater

2009-10-23 Thread david
Hi Kashyap, I think that {} could not be serialized in URL. You have to do it yourself. Try to serialize details sepratly. I know it's not simple sometime, but I did not see other way to do it. Peehaps someone will have a good idea? -- david On 15 oct, 17:16, kashyap ckkash...@gmail.com

[Proto-Scripty] Re: select elements

2009-10-12 Thread david
').select('[for!=options_10_2]').each(function(e) { console.log(e); e.addClassName('highlight2'); }); /script /body /html hope that help... -- david On 9 oct, 13:51, clicforw...@googlemail.com clicforw...@googlemail.com wrote: Hi David, this is the code. I think the DOM is generated by Ajax. Maybe

[Proto-Scripty] Re: Major frustrations with Effect.Morph

2009-10-12 Thread david
Hi Alex, I'm sorry, I did not understand your problem. I use it with margin and it seems to work and define all margin with the specified length. -- david On 11 oct, 09:41, Alex McAuley webmas...@thecarmarketplace.com wrote: from reading the docs Effect.morph excpects a style string using

[Proto-Scripty] Re: Focus and Blur in IE / Webkit

2009-10-12 Thread david
Hi Alex, I perhaps did not understand what is your trouble, but interrest in the solution you achieve, and perhaps some idea could come ... -- david On 9 oct, 13:46, Alex McAuley webmas...@thecarmarketplace.com wrote: I suppose what i am asking for is a prototype cross browser way of detecting

[Proto-Scripty] Re: Major frustrations with Effect.Morph

2009-10-12 Thread david
Sorry Alex, did not see next thread with the same name, it seems to be the following of it. -- david On 12 oct, 11:25, david david.brill...@gmail.com wrote: Hi Alex, I'm sorry, I did not understand your problem. I use it with margin and it seems to work and define all margin

[Proto-Scripty] Re: Limit in parameter lenght at Ajax.Request?

2009-10-09 Thread david
the code, an exemple of data that don't work, and if possible, a live example. -- david On 8 oct, 13:51, OscarWilde mert...@netzklusiv.de wrote: Hi all, I'm trying to send the text from a textarea via the Ajax.Request Method to my PHP-Script. If the lenght of the text in the textarea exceeds 6000

  1   2   3   4   >