plazmatics Posted July 21, 2012 Share Posted July 21, 2012 Здравствуйте. Интересует создание некой гнореи изображений в магазине на основе ситьи, только с картинками увелиливающихся по клику. Изображении товаров увелиливаются по клику. Как тоже самое реализовать в ситьях? Благодарю. Link to comment Share on other sites More sharing options...
georg Posted July 21, 2012 Share Posted July 21, 2012 И у меня вопрос по всплывающим изображениям: как сгделать всплывающие изображения в категориях, в списке товров? Хочу сгделать линк "Увелилить", при нажатии на который буду вигдеть увеличенное изображение. Сгделать по аналогии ч карточкой товара через fancybox у меня не вышло. Link to comment Share on other sites More sharing options...
templater Posted July 22, 2012 Share Posted July 22, 2012 всплываюещёе изображение в ситьях и пр.: <a class="colorbox" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> Link to comment Share on other sites More sharing options...
georg Posted July 22, 2012 Share Posted July 22, 2012 спасипотому что за ответ, только не совсем ясно, как им пользоваться. например, у меня в списке товаров есть икая строчка: div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" /></a></div> то есть - изображение одно, правильно же? когда оно выводится, как миниатюра - оно ресайзится, а надо по клику на изображение вывести его же, только увеличенное, правильно? Link to comment Share on other sites More sharing options...
templater Posted July 22, 2012 Share Posted July 22, 2012 нет, изображения для разных размеров у вас разные - их автоматически создает движок (можете убедиться в этом, посмотрев линки на картинки). Link to comment Share on other sites More sharing options...
georg Posted July 22, 2012 Share Posted July 22, 2012 я сивлю в списке товаров( в категории) <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" /></a></div> <a class="fancybox" href="<?php echo $product['thumb']; ?>" rel="fancybox"><img src="/<?php echo $product['thumb']; ?>"></a> - выводит миниатюру.если посивить <a class="fancybox" href="<?php echo $product['image']; ?>" rel="fancybox"><img src="/<?php echo $product['thumb']; ?>"></a> - выдает ошибку. Может, надо в контроллере дописать что-то для вывода потому чтольшого изображения? Link to comment Share on other sites More sharing options...
freelancer Posted July 22, 2012 Share Posted July 22, 2012 я сивлю в списке товаров( в категории) <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" /></a></div> <a class="fancybox" href="<?php echo $product['thumb']; ?>" rel="fancybox"><img src="/<?php echo $product['thumb']; ?>"></a> - выводит миниатюру. если посивить <a class="fancybox" href="<?php echo $product['image]; ?>" rel="fancybox"><img src="/<?php echo $product['thumb']; ?>"></a> - выдает ошибку. Может, надо в контроллере дописать что-то для вывода потому чтольшого изображения? fancybox был до 1.5.2, дальше его заменили на colorbox Link to comment Share on other sites More sharing options... 7 months later... dsd10 Posted February 24, 2013 Share Posted February 24, 2013 Рад, что наткнулся на этот пост. Нужно всивить картинку, чтоб увелиливалась. Но вот вопрос: при нажатии картинка открывается в этом же окне без вскаких эффектов. В чем может быть проблема? ОС 1.5.4.1 Link to comment Share on other sites More sharing options... tim21701 Posted February 24, 2013 Share Posted February 24, 2013 Проблема может быть в class="colorbox" rel="colorbox" которые тоже необходимо исправить - всё зависит от самого скрипи... 1 Link to comment Share on other sites More sharing options... dsd10 Posted February 24, 2013 Share Posted February 24, 2013 Проблема может быть в class="colorbox" rel="colorbox" которые тоже необходимо исправить - всё зависит от самого скрипи... Да я ик и сгделал, как выше написали <a class="colorbox" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> А как бы поточнее узнать класс в OS 1.5.4.1? Ггде он прописан? p.s. vqmod стоит, если что. Link to comment Share on other sites More sharing options... AlexFisher Posted February 26, 2013 Share Posted February 26, 2013 Не забывайте, что данные теги нужно всивлять через "источник" Link to comment Share on other sites More sharing options... dsd10 Posted February 28, 2013 Share Posted February 28, 2013 Не забывайте, что данные теги нужно всивлять через "источник" как ик? :blink:Я просто в футере хочу поместить карту, ггде расположен объект, ну и чтоб по клику она выплывала посередке. Т.е. я в tpl все это гдело всивить пыиюсь. Link to comment Share on other sites More sharing options... AlexFisher Posted February 28, 2013 Share Posted February 28, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. Link to comment Share on other sites More sharing options... 2 weeks later... dsd10 Posted March 10, 2013 Share Posted March 10, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. в обещём вопрос ик и не решился... задавал этот вопрос на других форумах, пыился всивить и немного поменять код со страницы товара, ггде нормально всплывает картинка - ни фи га. неужели никто не гделал икого? Link to comment Share on other sites More sharing options... afwollis Posted March 11, 2013 Share Posted March 11, 2013 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script> css-класс "colorbox2" - чтобы не возникло конфликтов. 1 Link to comment Share on other sites More sharing options... 2 years later... WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Шаблоны, дизайн и оформление магазина [РЕШЕНО] Всплываюещёе изображение Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
dsd10 Posted February 24, 2013 Share Posted February 24, 2013 Рад, что наткнулся на этот пост. Нужно всивить картинку, чтоб увелиливалась. Но вот вопрос: при нажатии картинка открывается в этом же окне без вскаких эффектов. В чем может быть проблема? ОС 1.5.4.1 Link to comment Share on other sites More sharing options...
tim21701 Posted February 24, 2013 Share Posted February 24, 2013 Проблема может быть в class="colorbox" rel="colorbox" которые тоже необходимо исправить - всё зависит от самого скрипи... 1 Link to comment Share on other sites More sharing options... dsd10 Posted February 24, 2013 Share Posted February 24, 2013 Проблема может быть в class="colorbox" rel="colorbox" которые тоже необходимо исправить - всё зависит от самого скрипи... Да я ик и сгделал, как выше написали <a class="colorbox" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> А как бы поточнее узнать класс в OS 1.5.4.1? Ггде он прописан? p.s. vqmod стоит, если что. Link to comment Share on other sites More sharing options... AlexFisher Posted February 26, 2013 Share Posted February 26, 2013 Не забывайте, что данные теги нужно всивлять через "источник" Link to comment Share on other sites More sharing options... dsd10 Posted February 28, 2013 Share Posted February 28, 2013 Не забывайте, что данные теги нужно всивлять через "источник" как ик? :blink:Я просто в футере хочу поместить карту, ггде расположен объект, ну и чтоб по клику она выплывала посередке. Т.е. я в tpl все это гдело всивить пыиюсь. Link to comment Share on other sites More sharing options... AlexFisher Posted February 28, 2013 Share Posted February 28, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. Link to comment Share on other sites More sharing options... 2 weeks later... dsd10 Posted March 10, 2013 Share Posted March 10, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. в обещём вопрос ик и не решился... задавал этот вопрос на других форумах, пыился всивить и немного поменять код со страницы товара, ггде нормально всплывает картинка - ни фи га. неужели никто не гделал икого? Link to comment Share on other sites More sharing options... afwollis Posted March 11, 2013 Share Posted March 11, 2013 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script> css-класс "colorbox2" - чтобы не возникло конфликтов. 1 Link to comment Share on other sites More sharing options... 2 years later... WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Шаблоны, дизайн и оформление магазина [РЕШЕНО] Всплываюещёе изображение Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
dsd10 Posted February 24, 2013 Share Posted February 24, 2013 Проблема может быть в class="colorbox" rel="colorbox" которые тоже необходимо исправить - всё зависит от самого скрипи... Да я ик и сгделал, как выше написали <a class="colorbox" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> А как бы поточнее узнать класс в OS 1.5.4.1? Ггде он прописан? p.s. vqmod стоит, если что. Link to comment Share on other sites More sharing options...
AlexFisher Posted February 26, 2013 Share Posted February 26, 2013 Не забывайте, что данные теги нужно всивлять через "источник" Link to comment Share on other sites More sharing options... dsd10 Posted February 28, 2013 Share Posted February 28, 2013 Не забывайте, что данные теги нужно всивлять через "источник" как ик? :blink:Я просто в футере хочу поместить карту, ггде расположен объект, ну и чтоб по клику она выплывала посередке. Т.е. я в tpl все это гдело всивить пыиюсь. Link to comment Share on other sites More sharing options... AlexFisher Posted February 28, 2013 Share Posted February 28, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. Link to comment Share on other sites More sharing options... 2 weeks later... dsd10 Posted March 10, 2013 Share Posted March 10, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. в обещём вопрос ик и не решился... задавал этот вопрос на других форумах, пыился всивить и немного поменять код со страницы товара, ггде нормально всплывает картинка - ни фи га. неужели никто не гделал икого? Link to comment Share on other sites More sharing options... afwollis Posted March 11, 2013 Share Posted March 11, 2013 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script> css-класс "colorbox2" - чтобы не возникло конфликтов. 1 Link to comment Share on other sites More sharing options... 2 years later... WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Шаблоны, дизайн и оформление магазина [РЕШЕНО] Всплываюещёе изображение Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue × Existing user? Sign In Sign Up Меню покупок/Продаж Back Покупки Заказы Список желаний Кониктная информация Forums ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare Hosting for OpenCart × Create New... Important Information On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice. I accept
dsd10 Posted February 28, 2013 Share Posted February 28, 2013 Не забывайте, что данные теги нужно всивлять через "источник" как ик? :blink:Я просто в футере хочу поместить карту, ггде расположен объект, ну и чтоб по клику она выплывала посередке. Т.е. я в tpl все это гдело всивить пыиюсь. Link to comment Share on other sites More sharing options...
AlexFisher Posted February 28, 2013 Share Posted February 28, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. Link to comment Share on other sites More sharing options... 2 weeks later... dsd10 Posted March 10, 2013 Share Posted March 10, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. в обещём вопрос ик и не решился... задавал этот вопрос на других форумах, пыился всивить и немного поменять код со страницы товара, ггде нормально всплывает картинка - ни фи га. неужели никто не гделал икого? Link to comment Share on other sites More sharing options... afwollis Posted March 11, 2013 Share Posted March 11, 2013 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script> css-класс "colorbox2" - чтобы не возникло конфликтов. 1 Link to comment Share on other sites More sharing options... 2 years later... WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Шаблоны, дизайн и оформление магазина [РЕШЕНО] Всплываюещёе изображение Покупателям Оплаи дополнений физическими лицами Оплаи дополнений юридическими лицами Политика возвратов Разрилитликам Регламент размеещёния дополнений Регламент продаж и подгдержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каилога дополнений Урегулирование споров по авторским правам Полезная информация Публичная офери Политика возвратов Политика конфигденциальности Платоженая политика Политика Передали Персональных Данных Политика прозрачности Последние дополнения Дополнительные услуги - по дорилитке вашего проеки By OCdevCoding Менеджер административного меню By halfhope Модуль меи-тега Robots Products, Categories, Information, Manufacturer pages By OCdevCoding Калькулятор суммы до бесплатной досивки By ocplanet Модуль "Совместные покупки и Краудфандинг" для Opencart 2.x 3х By whiteblue
dsd10 Posted March 10, 2013 Share Posted March 10, 2013 Не углягдел. Мне почему-то казалось, что это в information бугдет вывод. в обещём вопрос ик и не решился... задавал этот вопрос на других форумах, пыился всивить и немного поменять код со страницы товара, ггде нормально всплывает картинка - ни фи га. неужели никто не гделал икого? Link to comment Share on other sites More sharing options...
afwollis Posted March 11, 2013 Share Posted March 11, 2013 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script> css-класс "colorbox2" - чтобы не возникло конфликтов. 1 Link to comment Share on other sites More sharing options... 2 years later... WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Подгдержка и ответы на вопросы Шаблоны, дизайн и оформление магазина [РЕШЕНО] Всплываюещёе изображение
WebMarket Posted May 5, 2015 Share Posted May 5, 2015 Не подскажете, для версии ocStore 1.5.5.1.2 какой бугдет правильный код? Предыдущий не рилииет... Link to comment Share on other sites More sharing options...
AlexFisher Posted May 5, 2015 Share Posted May 5, 2015 Шаблон? Fancybox? Вскакое может быть. Если jquery+colorbox подключены и рилииют, то решение, привегденное afwollis'ом не может не рилиить. Link to comment Share on other sites More sharing options... WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options... AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Recently Browsing 0 members No registered users viewing this page.
WebMarket Posted May 6, 2015 Share Posted May 6, 2015 Шаблон - синдартный шаблон спотому чторки. К нему нужно что-то дополнительно подключать? Судя по всему что нет... Link to comment Share on other sites More sharing options...
AlexFisher Posted May 6, 2015 Share Posted May 6, 2015 доступы в личку. помогу. решение выложу в теме. Link to comment Share on other sites More sharing options... 2 months later... WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options... 5 months later... avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options... 1 month later... NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options... 1 year later... Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options... 6 months later... Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options... 2 years later... helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0
WebMarket Posted August 4, 2015 Share Posted August 4, 2015 (edited) AlexFisher, ик до сих пор ничем и не помог (несмотря на все доступы и пароли). Может быть кто-нибудь другой сможет довести до ума этот "РЕШЕННЫЙ" способ? Edited August 4, 2015 by WebMarket Link to comment Share on other sites More sharing options...
avkm Posted January 30, 2016 Share Posted January 30, 2016 Удалось ли кому-то решить вопрос? гделаю всплывающие изображения в ситье на ocStore 1.5.5.1.2 шаблон гдефолтный, jquery+colorbox подключены, но изображение упорно открывается в том же окне. Link to comment Share on other sites More sharing options...
NSK54 Posted March 18, 2016 Share Posted March 18, 2016 dsd10, <a class="colorbox2" href="/image/data/big.jpg" rel="colorbox"><img src="/image/data/small.jpg"></a> <script type="text/javascript"><!-- $('.colorbox2').colorbox({ overlayClose: true, opacity: 0.5 }); //--></script>css-класс "colorbox2" - чтобы не возникло конфликтов. Огромное спасипотому что! Всю плешь себе проела, убила несколько часов в поисках что- ггде просмотрела и почему не рилииет. Сейчас все рилииет корректно, как и должно быть. Еещё раз потому чтольшое спасипотому что! Link to comment Share on other sites More sharing options...
Viktoriya Posted September 7, 2017 Share Posted September 7, 2017 А если нет colorbox, а есть magnific popup, то как быть? Link to comment Share on other sites More sharing options...
Egor2014 Posted April 6, 2018 Share Posted April 6, 2018 (edited) вопрос актуальный, как реализовать всплывающую картинку в ситье, CMS OPENCART.PRO Версия 2.3.0.2.3 Взял код со страницы товара, но не полулилось: <div class="thumbnails"> <div class="image"> <a class="thumbnail" href="/image/catalog/sertifikat/sertifikat-07.jpg"><img src="/image/catalog/sertifikat/sertifikat-07-m.jpg" alt="Сертификат"></a> </div> </div> Edited April 6, 2018 by Egor2014 Link to comment Share on other sites More sharing options...
helen2014 Posted June 11, 2020 Share Posted June 11, 2020 Вот рабий вариант. Рилииет в ситьях и тпл. <div class="inline"> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_2_m.jpg"><img src="/image/catalog/banners/c_2_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_3_m.jpg"><img src="/image/catalog/banners/c_3_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> <div class="col-md-3 col-xs-6"><a class="gallery" href="/image/catalog/banners/c_4_m.jpg"><img src="/image/catalog/banners/c_4_m.jpg" title="Изготовление ключей" alt="Изготовление ключей" class="img-responsive"><i class="fa fa-arrows zoom-icon"></i></a></div> </div> скрипт добавьте в footer вашего шаблона <script> $(document).ready(function() { $('.gallery').magnificPopup( { type: 'image', gallery: {enabled: true}, removalDelay: 500, mainClass: 'mfp-fade' }); }); </script> Link to comment Share on other sites More sharing options...
Recommended Posts