I have a problem.
I have a google add plugin.and I have a JS file written by me.

<script type="text/javascript">
  window.___gcfg = {lang: 'fr'};
  (function() {
    var po = document.createElement('script'); po.type = 'text/
javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
<script src="../js/prototype/class.prototype-1-7.js" charset="utf-8"
<script src="../js/class.function_1.0.js" charset="utf-8" type="text/

In class.function_1.0.js , I have this code :

var User;
User = Class.create({

var Errror;
Error = {

If I don't write the google add plugin, this code is good.
If I write the google add plugin, the google button doesn't work, it
is hidden.

If I modify my code

var User;
User = Class.create({
}; -> add this element

var Errror;
Error = {

The google button is visible and works but the class "user" is not

I don't understand, I think that I make a mistake with };.

Can you help me ?


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-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to