Ссылка в картинки[html, JS]

Discussion in 'PHP' started by marcos, 10 Jan 2010.

  1. marcos

    marcos New Member

    Joined:
    8 Nov 2009
    Messages:
    111
    Likes Received:
    1
    Reputations:
    -5
    Всем привет! Подскажите как сделать, что бы после нажатия на картинку выполнялся скрипт (скрипт не в файле)
     
  2. Neoveneficus

    Neoveneficus Elder - Старейшина

    Joined:
    10 Apr 2008
    Messages:
    235
    Likes Received:
    126
    Reputations:
    23
    Code:
    <img src="http://yoursite.com/img.jpg" onclick="javascript:[COLOR=White][B][YOURSCRIPT_HERE][/B][/COLOR]" />
     
  3. marcos

    marcos New Member

    Joined:
    8 Nov 2009
    Messages:
    111
    Likes Received:
    1
    Reputations:
    -5
    т.е:
    Code:
    <img src="images/alexlink.jpg" onclick="javascript:[<script type="text/javascript" charset="UTF-8" src="http://z470.takru.com/in.php?id=472696"></script>]" />
    ?
     
    #3 marcos, 10 Jan 2010
    Last edited: 10 Jan 2010
  4. Radiator

    Radiator Active Member

    Joined:
    17 Mar 2009
    Messages:
    394
    Likes Received:
    143
    Reputations:
    24
    да,тоже интересно
     
  5. Jecky

    Jecky New Member

    Joined:
    19 Aug 2009
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    Neoveneficus,пробывал простейший скриптег не вышло :(
     
  6. Mr.Replica

    Mr.Replica Member

    Joined:
    18 May 2010
    Messages:
    124
    Likes Received:
    41
    Reputations:
    10
    кто нибудь может объяснить каким образом спамеры отправляют спам картинками???я тему читал но так не допёр
     
  7. wildshaman

    wildshaman Elder - Старейшина

    Joined:
    16 Apr 2008
    Messages:
    477
    Likes Received:
    483
    Reputations:
    99
    Code:
    Вау, клево! <a href="http://verygoodspam"><img src="http://123.ru/link-to-picture-ike-smile.jpg"></a>
    
    
    Надеюсь, понятно