I have a chatroom a billischill.ddns.net and i want the users to be able to click a button and it change the theme so far this is what my code consist of
<script type="text/javascript">
var defaultchatbtn = document.getElementById('pickdarkcyan');
defaultchatbtn.style.cursor = 'pointer';
defaultchatbtn.onclick = function() {
</script>
<html>
<link type="text/css" rel="stylesheet" href="css/style_crimson.css" />
</html>
<script type="text/javascript">
};
</script>
i was using
<?php include('css/style_crimson.css');?>
but that just prints the style to the screen any solutions