Jump to content
php.lv forumi

javascript links ieksa javascript code


millers

Recommended Posts

Var to izdarīt arī šādā veidā.

Tev pat to funkciju vairs nevajadzēs.

 

<script language=JavaScript>
/* 
function noteikumi()
{
window.open('noteikumi.htm','jav','width=300,height=200,resizable=no');
}
*/

function checkCheckBox(f)
{
if (f.agree.checked == false )
{
	var answer = confirm("Lasisiet noteikumus?");
	if (!answer)
	{
		alert('Ludzu Izlasiet Noteikumus Lai Registraciju Pabeigtu. Noteikumus Lasam ');
	}
	return false;
}
else
{
	window.open('noteikumi.htm','jav','width=300,height=200,resizable=no');
	return true;
}

</SCRIPT>

Link to comment
Share on other sites

×
×
  • Create New...