Hi Brendan,

You may want to use jquery's built in toggle, show and hide methods:

http://api.jquery.com/toggle-event/
http://api.jquery.com/show/
http://api.jquery.com/hide/

I've had good experience with them (well, with show() and hide() in particular) 
and they seem to provide a smooth slide across different browsers.

Your code (untested) could simply end up like this:

$('#newsexpand').toggle( 
        function() {$(this).show(500);},
        function() {$(this).hide(500);}
); 

HTH,
Paul

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to