Открыть 2 окна по щелчку JS

Discussion in 'PHP' started by mrBackMoon, 29 Oct 2011.

  1. mrBackMoon

    mrBackMoon New Member

    Joined:
    30 Sep 2010
    Messages:
    0
    Likes Received:
    2
    Reputations:
    0
    Как такое можно реализовать:
    http://www.marketgid.com/pnews/1358742/i/12384/0/r/
    Посмотрел код, но видимо там все обфускацию прошло.
     
  2. Musli

    Musli Banned

    Joined:
    23 Oct 2011
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    Дескриптором попробуй
     
  3. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    Code:
    <script>
    function open_windows()
    {
        window.open('http://google.com');
        window.open ('http://rambler.ru');
    }
    </script>
    <a href="http://yandex.ru" onclick="open_windows();">yandex.ru</a>
    
     
    _________________________
  4. necroleptick

    necroleptick Member

    Joined:
    3 Jan 2011
    Messages:
    105
    Likes Received:
    11
    Reputations:
    0
    return false только забыл
     
  5. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    И зачем это в данном случае нужно?
     
    _________________________
  6. necroleptick

    necroleptick Member

    Joined:
    3 Jan 2011
    Messages:
    105
    Likes Received:
    11
    Reputations:
    0
    не все сообщение целиком прочитал просто