Скрипт поможет подобрать Вам свободный домен для uCoz
Код
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>???????? ??????? ?? uCoz</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://s44.ucoz.net/src/jquery-1.3.2.js"></script>
<style type="text/css">
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
resize: none;
}
html, body {
font-size: 13px;
font-family: Verdana;
color: #212121;
position:relative;
height:100%;
background: #f3f3f3;
}
input[type="text"] {
border: 1px solid #c0c0c0;
border-right: 0;
padding: 8px;
font-size: 20px;
font-weight: bold;
}
input[type="button"] {
border: 1px solid #c0c0c0;
padding: 3px;
cursor: pointer;
padding: 8px;
font-size: 20px;
font-weight: bold;
}
.site {
width: 24.9%;
float: left;
border-bottom: 1px solid #c0c0c0;
border-right: 1px solid #c0c0c0;
}
h2 {
border-bottom: 1px solid #c0c0c0;
padding: 2px 10px 3px;
}
#sites {
display: none;
border-top: 1px solid #c0c0c0;
}
</style>
</head>
<body>
<center>
<input type="text" id="domain" size="20" value="" /><input type="button" onclick="check()" id="check" value="?????????" />
<div id="sites"></div>
<script type="text/javascript">
var ucoz = ['ucoz.com','ucoz.net','ucoz.org','ucoz.ru','ucoz.de','ucoz.ua','ucoz.co.uk','ucoz.lv','ucoz.es','ucoz.hu','ucoz.ae','ucoz.ro','ucoz.pl','at.ua','3dn.ru','my1.ru','clan.su','moy.su','do.am'];
function check(){
var domain = $('#domain').val();
$('#sites').html('').show();
for(i=0;i<ucoz.length;i++){
$('#sites').append('<div class="site"><h2>'+domain+'.'+ucoz[i]+'</h2><iframe src="http://'+domain+'.'+ucoz[i]+'" frameborder="" width="100%" height="260px"></iframe></div>')
}
}
</script>
</center>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>???????? ??????? ?? uCoz</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://s44.ucoz.net/src/jquery-1.3.2.js"></script>
<style type="text/css">
* {
margin: 0;
padding: 0;
border: 0;
outline: 0;
resize: none;
}
html, body {
font-size: 13px;
font-family: Verdana;
color: #212121;
position:relative;
height:100%;
background: #f3f3f3;
}
input[type="text"] {
border: 1px solid #c0c0c0;
border-right: 0;
padding: 8px;
font-size: 20px;
font-weight: bold;
}
input[type="button"] {
border: 1px solid #c0c0c0;
padding: 3px;
cursor: pointer;
padding: 8px;
font-size: 20px;
font-weight: bold;
}
.site {
width: 24.9%;
float: left;
border-bottom: 1px solid #c0c0c0;
border-right: 1px solid #c0c0c0;
}
h2 {
border-bottom: 1px solid #c0c0c0;
padding: 2px 10px 3px;
}
#sites {
display: none;
border-top: 1px solid #c0c0c0;
}
</style>
</head>
<body>
<center>
<input type="text" id="domain" size="20" value="" /><input type="button" onclick="check()" id="check" value="?????????" />
<div id="sites"></div>
<script type="text/javascript">
var ucoz = ['ucoz.com','ucoz.net','ucoz.org','ucoz.ru','ucoz.de','ucoz.ua','ucoz.co.uk','ucoz.lv','ucoz.es','ucoz.hu','ucoz.ae','ucoz.ro','ucoz.pl','at.ua','3dn.ru','my1.ru','clan.su','moy.su','do.am'];
function check(){
var domain = $('#domain').val();
$('#sites').html('').show();
for(i=0;i<ucoz.length;i++){
$('#sites').append('<div class="site"><h2>'+domain+'.'+ucoz[i]+'</h2><iframe src="http://'+domain+'.'+ucoz[i]+'" frameborder="" width="100%" height="260px"></iframe></div>')
}
}
</script>
</center>
</body>
</html>
Категория:
Cкрипты для uCoz
Просмотров:
1304