<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <link rel="stylesheet" href="[URL]https://use.fontawesome.com/releases/v5.2.0/css/all.css[/URL]" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"> <style> p { font-size: 50px; margin:0; letter-spacing:3px; } </style></head> <link href="[URL]https://fonts.googleapis.com/css?family=Kanit[/URL]" rel="stylesheet"> <body oncontextmenu="return false;" unselectable="on" onselectstart="return false;"><canvas width="715" height="974"></canvas> <title>welcome to I N F I Q site </title> <audio id="audio" preload="" autoplay="" loop=""> <source type="audio/mp3" src="music.mp3"> </audio> <style> img[src*="[URL]https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png[/URL]"] { display: none;} </style> <script type="text/javascript"> window.onkeydown = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; window.onkeypress = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; function disableF5(e) { if ((e.which || e.keyCode) == 116) e.preventDefault(); }; $(document).on("keydown", disableF5); $(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); </script> Code <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <link rel="stylesheet" href="[URL]https://use.fontawesome.com/releases/v5.2.0/css/all.css[/URL]" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"> <style> p { font-size: 50px; margin:0; letter-spacing:3px; } </style></head> <link href="[URL]https://fonts.googleapis.com/css?family=Kanit[/URL]" rel="stylesheet"> <body oncontextmenu="return false;" unselectable="on" onselectstart="return false;"><canvas width="715" height="974"></canvas> <title>welcome to I N F I Q site </title> <audio id="audio" preload="" autoplay="" loop=""> <source type="audio/mp3" src="music.mp3"> </audio> <style> img[src*="[URL]https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png[/URL]"] { display: none;} </style> <script type="text/javascript"> window.onkeydown = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; window.onkeypress = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; function disableF5(e) { if ((e.which || e.keyCode) == 116) e.preventDefault(); }; $(document).on("keydown", disableF5); $(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); </script> Вот эти строчки: [B]$(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); })[/B] Code [B]$(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); })[/B] должны делать вот такой эффект в названии вкладки как тут http://marsyline.xyz/ Но на моём сайте этого не происходит. Что делать?
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <link rel="stylesheet" href="[URL]https://use.fontawesome.com/releases/v5.2.0/css/all.css[/URL]" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"> <style> p { font-size: 50px; margin:0; letter-spacing:3px; } </style></head> <link href="[URL]https://fonts.googleapis.com/css?family=Kanit[/URL]" rel="stylesheet"> <body oncontextmenu="return false;" unselectable="on" onselectstart="return false;"><canvas width="715" height="974"></canvas> <title>welcome to I N F I Q site </title> <audio id="audio" preload="" autoplay="" loop=""> <source type="audio/mp3" src="music.mp3"> </audio> <style> img[src*="[URL]https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png[/URL]"] { display: none;} </style> <script type="text/javascript"> window.onkeydown = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; window.onkeypress = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; function disableF5(e) { if ((e.which || e.keyCode) == 116) e.preventDefault(); }; $(document).on("keydown", disableF5); $(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); </script> Вот эти строчки: [B]"$(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); "[/B] Code <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <link rel="stylesheet" href="[URL]https://use.fontawesome.com/releases/v5.2.0/css/all.css[/URL]" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"> <style> p { font-size: 50px; margin:0; letter-spacing:3px; } </style></head> <link href="[URL]https://fonts.googleapis.com/css?family=Kanit[/URL]" rel="stylesheet"> <body oncontextmenu="return false;" unselectable="on" onselectstart="return false;"><canvas width="715" height="974"></canvas> <title>welcome to I N F I Q site </title> <audio id="audio" preload="" autoplay="" loop=""> <source type="audio/mp3" src="music.mp3"> </audio> <style> img[src*="[URL]https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png[/URL]"] { display: none;} </style> <script type="text/javascript"> window.onkeydown = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; window.onkeypress = function(evt) { if(evt.keyCode == 123 || evt.keyCode == 85 || evt.keyCode == 17 || evt.keyCode == 16 || evt.keyCode == 74 || evt.keyCode == 116 || evt.keyCode == 73) return false; }; function disableF5(e) { if ((e.which || e.keyCode) == 116) e.preventDefault(); }; $(document).on("keydown", disableF5); $(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); </script> Вот эти строчки: [B]"$(function() { var title = document.title, animSeq = ["/", "-", "\", "|", "-"], animIndex = 0, titleIndex = 0; function doInverseSpinZeroPitch() { var loadTitle = title.substring(0, titleIndex); if(titleIndex > title.length) { animIndex = 0; titleIndex = 0 } if(animIndex > 3) { titleIndex++; animIndex = 0 } document.title = loadTitle + animSeq[animIndex]; animIndex++ } window.setInterval(doInverseSpinZeroPitch, 150); }); "[/B]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> HTML <html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> windows-1252 кодировка в 2018
так? <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Code <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">