First of all I was looking for a code which transit several background images according to the button you pressed. For example when you clicked on button 1 your background will be img1, and you clicked on button 2 on the same page the background image will be img2.
I could not find the exact code, however I found a similar one.
This transit images automatically according to the duration you choose and also has random maths, but I need your help to modify this so that this become onclick button event without random images.
Here's the code I found, and I added some extra <p> lines at bottom.
For example, button1 = 'Rosso Castilla.JPG',
button2 = 'CRW_9620-R.jpg',
button3 = 'CRW_9609 R.JPG'.
thank you so much for your time and help!