grazie mille.... usando il tuo consiglio ho risolto.
Ho cambiato un po' in corso d'opera... praticamente le paginette che volevo aprire le ho messe in due iframe nel div che ho fatto aprire al centro del monitor.
metto qui il codice se può servire a qualcuno:
queste le function:
codice:
<script language="JavaScript" type="text/javascript">
function auth_privacy(ifOk) {
var xMax = screen.width, yMax = screen.height;
var xOffset = (xMax - 400)/2, yOffset = (yMax - 340)/2;
document.getElementById('confirmOk').href = ifOk;
document.getElementById('confirmSimulata').style.top = yOffset + document.body.scrollTop;
document.getElementById('confirmSimulata').style.left = xOffset;
document.getElementById('confirmSimulata').style.display = "block";
}
function hide_confirm() {
document.getElementById('confirmSimulata').style.display = "none";
}
</script>
questo il div:
codice:
<div id="confirmSimulata" style="display: none; position: absolute; width: 400px; height: 340px; background: #CED8E6;">
<table border="0" width="100%" id="table8" cellpadding="0" height="100%" style="border: 1px solid #000000; ; border-collapse:collapse">
<tr>
<td class="Arial">
[img]images/finta.gif[/img]</td>
<td class="Arial"></td>
<td class="Arial"></td>
</tr>
<tr>
<td class="Arial"></td>
<td class="Arial" width="100%" height="100%" valign="top">
ATTENZIONE:
Presa visione dell'Informativa
(sul codice della privacy)
<iframe src="informativa.htm" width="370" height="80"></iframe>
e del decreto legislativo 30.06.2003 N°196
<iframe src="legge.htm" width="370" height="80"></iframe>
Autorizzo il trattamento dei dati_personali:
<a id="confirmOk" onclick="hide_confirm();" style="cursor:pointer">[img]images/bott-autorizzo.gif[/img]</a> <a onclick="hide_confirm();" style="cursor:pointer">[img]images/bott-nonautorizzo.gif[/img]</a>
</td>
<td class="Arial"></td>
</tr>
<tr>
<td class="Arial"></td>
<td class="Arial">
</td>
<td class="Arial">
[img]images/finta.gif[/img]</td>
</tr>
</table>
</div>
e questo è da dove richiamo le function:
codice:
<a onclick="auth_privacy('mailto:abc@abc.it')" class="Arial" style="cursor:pointer">abc@abc.it</a>
grazie mille per il prezioso aiuto.