[Proto-Scripty] Re: prototype 1.6.1, IE6: Object doesn't support this property or method, typeof Element=unknown

2010-03-12 Thread Matthew
thanks ahead of time. This is causing me much time and stress trying to debug (on IE6 specifically ;) Matthew On Jan 14, 6:59 am, Walter Lee Davis wrote: > Does the element exist in the DOM at the time you are trying to extend   > it? Is your script which is asking for it either: > &g

[Proto-Scripty] A benchmark that Prototype actually wins!?!

2008-12-15 Thread Matthew
With 1.6.0.3 and the addition of W3C Selectors API support via querySelector and querySelectorAll, Prototype is simply fantastic when paired with a WebKit Browser such as Safari or Chrome. In fact, I did some testing with 1.6.0.3 through the Slickspeed test: http://mootools.net/slickspeed/ and fo

[Proto-Scripty] DOM Exception with findElements()

2008-12-15 Thread Matthew
In an application I wrote I have a call to up(), as in: test = elt.up('li'); elt is anything that will be contained within a li element, if this is true, I create a rollover item for that li element. At any rate, accoring to Firebug this call propagates through Prototype via: _methodized() up()

[Proto-Scripty] Re: Fade away problem (Newbie)

2008-12-15 Thread Matthew
I do not mean to sound 'snooty', but why would you want to have all four DIV's showing at once? I would think showing a default DIV and then letting the user choose a different delivery format would be the best practice, both in terms of UI design and server logic. To that end, I have create cod

[Proto-Scripty] Ajax.request and timeouts

2008-12-04 Thread Matthew Reed
Hello everyone. I apologize if this matter has already been dealt with. I need to make ajax calls and manage transmission timeouts, so I cutandpasted codejanitor's code : http://codejanitor.com/wp/2006/03/23/ajax-timeouts-with-prototype/. It works but I noticed that calling request.transport.ab

[Proto-Scripty] Re: When using sortable how do you get the id of the dragged item

2009-02-01 Thread Matthew Tullett
Can this be done with the sortable.create? Or combinded with. Sent from my iPhone On 1 Feb 2009, at 16:35, Walter Lee Davis wrote: > > In your Droppable, you have the onDrop callback function to play with. > > > From that page: > Dropp

[Proto-Scripty] Re: When using sortable how do you get the id of the dragged item

2009-02-01 Thread Matthew Tullett
ever the sort order changes while dragging. According to the docs, > it gets the affected element as its parameter, but I'm not sure if > that's the list or the item you dragged into it. You'll have to test. > > Walter > > On Feb 1, 2009, at 12:12 PM, M

[Proto-Scripty] problem with Ajax.Updater and textareas in IE6

2008-09-30 Thread Matthew G
Problem: When using Ajax.Updater to set the content of a textarea, any newlines in the received content are not shown in IE6, but are shown in Opera, Firefox, Chrome. I think the reason is that Ajax.Updater is setting .innerHTML, not .value on the textarea. One can workaround by using Ajax.Requ

[Proto-Scripty] Re: problem with Ajax.Updater and textareas in IE6

2008-09-30 Thread Matthew G
Thanks for your explanation Walter. My problem was that I had expected the Updater to know whether to use .value or .innerHTML automagically. cheers, Matthew On Sep 30, 8:56 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > No, it's not a bug. A Textarea is a form element

[Proto-Scripty] I've a problem with my code.

2012-01-06 Thread Matthew Goszcz
I'm a newcomer to prototype but every time I try to run the following... document.observe('dom:loaded', function() { $$('.single .addcomment .comment').each(function(element){ element.observe('click', function(event){ $$('.addcomment').each(function(elementz){ elementz.update("

[Proto-Scripty] datascroller pages not working

2015-06-05 Thread Matthew Cserhati
Hello everybody, I am developing a database in java/javascript and xhtml. What the database does it it houses scientific study archives. On the main page (screenshot included) you can see descriptions of some of these studies. There is also a data scroller which organizes the many studies into