help wirting a simple code
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?
Code :
<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>
Re: help wirting a simple code
Java != javascript. I've moved this to the "Other Programming Languages" forum.
Re: help wirting a simple code
please can someone help me i need this badly...
Re: help wirting a simple code
Quote:
Originally Posted by
chibbi
please can someone help me i need this badly...
I would suggest using google, then posting this to an actual javascript forum.
Re: help wirting a simple code
Java boasts all the prime object characteristics like inheritance, encapsulation, abstraction and polymorphism which can be used to implement an extensive range of problems. The memory and time management for each program are also very organized and well-maintained. For the users, the software developers can also include a variety of attractive graphics, which was never possible for C or any other 16 bit computer language.
Thanks.