dovrei inserire questo codice:
<script type="text/javascript" src="
http://coreg.1x12.net/?act=getoffers&pubid=2646"></script>
<script type="text/javascript">
// These three functions must be included in your page.
// validatePublisherForm() is called before processing offers form.
// This is where you validate data from your own form, and if necessary, returns error.
// If this function returns false, offers won't be processed.
function validatePublisherForm()
{
if(cbFrmSubmitButton())
return true;
return false;
}
// submitPublisherForm() is called by the LSF scripts after processing the coreg offers sending data to the LSF server.
// This function must be the only way to submit the form.
function submitPublisherForm() { document.adminForm.submit(); }
// This is a security wrapper, used to call the two previous functions.
function LSFaction(action)
{
switch (action) {
case 0: if (window.display_LSF_offers) display_LSF_offers(); break;
case 1: if (window.LSF_submit) LSF_submit(); else if (validatePublisherForm()) submitPublisherForm(); break;
}
}
</script>
tra i tag <head> e </head> della pagina, e poi questo:
...
<form action="
http://www.stylecult.net/registratimenu.html" method="post" id="cbcheckedadminForm" name="adminForm" enctype="multipart/form-data">
<!-- This is where you want to display the coregistration offers -->
<script type="text/javascript">
LSFaction(0);
</script>
</form>
<!-- Your submission button (or link) has to call LSFaction(1) -->
<input type="button" value="Registrati" class="button" name=btnG onclick="LSFaction(1)"/>
...
tra i tag <body> e </body> di quella pagina...
qualche idea su come fare?