renovations + replaced http://js.cx -> //js.cx

This commit is contained in:
Ilya Kantor 2015-02-13 12:33:34 +03:00
parent 4be7a7f85a
commit a5e8c1219f
117 changed files with 366 additions and 352 deletions

View file

@ -8,11 +8,11 @@
<button onclick="window.location.reload(true)">Перезагрузить ифрейм</button>
<hr>
<div style="width:114px;height:40px;font-size:32px;letter-spacing:3px" data-src="http://js.cx/search/google.png" class="img-replace">
<div style="width:114px;height:40px;font-size:32px;letter-spacing:3px" data-src="//js.cx/search/google.png" class="img-replace">
<span style="color:#1A53F7">G</span><span style="color:#E42131">o</span><span style="color:#FEB819">o</span><span style="color:#164AF2">g</span><span style="color:#00a315">l</span><span style="color:#E42131">e</span>
</div>
<div style="width:101px;height:40px;font-size:32px" data-src="http://js.cx/search/yandex.png" class="img-replace">
<div style="width:101px;height:40px;font-size:32px" data-src="//js.cx/search/yandex.png" class="img-replace">
<span style="color:#F00">Я</span>ндекс
</div>

View file

@ -23,9 +23,9 @@
<hr>
<!-- картинки (для bing картинки специально нет, чтобы протестировать случай "загрузка не удалась") -->
<img src="http://js.cx/search/yandex.png" width="114" height="40" alt="Яндекс">
<img src="http://js.cx/search/google.png" width="101" height="40" alt="Google">
<img src="http://js.cx/search/bing.png" width="101" height="40" alt="Файла нет (bing)">
<img src="//js.cx/search/yandex.png" width="114" height="40" alt="Яндекс">
<img src="//js.cx/search/google.png" width="101" height="40" alt="Google">
<img src="//js.cx/search/bing.png" width="101" height="40" alt="Файла нет (bing)">
</body>

View file

@ -27,9 +27,9 @@
// ---------- Проверка ----------
var sources = [
"http://js.cx/images-load/1.jpg",
"http://js.cx/images-load/2.jpg",
"http://js.cx/images-load/3.jpg"
"//js.cx/images-load/1.jpg",
"//js.cx/images-load/2.jpg",
"//js.cx/images-load/3.jpg"
];
for (var i=0; i<sources.length; i++) {
sources[i] += '?'+Math.random();

View file

@ -15,9 +15,9 @@
/* файлы для загрузки */
var sources = [
"http://js.cx/images-load/1.jpg",
"http://js.cx/images-load/2.jpg",
"http://js.cx/images-load/3.jpg"
"//js.cx/images-load/1.jpg",
"//js.cx/images-load/2.jpg",
"//js.cx/images-load/3.jpg"
];
for (var i=0; i<sources.length; i++) {
sources[i] += '?'+Math.random(); // добавляем параметр, чтобы без кеша (для теста)