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.

Нужен человек знающий JavaScript

Featured Replies

Posted

Нужен человек со знаниями JavaScript. Для адаптации скрипта по моим требованиям.

Обращаться в личку или в вк vk.com/incarnia

  • Author

Если бы я знал как их подключить я бы не написал. Я только с html и css норм знаком. Если бы кто нибудь сделал и объяснил как и что.

Готово заплатить тому кто сделает.


И еще есть одна проблема.

У меня в настройках стоит отображения в двух колонках. Хотелось бы сделать чтоб при изменении ширины отображалось по центру в одну колонку. Код видел а куда его вставить не знаю. 

  • Author

Recouse, такая реализация мне не подходит.

{
type: 'blog_post',
date: 'хххх-хх-хх',
dateFormat: 'DD MMMM YYYY',
title: 'title',
width: '60%',
content: 'content',
image: '',
},

Надо сюда пристроить модальное окно чтоб открывался весь контент. Желательно с картинкой.


Вот вся станица

<div id="timeline"></div>

<script type="text/javascript">
$(document).ready(function() {
var timeline_data = [
{
type: 'blog_post',
date: '2011-08-03',
dateFormat: 'DD MMMM YYYY',
title: 'Blog Post',
width: 400,
content: '',
image: 'xxxx.jpg',
readmore: '__www.example.com'
},
{
type: 'slider',
date: '2010-12-16',
dateFormat: 'DD MMMM YYYY',
width: 400,
height: 200,
images: ['xxx.jpg', 'xxx.jpg'],
speed: 5000
}
];

var timeline = new Timeline($('#timeline'), timeline_data);
timeline.display();
});
</script>

А вот настройки

<script type="text/javascript">
var timeline = new Timeline($('#timeline'), timeline_data);
timeline.setOptions({
animation: true,
lightbox: true,
showYear: true,
allowDelete: false,
columnMode: 'dual',
order: 'desc',
max: null
});
timeline.display();
</script>

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
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

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.