adding "onclick" javascript function in iframe help

Discussion in 'Programming' started by PPCJohn, May 18, 2009.

  1. #1
    I am trying to add an "onclick" function inside of an iframe. I have this easily done within a normal link, but trying to figure out how to set it up within an iframe.


    Currently using something like this:
    <a onclick="javascript:something();" href="http://www.somewebsite.com">Some Web Site</a>
    Code (markup):
    The iframes are setup like this:
    <iframe src=http://www.someiframe.com...></iframe>
    Code (markup):
    Any suggestions? I am trying to count clicks on outbound links on the site and have an iframe that im trying to count too
     
    PPCJohn, May 18, 2009 IP
  2. holdmoon

    holdmoon Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    something()

    this function is ????
     
    holdmoon, May 19, 2009 IP
  3. PPCJohn

    PPCJohn Peon

    Messages:
    140
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    its

    onclick="javascript:trackConv();"
     
    PPCJohn, May 20, 2009 IP