Страницы

среда, 15 июля 2020 г.

моя строка


................................ ............................... бегущая вверх строка проба во всех параметрах ............................... 1.Гулиев Музаффар Гамбар оглы 1935

Погиб 10.02.89 Геранбой

2.Гейдаров Илхам Хансувар оглы 1968

Погиб 10.09.89 Кубатлы

3.Наджафов Физули Джалил оглы 1948

Погиб 20.11.90 Лачин

4.Пириев Фахраддин Эюб оглы 1951

Погиб 27.10.91 Геранбой

5.Расулов Рагим Алияр оглы 1967

Погиб 28.12.91 Кяркиджахан

6.Ахмедов Вагиф Сурхай оглы 1965

Погиб 18.01.92 Ситалчай

7.Асадов Эльдар Исбандияр оглы 1959

Погиб 24.01.92 Яшма

8.Агаев Рафиг Газанфар оглы 1966

Погиб 26.01.92 Дашалты

9.Аббасов Адиль Хасай оглы 1963

Погиб 18.02.92 Дашалты

10.Гахраманов Рахман Садыг оглы 1966

Погиб 18.02.92 Шуша







Allah sizə rəhmət eləsin !

четверг, 6 февраля 2020 г.

Свой голос в Блог !


let audio = new Audio('path/to/your/file.pm3');
audio.play();
.....................

<audio id="music" src="music.mp3" loop="loop"></audio>
.............................

window.onload = function() {
    document.getElementById("music").play();

воскресенье, 17 августа 2014 г.

Проба, движение фото сверху в низ и обатно

<iframe width="560" height="315" src="https://www.youtube.com/embed/Jegj2D60zH8?si=Nn-cpNeZDfK8ePOF&amp;clip=UgkxEPWw9zLdbha2dD_7MdsxsEoaTVpcU4f3&amp;clipt=EKCzIxiAiCc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
..........................
https://youtube.com/clip/UgkxEPWw9zLdbha2dD_7MdsxsEoaTVpcU4f3?si=Nn-cpNeZDfK8ePOF
.................

<iframe width="560" height="315" src="https://www.youtube.com/embed/Jegj2D60zH8?si=Nn-cpNeZDfK8ePOF&amp;clip=UgkxEPWw9zLdbha2dD_7MdsxsEoaTVpcU4f3&amp;clipt=EKCzIxiAiCc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


.............................................

import pygame
from pygame.locals import *

RED = (255, 0, 0)
GRAY = (150, 150, 150)

pygame.init()
w, h = 640, 440
screen = pygame.display.set_mode((w, h))
running = True

img = pygame.image.load('bird.png')
img.convert()
rect = img.get_rect()
rect.center = w // 2, h
moving = True

while running:
    for event in pygame.event.get():
        if event.type == QUIT:
            running = False

        elif event.type == MOUSEMOTION and rect.collidepoint(event.pos) and moving:
            rect.move_ip(0, -5)
            moving = False

        elif event.type == MOUSEMOTION and not rect.collidepoint(event.pos) and not moving:
            rect.move_ip(0, +5)
            moving = True

    screen.fill(GRAY)
    screen.blit(img, rect)
    pygame.draw.rect(screen, RED, rect, 1)
    pygame.display.update()

pygame.quit()
...................................