Results 1 to 5 of 5

Thread: Onclick event

  1. #1
    Join Date
    May 2010
    Posts
    30
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Onclick event

    Hello great coders,

    Code:
    <script type="text/javascript">function ShowPlayer() {var Player=document.getElementById('flvplayer'); Player.innerHTML='<embed type="application/x-shockwave-flash" src="http://c.longtailvideo.com/player.swf" style="margin-left:0px;" id="flvplayer" name="player" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="transparent" flashvars="&amp;file=http://tube.paperstreetcash.com/ih/<?php echo $_GET['id'];?>.flv&amp;provider=video&amp;frontcolor=2e91ca&amp;lightcolor=2e91ca&amp;skin=http://www.longtailvideo.com/files/skins/slim/5/slim.zip&amp;stretching=exactfit&amp;volume=100&amp;autostart=true">';}</script>
    <div id="flvplayer">
    <script language="javascript">
    document.write("<iframe hspace=0 vspace=0 border=0 frameborder=0 marginheight=35 marginwidth=0 width=530 height=290 scrolling=no allowtransparency=true onload=setTimeout('ShowPlayer()',5000) src=http://adserver.juicyads.com/adshow.php?adzone=13435 ></iframe><br><center>CLICK IMAGE TO LOAD VIDEO</center>");
    </script>
    </div>
    This is my complete code for my player. The video will appear after 5 seconds. How can I use onclick event on iframe instead of onload?

    If I use a regular image with link and use the onclick function, it works fine! But the ads Im using is in an iframe...

    Thank you in advance! Im desperate to make this happen to generate more clicks on my ads
    Last edited by jscheuer1; 01-11-2011 at 12:06 PM. Reason: Format code

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Propose some decent video. Then I might be willing to help you.
    ===
    Arie Molendijk.

  3. #3
    Join Date
    May 2010
    Posts
    30
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by molendijk View Post
    Propose some decent video. Then I might be willing to help you.
    ===
    Arie Molendijk.
    Hi Sir,
    With due respect, that's my nature of work and can't do something about it...
    I can just post a decent video as you requested but at the end of the day, I'm still gonna use it on my "indecent" video

    If you really wanna help, I'll appreciate it very much! If not, then it's OK.
    But I know somebody out there surfing the web trying to search something related like what I am asking and I'm sure not all of them works on adult sites... And it would be very beneficial for them if you share your knowledge.

    Thank you!

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

  5. #5
    Join Date
    Jan 2011
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    hi will.. i read your codes...javascript right?... try this one

    http://www.javascriptkit.com/javatutors/event2.shtml

    maybe it'll help...if not, there are other sites that provide codes or tutorials..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •