Hi,
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>
<script src="../js/prototype/class.prototype-1-7.js" charset="utf-8"
type="text/javascript"></script>
<script src="../js/class.function_1.0.js" charset="utf-8" type="text/
javascript"></script>
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
defined.
I don't understand, I think that I make a mistake with };.
Can you help me ?
Thank.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.