There's a general error in your code (found it in Safari). It looks like you're trying to call an effect on an object that doesn't exist, because you're referencing $(element) on a null object from inside effects.js.

Take a look through your code, and make sure that you only call effects on an object that you're sure exists. So for example, instead of

        $('something').appear();

you could do

        var elm;
        if(elm = $('something')) elm.appear();

Another great trick is this (if you're working from an element that can be gotten through css)

$$('#something').invoke('appear');

Since that's like writing a for loop over an array of results, it naturally works fine when there are no results -- it just doesn't fire.

In any case, you really want to test this stuff in Firebug or Safari's Web Inspector. That gives you a real-time look into what your code is doing or not.

Walter

On Dec 18, 2010, at 9:08 AM, livewire9174 wrote:

Hi everybody.
I hope this is the correct place to post.

I have a menu system using the scriptaculous code. However, the menu
disappears when using Internet Explorer. I am not sure what I am doing
wrong, but it must be something simple?

My page is here, http://bit.ly/haBsGY ,  just mouse over the menus and
you will see the issue.

Please help if you can,

Thanks in advance.

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


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