Squarespace Random Image Script

Apr 29th, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script language="JavaScript">
  3. function random_imglink(){
  4. var myimages=new Array()
  5. //specify random images below. You can have as many as you wish
  6. myimages[1]=""
  7. myimages[2]=""
  8. myimages[3]=""
  9. myimages[4]=""
  10. myimages[5]=""
  11. myimages[6]=""
  12. myimages[7]=""
  13. myimages[8]=""
  14. myimages[9]=""
  16. var ry=Math.floor(Math.random()*myimages.length)
  17. if (ry==0) { ry=1 }
  18. document.write('<img src="'+myimages[ry]+'" border=0>')
  19. }
  20. random_imglink()
  21. </script>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.