Title: Theme Stylesheet and Java Question
Last modified: August 19, 2016

---

# Theme Stylesheet and Java Question

 *  [monk191](https://wordpress.org/support/users/monk191/)
 * (@monk191)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/theme-stylesheet-and-java-question/)
 * I am working on changing the Choatic Soul theme so that the two graphics on the
   top become javascripts (to show a slideshow of photos). Can anyone help me implement
   this.
 * an example of my work-in-progress site: [http://www.lostsummitfilms.com/main/](http://www.lostsummitfilms.com/main/)
 * Here is the html I found that I think is where I need to make the edit:
 * .image {
    background: #22201d url(‘images/image_left.png’); border: 1px solid#
   363430; height: 149px; width: 372px; }
 *  .bkgleft { background: url(‘images/image_left.jpg’); float: left; }
    .bkgright{
   background: url(‘images/image_right.jpg’); float: right; }
 * and here is the javascript:
 * <script language=”javascript”>
 * /*
    Random image slideshow- By Tyler Clarke (tyler@ihatecoffee.com) For this 
   script and more, visit [http://www.javascriptkit.com](http://www.javascriptkit.com)*/
 * var delay=1000 //set delay in miliseconds
    var curindex=0
 * var randomimages=new Array()
 *  randomimages[0]=”1.jpg”
    randomimages[1]=”5.jpg” randomimages[2]=”2.jpg” randomimages[
   3]=”4.jpg” randomimages[4]=”3.jpg” randomimages[5]=”6.jpg”
 * var preload=new Array()
 * for (n=0;n<randomimages.length;n++)
    { preload[n]=new Image() preload[n].src=
   randomimages[n] }
 * document.write(‘<img name=”defaultimage” src=”‘+randomimages[Math.floor(Math.
   random()*(randomimages.length))]+'”>’)
 * function rotateimage()
    {
 * if (curindex==(tempindex=Math.floor(Math.random()*(randomimages.length)))){
    
   curindex=curindex==0? 1 : curindex-1 } else curindex=tempindex
 *  document.images.defaultimage.src=randomimages[curindex]
    }
 * setInterval(“rotateimage()”,delay)
 * </script>
 * <p align=”center”>This free script provided by
    [JavaScript Kit</p>
 * Any help is much appreciated,
    Thanks, Brandon Katcher

The topic ‘Theme Stylesheet and Java Question’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [monk191](https://wordpress.org/support/users/monk191/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/theme-stylesheet-and-java-question/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
