Welcome Guest, Not a member yet? Register   Sign In
image files from javascript


I'm continuing some existing projects referencing images via Javascript files e.g.
var images=["<img src='/images/chicken.png'>","<img src='[b]/images/pig.png'>"][/b]
Is it possible to reference these directly from Javascript files located in the assets folder i.e. C:\xampp\htdocs\game\assets\images just for demo purposes, not best practice.

Messages In This Thread
image files from javascript - by cornedbeef1001 - 05-04-2019, 07:58 PM
RE: image files from javascript - by Wouter60 - 05-05-2019, 04:19 AM
RE: image files from javascript - by MARKRONSON - 05-05-2019, 05:05 AM

Theme © iAndrew 2016 - Forum software by © MyBB