Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" charset="utf-8">
- $(document).ready(function(){
- $("#news_archive_nav").css("height","38px");
- $("#more_news a").click(function(){
- if ($(this).text = "More") {
- $("#news_archive_nav").animate({
- height: "100%",
- }, 1500 );
- $(this).text("Less");
- } else {
- $("#news_archive_nav").animate({
- height: "38px",
- }, 1500 );
- $(this).text("More");
- };
- });
- });
- </script>
Add Comment
Please, Sign In to add comment