
30.07.2002, 04:09
|
|
|
Audax here
Регистрация: Jul 2002
Адрес: in da lightnin
Сообщений: 855
|
Следи за комментарием
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="JavaScript">
<!--
function buildArray() {
var a = buildArray.arguments;
for (i=0; i<a.length; i++) {
this[i] = a[i];
}
this.length = a.length;
}
var urls1 = new buildArray("",
"main.html",
"posters.html",
"like Andy Warhol pic.html",
"links.html");
function go(which, num, win) {
n = which.selectedIndex;
if (n != 0) {
var url = eval("urls" + num + "[n]"+"_parent") // вроде бы та фигня
if (win) {
openWindow(url);
} else {
location.href = url;
}
}
}
// -->
</script>
</head>
<body background="images/header.gif">
<form name="form1">
<select name="menu1" onChange="go(this, 1, false)">
<option>
<option><small>p o s t e r s t a r </small>
<option><small>poster's</small>
<option><small>like Andy Warhol pic</small>
<option><small>links</small>
</select>
</form>
</body>
</html>
__________________
Audax!
|