Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<!DOCTYPE html>
<html lang="en">
<head>
<title>untitled</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="default.css" type="text/css" id="chstyle" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
function valuee(){
return $("#style").val();
}
$("#style").change(valuee).change(function(){
document.getElementById('chstyle').href = valuee() + ".css";
});
});
</script>
</head>
<body>
Select CSS style:
<select id="style">
<option value="default">Default</option>
<option value="bluelight">Blue Light</option>
<option value="dark">Dark</option>
</select>
</body>
</html>