slonykk Posted December 13, 2008 Report Share Posted December 13, 2008 Добрый день , подскажите пожалуйста, что необходимо сделать чтоб изображение при клике на него увеливалось мягко без закрытия самой страницы? Пример на товаре этого сайта http://hrustaly.ru/nabory-stolovykh-pribor...ry-24-predmeta/Заранее багодарен! Quote Link to comment Share on other sites More sharing options...
0 Victor Ananiev Posted December 13, 2008 Report Share Posted December 13, 2008 jquery наверно... Quote Link to comment Share on other sites More sharing options...
0 Yulia Posted December 13, 2008 Report Share Posted December 13, 2008 в данном случае наверное jquery, но я вот тут http://autokedy.spb.ru/product.php?product...&category=1 например сделала просто джаваскриптом, при тычке на картинку появляется абсолютно позиционированный див на всю страницу, внутри которого картинка во весь рост. Исчезает див при тычке в любом месте экрана. Quote Link to comment Share on other sites More sharing options...
0 Павел Билькис Posted December 14, 2008 Report Share Posted December 14, 2008 изпользуйте lightbox Quote Link to comment Share on other sites More sharing options...
0 Иван Шумов Posted December 14, 2008 Report Share Posted December 14, 2008 или shadowbox поскольку он быстрее lightbox и легче и поддерживает много чего, не только картинки Quote Link to comment Share on other sites More sharing options...
0 slonykk Posted December 14, 2008 Author Report Share Posted December 14, 2008 (edited) изпользуйте lightboxили shadowbox поскольку он быстрее lightbox и легче и поддерживает много чего, не только картинкиШикарно, большое спасибо!!! Терь буду кумекать как его интегрировать на движок Amiro )))))) Edited December 14, 2008 by slonykk Quote Link to comment Share on other sites More sharing options...
0 Dimitry Wolotko Posted December 14, 2008 Report Share Posted December 14, 2008 Ещё аналоги:http://absolvo.ru/2008-05-29/top-10-ajax-lightboxes/ Quote Link to comment Share on other sites More sharing options...
0 Павел Билькис Posted December 14, 2008 Report Share Posted December 14, 2008 Вот пример плагина для jquery PrettyPhoto Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 подскажите как прописать ?скачал "slimbox" Quote Link to comment Share on other sites More sharing options...
0 s0rr0w Posted October 19, 2009 Report Share Posted October 19, 2009 подскажите как прописать ?скачал "slimbox"Что прописать? Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 (edited) хочу сделать так чтоб нужные картинки при щелчке на них увеличивались.скачал скрипт slimbox тока куда его и как его прописать??? О_Овот скрипт скачанный мной http://www.reichauto.com.ua/slimbox.zip Edited October 19, 2009 by Kos87 Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 слимбокс отпал.думаю над вот этим http://www.huddletogether.com/projects/lightbox2но снова вопрос хав ит ворк? О_о Quote Link to comment Share on other sites More sharing options...
0 s0rr0w Posted October 19, 2009 Report Share Posted October 19, 2009 хочу сделать так чтоб нужные картинки при щелчке на них увеличивались.скачал скрипт slimbox тока куда его и как его прописать??? О_Овот скрипт скачанный мной http://www.reichauto.com.ua/slimbox.zipНа сайте автора этого скрипта есть исчерпывающая информация по данному поводу. Мало того, аналогичное пояснение можно найти в интернете на русском языке. Достаточно воспользоваться поисковой системой. Зачем вы тратите наше время на решение примитивных задач? Quote Link to comment Share on other sites More sharing options...
0 Dimitry Wolotko Posted October 19, 2009 Report Share Posted October 19, 2009 http://www.huddletogether.com/projects/lightbox2/#howРаздел How to use по ссылке выше вам в помощь. Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 та я ж на нем и сидел, просто вопрос такого плана:оно юзает изображение как есть и просто в привьюве оно его не ужимает по размеру а просто вгоняет в рамки??? я искал и сейчас ищу инфо, но буду благодарен если мне помогут, тем более что я в ява скриптах ваще ноль ... сейчас я хтмл и цсс юзаю. Quote Link to comment Share on other sites More sharing options...
0 Dimitry Wolotko Posted October 19, 2009 Report Share Posted October 19, 2009 Прочитайте то, что есть по ссылке. Скопируйте и посмотрите. Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 (edited) ок. сделал.вот что вышло http://www.reichauto.com.ua/uslugi.htmlно у меня картинка при нажатии появляется а потом почему то становится темной уже нашел в чем дело было *{background-color:#000000;} Edited October 19, 2009 by Kos87 Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 19, 2009 Report Share Posted October 19, 2009 (edited) за что отвечает вот эта часть base64,AAAAиз вот этого кода ЦСС #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; } Edited October 19, 2009 by Kos87 Quote Link to comment Share on other sites More sharing options...
0 e1f Posted October 20, 2009 Report Share Posted October 20, 2009 а гугл в помощь позвать?http://ru.wikipedia.org/wiki/Data:_URL Quote Link to comment Share on other sites More sharing options...
0 Kos87 Posted October 20, 2009 Report Share Posted October 20, 2009 дело в том что я этот кусок убрал, бо валидность не проходил мой список стилей ... вроде без этого небольшого кусочка все работает. Quote Link to comment Share on other sites More sharing options...
Question
slonykk
Добрый день , подскажите пожалуйста, что необходимо сделать чтоб изображение при клике на него увеливалось мягко без закрытия самой страницы? Пример на товаре этого сайта http://hrustaly.ru/nabory-stolovykh-pribor...ry-24-predmeta/
Заранее багодарен!
Link to comment
Share on other sites
19 answers to this question
Recommended Posts
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.