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
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js";
/>

and this

http://script.aculo.us/prototype.js
">
http://script.aculo.us/scriptaculous.js
">

loading it twice will give you problems


Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com


On Thu, Mar 14, 2013 at 9:28 AM, Walter Lee Davis wrote:

>
> 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:
> > https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js";
> />
> > http://script.aculo.us/prototype.js
> ">
> > http://script.aculo.us/scriptaculous.js";>
> > But when I look at the code using Chrome 'Elements' pane it shows:
> > https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js
> ">
> > https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
> async="">
> > https://apis.google.com/js/plusone.js"; gapi_processed="true">
> > 
> > http://script.aculo.us/prototype.js
> ">
> > http://script.aculo.us/scriptaculous.js";>
> > http://script.aculo.us/builder.js
> ">
> > ...
> > http://script.aculo.us/sound.js
> ">
> >
> > Can someone tell me where the extra lines come from  e.g.:
> > "https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
> async="">"
> > and if this/something else is causing the problem.
> >
> > The working code can be seen at:
> > http://www.alanarnoldguitars.co.uk/guitar_woods.htm   (but the code is
> compressed)
> > and the version where the 'minimise' button doesnt work is currently at:
> > http://www.alanarnoldguitars.co.uk/guitar_woods_UNCOMPRESSED.htm
>
> You have a couple of errors right away on page load, before we even get
> into the rest of this:
>
> guitar_woods_UNCOMPRESSED.htm:20
> SyntaxError: Unexpected token '<'
> prototype.js:5733
> TypeError: 'undefined' is not a function (evaluating
> 'element.dispatchEvent(event)')
>
> See if you can get the first one fixed, because the second one is
> Prototype reacting badly to what it is given, and is highly unlikely to be
> an actual error in the Prototype code itself.
>
> JavaScript errors tend to trickle down, and one can hide another. Also try
> multiple debuggers -- this is from Safari Web Inspector, but do try Firebug
> too.
>
> Walter
>
> >
> > Thanks
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Prototype & script.aculo.us" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to prototype-scriptaculous+unsubscr...@googlegroups.com.
> > To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> > Visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prototype-scriptaculous+unsubscr...@googlegroups.com.
> To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




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:
>  href="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js";
>  />
>  src="http://script.aculo.us/prototype.js";>
>  src="http://script.aculo.us/scriptaculous.js";>
> But when I look at the code using Chrome 'Elements' pane it shows:
>  href="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js";>
>  src="https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
>  async="">
>  src="https://apis.google.com/js/plusone.js"; gapi_processed="true">
> 
>  src="http://script.aculo.us/prototype.js";>
>  src="http://script.aculo.us/scriptaculous.js";>
>  src="http://script.aculo.us/builder.js";>
> ...
> http://script.aculo.us/sound.js";>
>  
> Can someone tell me where the extra lines come from  e.g.:
> " src="https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
>  async="">"
> and if this/something else is causing the problem.
>  
> The working code can be seen at:
> http://www.alanarnoldguitars.co.uk/guitar_woods.htm   (but the code is 
> compressed)
> and the version where the 'minimise' button doesnt work is currently at:
> http://www.alanarnoldguitars.co.uk/guitar_woods_UNCOMPRESSED.htm

You have a couple of errors right away on page load, before we even get into 
the rest of this:

guitar_woods_UNCOMPRESSED.htm:20
SyntaxError: Unexpected token '<'
prototype.js:5733
TypeError: 'undefined' is not a function (evaluating 
'element.dispatchEvent(event)')

See if you can get the first one fixed, because the second one is Prototype 
reacting badly to what it is given, and is highly unlikely to be an actual 
error in the Prototype code itself. 

JavaScript errors tend to trickle down, and one can hide another. Also try 
multiple debuggers -- this is from Safari Web Inspector, but do try Firebug too.

Walter

>  
> Thanks
>  
>  
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to prototype-scriptaculous+unsubscr...@googlegroups.com.
> To post to this group, send email to prototype-scriptaculous@googlegroups.com.
> Visit this group at 
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[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:
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js"; 
/>
http://script.aculo.us/prototype.js";>
http://script.aculo.us/scriptaculous.js";>
But when I look at the code using Chrome 'Elements' pane it shows:
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js";>
https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
 
async="">
https://apis.google.com/js/plusone.js"; gapi_processed="true">

http://script.aculo.us/prototype.js";>
http://script.aculo.us/scriptaculous.js";>
http://script.aculo.us/builder.js";>
...
http://script.aculo.us/sound.js";>
 
Can someone tell me where the extra lines come from  e.g.:
 "https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.iRGda-ATQBk.O/m=plusone/am=QQ/rt=j/d=1/rs=AItRSTMWXweuF4qvyKvRjzAhTggmGqAPyA/cb=gapi.loaded_0";
 
async="">"
and if this/something else is causing the problem.
 
The working code can be seen at:
http://www.alanarnoldguitars.co.uk/guitar_woods.htm   (but the code is 
compressed)
and the version where the 'minimise' button doesnt work is currently at:
http://www.alanarnoldguitars.co.uk/guitar_woods_UNCOMPRESSED.htm
 
Thanks
 
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.