0

I need some help, I have a launcher that I made in HTA (Hyper Text Aplication).I have a logo that says Launcher in red, but I also have another Logo that says Launcher in Blue, is it possible to use JavaScript or some programming language to make the pictures swap each time you open the program?

Regards

Petzl11

Elliott Frisch
  • 198,278
  • 20
  • 158
  • 249
Petzl11
  • 161
  • 1
  • 3
  • 18

1 Answers1

1

Yes. Have an array of Logo images, and pick a random one to display from that array on every startup.

Elliott Frisch
  • 198,278
  • 20
  • 158
  • 249
  • Do you have any idea of how I could make one? – Petzl11 Dec 12 '13 at 07:25
  • But this displayes 3 images, i need it to display one at a time :/ But thanks for your help :D – Petzl11 Dec 12 '13 at 07:31
  • 1
    Look at any of the related questions to the right, but that should get you started with loading some random images. :) – Elliott Frisch Dec 12 '13 at 07:34
  • I used this one http://stackoverflow.com/questions/16428154/javascript-random-image-selected-on-refresh?rq=1 , but I get this error: Error: Unable to set property 'src' of undefined or null reference, can you help me? – Petzl11 Dec 12 '13 at 07:44
  • Post another question; I assume you mean [here](http://stackoverflow.com/a/16428237/2970947). – Elliott Frisch Dec 12 '13 at 07:46