Selzier

Squarespace Random Image Script

Apr 29th, 2021
826
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script language="JavaScript">
  2.  
  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]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619740338089-7U5GETMP7LOVPX3IRVX2/ValleyFiltration_Logo_Tagline_01.png"
  7. myimages[2]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741196188-YUR06V8TOC4N0UGP77KF/ValleyFiltration_Logo_Tagline_02.png"
  8. myimages[3]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741204230-T18CSNHNUMGB7L25TNZF/ValleyFiltration_Logo_Tagline_03.png"
  9. myimages[4]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741640478-6P9ZS2F1E6XXSQ0CTA98/ValleyFiltration_Logo_Tagline_04.png"
  10. myimages[5]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741651908-QENJVBJK5PUA9OH7FECH/ValleyFiltration_Logo_Tagline_05.png"
  11. myimages[6]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741658383-CLASSFQKCKK9UNCMQFQN/ValleyFiltration_Logo_Tagline_06.png"
  12. myimages[7]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741665223-QD7RAW8LOHCR7GH9SFNL/ValleyFiltration_Logo_Tagline_07.png"
  13. myimages[8]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741672202-TBDJN6DZLNYKDTTWJXP9/ValleyFiltration_Logo_Tagline_08.png"
  14. myimages[9]="https://images.squarespace-cdn.com/content/600784653d27c928fce6aeb3/1619741678989-HHTM4PWK1EGI5G97YOFB/ValleyFiltration_Logo_Tagline_09.png"
  15.  
  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 Pastebin.com from fully loading.

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

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

×