I am developing a around 300 HTML web pages that need a version number displayed in the footer. Problem is some customers are using version A and some people are using version B. So depending on the user, I want to display A or B and only want to change it in one place. I have used document.write and pointed to a .js named ver.js file which contains
and the HTML to display on the page:
My question is, if I have three
different versions I need to display depending on the user, what is the best method to display ('Test: V4.5') or
('Test: V4.6') or
Further, lets say user ONE
should see Version 4.5
on the bottom of their page, and user TWO
should see Version 4.8
at the bottom of the page. And since I have 300 pages, I only want to change the version in one place to be reflected on all 300 pages?
I know I can use Variables, but not sure the correct way to do this. I am not using PHP.
Thank you for not yelling at me.