To mój pierwszy post na tym forum
Kod: Zaznacz cały
<script>
var adresy = Array
(
"link1",
"link2",
"link3"
)
function onclickHandler(num)
{
if(num >= 0 && num < adresy.length){
location.assign(adresy[num]);
}
}
</script>
</head>
<body background="tlo.gif">
<font face="Verdana, Arial">
(...)
<h3>Program kalkulator z dwoma argumentami - - - - - - - - - - - - - -
<right>
<input
type="button" style="width:120px"
value="download"
onclick="onclickHandler(0);"/><br></br><br>
Program z użyciem ComboBox'em - - - - - - - - - - - - - - - - - - - -
<input
type="button" style="width:120px"
value="download"
onclick="onclickHandler(1);"/><br></br><br>
Program z silnią, NWD i potęgą - - - - - - - - - - - - - - - - - - - - - -
<input
type="button" style="width:120px"
value="download"
onclick="onclickHandler(2);"/><br></br><br>
<br></br><br></br><br></br></right>
<body>
</html>Kod: Zaznacz cały
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="tree.css">
<script type="text/javascript" src="tree.js"></script>
</HEAD>
<br><center>
<ul id="tree0" class="tree">
<li><a>Przejżyj kod źródłowy</a>
<ul>
<a>begin<br>var</a>
body<br>end
<script type="text/javascript">
<!--
new tree("tree0");
//-->
</script>
<script type="text/javascript">
<!--
document.writeln('<'+'scr'+'ipt type="text/javascript" src="http://s2.hit.stat.pl/_'+(new Date()).getTime()+'/script.js?id=ndo1Xzr1XUpZZYtJ1BfVj6cUTM6IeoSHD7S94lg_wYj.N7/l=11"></'+'scr'+'ipt>');
//-->
</script>
</BODY>
</HTML>Mógłby mi ktoś pomóc ?
Pozdrawiam
