Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Бегущая строка Вам на сайт. Взял с DLE, и не много исправил под IPS 4.

Полезная вещь для сайта, текстовой рекламы, можно с текстом вставлять и изображения.

Фон и цвет регулируется. Вставлять код можете куда хотите.

На примере я прописал его так:

Спойлер

34.thumb.png.f18e349a5fd9d9f173595da43a04d72c.png

 

Сам код:

<!-- Начало "бегущей строки" -->
<div style="background: #37547600 none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" width="100%" border="1" cellpadding="0" cellspacing="0" height="11">
<div style="background: rgba(176, 34, 34, 0) none no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<marquee style="color: rgba(0, 0, 0, 0);" width="100%">
<font color="#fff">Тест бегущей строки</font></marquee></div></div>
<!-- Конец "бегущей строки" -->

anigif.gif.35b7cfeb0133ec1cf61d679df3ae4037.gif

User Feedback

Recommended Comments

War75

Пользователи

Много лишнего кода, почему бы просто не использовать:

<!-- Начало "бегущей строки" -->
<div style="background: #000 none repeat scroll 0% 50%; " width="100%" border="1" cellpadding="0" cellspacing="0" height="11">
<marquee style="color: red;" width="100%">
<font color="red">Тест бегущей строки</font></marquee></div>
<!-- Конец "бегущей строки" -->

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Добавить комментарий...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.