Figured it out. Was a simple lack of understanding numbers in Javascript. 

Var countdown = 15;

Countdown = countdown - 1;

That converted countdown to NaN, or a string. Using -- worked ... my
javascript error code was crashing effects.js.

Sorry!

-----Original Message-----
From: TopSoft [mailto:[email protected]] 
Sent: Saturday, October 17, 2009 9:30 PM
To: Prototype & script.aculo.us
Subject: [Proto-Scripty] Error: element.getInlineOpacity is not a function


This is a very strange error to me. I've googled this and found some
information about JQuery, but I am not using JQuery.

This is a fresh install of Scriptaculous and Prototype, I'm doing a
single appear affect which works fine, but as soon as I attempt a fade
effect I get this error;

Error: element.getInlineOpacity is not a function

When I search inside effects.js for this function, I do find:

Element.getInlineOpacity = function(element){
  return $(element).style.opacity || '';
};


Anyone have a clue about this? It's stopping me up! I haven't had this
happen to be before and I'm running several pages on same server with
affects that work....

Thanks!


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to