hey guys
im a beginner in java just staarted couple days ago
but i have to wirte some code to my boss that do a simple image slider
i managed to make the slider itself but then he asked me to do it in spcific size
that i didnt succside
here the code i wrote
can you plz help me make the modification so i can set hight and width?
<script type='text/javascript' src='http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js'> </script> <script type="text/javascript"> var imgs = [ 'http://www.h-woods.co.il/admin/wp-content/uploads/2012/10/vsop-03.jpg', 'http://www.h-woods.co.il/admin/wp-content/uploads/2012/10/vsop-02.jpg', 'http://www.h-woods.co.il/admin/wp-content/uploads/2012/10/vsop-01.jpg']; var cnt = imgs.length; $(function() { setInterval(Slider, 2500); }); function Slider() { $('#imageSlide').fadeOut("slow", function() { $(this).attr('src', imgs[(imgs.length++) % cnt]).fadeIn("slow"); }); } </script>