Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready(function(){
- $("button").click(function(){
- $("#div1par").animate({height:"420px"}); //Must be set, auto doesn't cut it.
- $("#div1").fadeToggle();
- $("#butt").fadeToggle();
- $("#buttpar").animate({height:"0px"});
- });
- });
- </script>
- <div id="buttpar" height="20px">
- <div id="butt" style="block">
- <button>fade</button>
- </div>
- </div>
- <div id="div1par" style="height="0">
- <div id="div1" style="display:none;">
- fug ;DD<br><img src="http://kinuch.in/vectors/rotator.php">
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement