make a slideshow in java?

I need a html code to create a slideshow using a function the one i am using is not working.


var timer_on = false;

function change(x){

document.getElementById('me').src = x.src;

document.getElementById('aa').innerHTML = x.alt;


function startSlideShow(count){

if (timer_on == false)


x = document.getElementById("pic" + count);


new_count = count + 1;

if(new_count > 5)

new_count = 1;





<table border='1px'>



<th colspan='5'>Click on an image to enlarge.</th>



<td><img id='pic1' src='bloodhoundt-nail.jpg' alt='My favorite animal, a Bloodhound puppy.' width='100' height='100' onclick="change(this)"></td>

<td><img id='pic2' src='flowert-nail.jpg' alt='My favorite flower, the Sunflower.' width='100' height='100' onclick="change(this)"></td>

<td><img id='pic3' src='gamecockt-nail.jpg' alt='My favorite football team.' width='100' height='100' onclick="change(this)"></td>

<td><img id='pic4' src='sushit-nail.jpg' alt='This is sushi.' width='100' height='100' onclick="change(this)"></td>

<td><img id='pic5' src='pastat-nail.jpg' alt='My favorite food, pasta.' width='100' height='100' onclick="change(this)"></td>



<td colspan='5'><img id='me' src='me.jpg' height='800px' width='800px'></td>



<th id='aa' colspan='5'> lakgfalkjg;lakgj;a</th>


<tr><td colspan='5'><input type="button" value="Start Slideshow" onclick="timer_on = true; startSlideshow(1)"> </td></tr>

<tr><td colspan='5'> <input type="button" value="Stop Slideshow" onclick="timer_on = false;"></td></tr>


2 Answers

  • Anonymous
    7 years ago
    Favorite Answer
    • Login to reply the answers
  • 3 years ago

    Font length is replaced in length like this, we can use the decision Mary Taylor as an party. body <H1 ALIGN=middle>Mary Taylor106530dc42baa21c67f8a3af4d7fd9e1 Being Smaller <H2 ALIGN=middle>Mary Taylorca2bf3f6b7e18a508253e9521510a4b5 Being the better using H by technique of using actuality the determining element on length. Now as for color. there is an total record of colors that are utilized in HTML they have 2 values RGB Triplet and the Hexadecimal Code it fairly is used interior the creation of color determination Blue is 0000FF pink is FF0000 Yellow is FFFF00 there's an exact way and incorrect thanks to position in writing the code in order that it sounds as inspite of the actuality that greatest once you Preview it and or positioned up it. i information you detect a e book such as, starting to be innovations superhighway pages using HTML by Patrick Carey it provide you a step by step of all you would possibly want to understand as a begginer.

    • Login to reply the answers
Still have questions? Get your answers by asking now.