XFileSharing Pro - pop up

Message
Author
box_207
Posts: 11
Joined: May 13, 2012 10:19 am

pop up

#1 Postby box_207 » Jun 18, 2012 5:38 pm

Hello I would like to insert this script on my site exactly the first download page that will open a pop-up how I can do that thank you. See picture

Image



Implement the following script (assuming that the form is called Form and submit that the name is formulaire_submit):

function beead_running()
{
var elt=document.getElementById("formulaire_submit");
elt.onclick=function(){beead_
show(); return false;};
}

function sendForm()
{
var elt=document.getElementById("formulaire");
elt.submit();
}


Implement the following script before the closing </ body>:


<script type="text/javascript" src="http://www.exemple.fr/scripts/api/beead ... "></script>
<script>
exempledAds.init({pid: 2465,
jsCallback: "sendForm"}).screenLayerTo();
</script>



hostlife
Posts: 192
Joined: Aug 13, 2011 12:34 pm

#2 Postby hostlife » Jun 21, 2012 9:13 pm

Paste this code in your download0.html or download1.html
<script type="text/javascript" src="http://www.exemple.fr/scripts/api/beead ... "></script>
<script>
exempledAds.init({pid: 2465,
jsCallback: "sendForm"}).screenLayerTo();
</script>
the other code should be in file with name "formulaire_submit.extension" & upload in your favorite folder

box_207
Posts: 11
Joined: May 13, 2012 10:19 am

pop-up

#3 Postby box_207 » Jun 24, 2012 6:30 pm

thank you for your reply but my problem if I do not know what the master instead ("formulaire_submit") and ("Form") for the script running and I insert it and thank you in advance.

Code: Select all

function beead_running()
     {
         var elt=document.getElementById("formulaire_submit");
         elt.onclick=function(){beead_
show(); return false;};
     }

 function sendForm()
 {
         var elt=document.getElementById("formulaire");
         elt.submit();
 }
The 2nd code it must be inserted before the </ body>

Code: Select all

<script type="text/javascript" src="http://www.exemple.fr/scripts/api/beead_apiV3.js"></script> 
<script> 
exempledAds.init({pid: 2465, 
jsCallback: "sendForm"}).screenLayerTo(); 
</script>