Mootools javascript not working in IE7

Hi

The following mootools script is not working in IE7.

Has anyone got any ideas as to why?

Many thanks

-s-
<script type="text/javascript">
        //<![CDATA[
        window.addEvent('domready', function(){
    
            var compSlide = new Fx.Slide('diff', {duration: 500, transition: Fx.Transitions.quadOut, wait: false}).hide();
            
            $('diff-tog').addEvent('click', function(e){
                compSlide.toggle();
                new Event(e).stop();
            });
    
        });
        
        //]]>	
        </script>

Open in new window

LVL 1
socrossAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

devicCommented:
On my IE 7 it works...
do you have an example online?
0
socrossAuthor Commented:
Hi

I have attached a link to the webpage

The slide is triggered by an onclick event on a form component (uses fancy forms). It slides fine on firefox, safari but not on my ie7

Thanks

-s-
link.txt
0
devicCommented:
hi socross,
you have another element with name "diff", just rename it to diff_something
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
socrossAuthor Commented:
oh yeah, its always the simple things  seem to miss

Thanks

-s-
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.