Why slideToggle and slideDown fails to work only in chrome?
Hello guys,
I'm making a site where plants grow(expand) when the page is onload. It is working out great and it looks great, but in Chrome I only get to see the end of the "animation". So if you see my code it lasts 6 seconds in chrome and by then the picture pops up. Can anyone explane this, with text instead of pictures it seems to work in chrome.
This is an test html:
Kind regards...
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
- <title>test</title>
- <script type="text/javascript" src="Jquery/jquery-1.7.2.js"></script><script type="text/javascript"></script>
- <script>
- $(document).ready(function(){
- $('#test').slideDown(6000);
- });
- </script>
-
- <style>
- #test{
- position:absolute;
- bottom:0;
- display:none;
- height: auto;}
- </style>
-
- </head>
- <body>
- <img id="test" src="Pictures/rechts.png" alt="" />
- </body>
- </html>