PHP Programming HELP
2013-12-28, 09:53 PM,
#1
Sup fellows,
A user of this community posted this thread [SCRIPT] Complete offer to watch video. I download it putted my own content locker link but it shows up before clicking on play button. I contacted with xakaa (the person who posted this script) but I didn't got any response. Could someone help me, I'm using CPAGrip.
Reply
2013-12-28, 10:00 PM,
#2
(2013-12-28, 09:57 PM)Zack Wrote: Because your running the javascript without linking a function to the onClick event for the button.

Please help me to fix that cause I'm a noob on PHP
Reply
2013-12-28, 10:05 PM,
#3
(2013-12-28, 10:03 PM)Zack Wrote:
(2013-12-28, 10:00 PM)Wakanda Wrote:
(2013-12-28, 09:57 PM)Zack Wrote: Because your running the javascript without linking a function to the onClick event for the button.

Please help me to fix that cause I'm a noob on PHP
HTML/Javascript*, can't help directly without any code example.

Here is the code :
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <title>Title</title>

    <script src="http://code.jquery.com/jquery.js"></script>

    <script type="text/javascript" src="http://www.cpalead.com/overlay_gateway.php?pub=174012"></script>

    <meta property="og:title" content="">
    <meta property="og:description" content="">
    <meta property="og:image" content="">
    <meta property="og:url" content="">
</head>
<body>

<section id="wrapper">
    <section id="contenaire">
        <h1>Video title</h1>

        <div class="video_player">


            <div class="player">
                <h2>Video Title</h2>

                <a href="#" onclick="startGateway('NTE5NTEx');" id="btn" class="zoombox"></a>
                <a href="#" class="loading"><img src="img/loading.gif"></a>

            </div>
        </div>

        <div class="bottom">
            Vous devez remplir le formulaire qui s'affichera pour avoir access à la vidéo
        </div>
    </section>
</section>



<script type="text/javascript">
    $("#btn").click(function(){
        $("#btn").hide();
        $(".loading").show();
    });
</script>


<style type="text/css">
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;} body { line-height: 1;} ol, ul { list-style: none;} blockquote, q {    quotes: none;} blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none;} table {border-collapse: collapse; border-spacing: 0;}

    #wrapper{ margin:0 auto; width:600px; }

    #contenaire{ float:left; width:100%; margin-top:20px; background: #fff; box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1); }
    #contenaire h1{    background: none repeat scroll 0 0 #6D84B4; color: #FFFFFF; font-size: 14px; font-weight: bold; margin: 0; padding: 8px 30px 8px 10px; font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; }
    #contenaire .bottom{ background:#f2f2f2; border-top:1px solid #ccc; width:580px; text-align:center;padding:10px; float:left; }

    .video_player{ padding:10px; }

    .player{ position: relative; background: url("img/play_bg.png") no-repeat; float:left; width:580px; height:317px; margin-bottom:20px; }
    .player h2{ background:#0d0706; color:#9e9e9e; padding:5px; font-size:14px; font-weight: bold; }
    .player a#btn{ position: absolute; background: url("img/play_btn_black.png") no-repeat; float:left; top:118px; left:247px; width:86px; height:61px; }
    .player a.loading{ position: absolute; float:left; top:134px; left:274px; width:86px; height:61px; display:none; }
</style>


</body>
</html>
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  The requested URL /index.php was not found on this server. Qoins 2 238 2017-05-15, 12:02 AM
Last Post: Qoins
  How to make html (php) file loads random js files every time reloading the page? immart247 8 420 2017-02-01, 01:47 AM
Last Post: CharlieHarper
  Programming business, what's the best place? SmoothDollars 6 647 2016-05-18, 04:09 PM
Last Post: SmoothDollars
  Auto update php scripts QwertySon 0 301 2016-01-22, 03:06 PM
Last Post: QwertySon
  need help about php redirect script Doge_ 2 422 2016-01-20, 05:41 PM
Last Post: skekeu





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top