[Proto-Scripty] .morph has stopped working - it now says Object [object Object] has no method 'morph'

2013-03-14 Thread Gretsch
My code used to work, but now the *.morph* no longer works - in the chrome console it says: Uncaught TypeError: Object [object Object] has no method 'morph' The code includes the following: link href= https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js; / script

Re: [Proto-Scripty] AutoComplete

2013-03-14 Thread Miguel Beltran R.
I fixed it :D #Walter The problem were here var pos = Position.cumulativeOffset(this.input); pos.push(pos[0] + this.input.offsetWidth); -- HERE STOP In 1.7, the cumulativeOffset function return a Object {top:x, left:y} when in 1.6 returned an array, howerver the object has the

Re: [Proto-Scripty] AutoComplete

2013-03-14 Thread Walter Lee Davis
Please file an issue on Scriptaculous, then. Scripty 1 should stay in step with Prototype! Walter On Mar 14, 2013, at 11:34 AM, Miguel Beltran R. wrote: I fixed it :D #Walter The problem were here var pos = Position.cumulativeOffset(this.input); pos.push(pos[0] +

Re: [Proto-Scripty] .morph has stopped working - it now says Object [object Object] has no method 'morph'

2013-03-14 Thread Walter Lee Davis
On Mar 14, 2013, at 7:58 AM, Gretsch wrote: My code used to work, but now the .morph no longer works - in the chrome console it says: Uncaught TypeError: Object [object Object] has no method 'morph' The code includes the following: link

Re: [Proto-Scripty] AutoComplete

2013-03-14 Thread Jason Westbrook
Hey Walter - I don't think that Miguel is using Scriptaculous Autocomplete, as I can't find the code snippet in the emails - plus I use Scriptaculous Autocomplete with some of my production sites with latest PrototypeJS Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Thu, Mar 14,

Re: [Proto-Scripty] .morph has stopped working - it now says Object [object Object] has no method 'morph'

2013-03-14 Thread Jason Westbrook
I see 2 includes of Scriptaculous This link href= https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js; / and this script type=text/javascript src=http://script.aculo.us/prototype.js /script script type=text/javascript src=http://script.aculo.us/scriptaculous.js /script

[Proto-Scripty] Re: .morph has stopped working - it now says Object [object Object] has no method 'morph'

2013-03-14 Thread Gretsch
*Thanks Walter* - by going through the issues top-down, as you suggested, I eventually uncovered the problem. It wasn't in the page-code itself, but a result of an update to the site template - and there's a conflict between two types of effects - which I will now have to solve. You also

[Proto-Scripty] How to prevent doubleclicking on links

2013-03-14 Thread Maciej Zaleski
Hi, im rather new to javascript, and thats why i have such issue: I used grow and shrink effects on my website to navigate it. It works easily - when u click menu link u get proper subpage. Problem seems to appear when u doubleclick any link - page breaks and can be retrieve only by

[Proto-Scripty] Добавить метод

2013-03-14 Thread Александр Павленко
Создаю класс var All=Class.create() Наследник var My= Class.create(All,) вопрос как через My добавить метод родителю All (метод определяется в My а исполняется в All ) -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group.