var = ["Home", "Favorites", "Font size", "Search"]
would reside in a js file and would load along with the main page.
I have tried <script src="mypage.js></script> in the header and the body but it doesn't work. Can it be done?
PS. my whole page is defined between <script> and </script>. No html code is used.