Link to home
Start Free TrialLog in
Avatar of thenrich
thenrich

asked on

AJAX CollapsiblePanelExtender - smooth transition

I've implemneted the asp.net ajax control for CollapsiblePanelExtender. It works but I'm trying to smooth the transition a bit on expand and collapse. I've searched the Internect and found a bit of java script:

<script type="text/javascript">
 
 
 
        function pageLoad(sender, args) {
 
            smoothAnimation();
 
        }
 
       

       

    function smoothAnimation()
 
    {
 
            var collPanel = $find("CollapsiblePanelExtender1");
 
            collPanel._animation._fps = 45;
 
            collPanel._animation._duration = 0.90;
 
    }
 
 
 
</script>  

I've placed it in the head section but have had no luck. Any input would be great.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thenrich
thenrich

ASKER

Ended up using the jQuery - far more elegant.