views:

59

answers:

0

I have this code and i want the mouseover to change the variable auto from true to false.

if ($featuredArea.length) {
    $featuredArea.et_switcher({
    useArrows: true <?php if (get_option($shortname.'_slider_auto') == 'on') { ?>,
            auto: true,
            autoSpeed: <?php echo(get_option($shortname.'_slider_autospeed')); ?>
            <?php }; ?> 

            });
        };

        $("div.slide").mouseover(function(){
            $featuredArea.et_switcher({
            auto: false
            });
         });

The last part is where I am trying to do that where it stars with div.slide. However it is not working.