On 2/6/07, Dale Newfield <[EMAIL PROTECTED]> wrote:

Matt Raible wrote:
> If you look at the JavaScript for the menu - are there calls to
> $('id') in there?  If so, you might need to re-write those as
> document.getElementById('id').  That might be the prototype call.

That function appears to do more than that (even in the case that there
is only one argument):

function $(element) {
   if (arguments.length > 1) {
     for (var i = 0, elements = [], length = arguments.length; i <
length; i++)
       elements.push($(arguments[i]));
     return elements;
   }
   if (typeof element == 'string')
     element = document.getElementById(element);
   return Element.extend(element);
}


If there's JavaScript code in AppFuse that uses $(), I merely used it as a
shortcut for document.getElementById().

Matt

If indeed this is all you intend, please let us know.  I think the
Element.extend() call may be important...

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

Reply via email to