Hi all.
What I am trying to do, is get the current pages URL, and then using that to determine what content (held in a variable in the external .js) will be displayed.
I have created the following in an external JS file, just to purely see whether the function is working or not:
function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.