Menu
Bit of a strange request, but hopefully somebody here can help me.
Basically I need a script that will display an image depending on the domain that the page is being viewed from.
For example, if you visit from domain1.com you will see image1.jpg
but if you visit from domain2.net you will see image2.jpg
There are probably easier ways of doing this via php etc. but I need a purely javascript solution, since I’m very limited with what I’m trying to do here.
Thanks an awful lot.