Lom 48 Posted May 22, 2018 всем привет. подскажите как вот в этом <a href="https://www.google.ru" onclick="window.open('https://www.yandex.ru' 'https://www.yandex.ru')">Скачать</a> сделать так что бы при нажатии "скачать" одновременно открылся 1 гугл и два яндекса? Quote Share this post Link to post Short link Share on other sites
SkepticalFox 1,445 #431407 Posted May 22, 2018 <a href="https://www.google.ru" onclick="window.open('https://www.yandex.ru');window.open('https://www.yandex.ru');">Скачать</a> 1 Quote Share this post Link to post Short link Share on other sites
Lom 48 #431408 Posted May 22, 2018 4 минуты назад, SkepticalFox сказал: <a href="https://www.google.ru" onclick="window.open('https://www.yandex.ru');window.open('https://www.yandex.ru');">Скачать</a> открывает 1 гугл и 1 яндекс Quote Share this post Link to post Short link Share on other sites
Ekspoint 2,122 #431414 Posted May 22, 2018 1 час назад, ЛОМ сказал: открывает 1 гугл и 1 яндекс <a href="https://www.google.ru" onclick="{window.open('https://www.yandex.ru');window.open('https://www.yandex.ru');}">Скачать</a> 1 Quote Share this post Link to post Short link Share on other sites
Lom 48 #431416 Posted May 22, 2018 (edited) 1 час назад, SkepticalFox сказал: <a href="https://www.google.ru" onclick="window.open('https://www.yandex.ru');window.open('https://www.yandex.ru');">Скачать</a> 21 минуту назад, Ekspoint сказал: <a href="https://www.google.ru" onclick="{window.open('https://www.yandex.ru');window.open('https://www.yandex.ru');}">Скачать</a> оба варианта пашут. оказывается в браузере гугл хром просто не работало а вот в Firefox открывает как и задумано. интересно почему так? СПАСИБО!!! P/S... понял почему в гугл хроме не срабатывало. там ведь по умолчанию выключены в настройках "всплывающие окна" Edited May 22, 2018 by ЛОМ Quote Share this post Link to post Short link Share on other sites