<html>
<head>
<title>א"ב בבנית אתרים</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-8">
<link rel="stylesheet" href="../liora3.css">
</head>
<body >
<div id="example2" style="height:65px"></div>
<script>
var contents=new Array()
contents[0]='<small><font face="Arial"><a href="http://javascriptkit.com/script/script2/cursortrail.shtml"><strong>Featured
new script- ???? ?? 1</strong></a><br> ???? ???? ??????Decorate
the cursor on your site with this classic mouse trial effect!</font></small>'
contents[1]='<small><font face="Arial"><a href="http://www.javascriptkit.com/howto/cc.shtml"><strong>New
JavaScript tutorial-???? ?? 2</strong></a><br> ????
???? ???? ???????Learn about a revolutionary new feature in IE 5 that
allows you to conditionally comment out certain portions of your page,
so only the specified browser interprets and renders them</font></small>'
var i=0
function swapcontent(){
//if IE 4+
if (document.all){
(i==1) ?i=0 : i=1
example2.innerHTML=contents[i]
setTimeout("swapcontent()",3500)
}
}
window.onload=swapcontent
</script>
<div id="dcontent" style="width:100%;height:38px"></div>
<ilayer id="ns4dcontent" width=90% height=38px>
<layer id="ns4dcontent2" width=90% height=38px></layer>
</ilayer>
<script>
//the html contents to display
var mycontent=new Array()
mycontent[0]=' <strong><small><font face="Arial">0Learn
about JavaScript and get free scripts at <a href="http://javascriptkit.com">JavaScript
Kit!</a></font></small></strong>'
mycontent[1]=' <strong><font face="Arial"><small>1Visit
<a href="http://dynamicdrive.com">Dynamic Drive</a>
for the best DHTML scripts and components on the web!</small></font></strong>'
mycontent[2]=' <strong><small><font face="Arial">2The
<a href="http://www.elated.com/toolbox/">Elated Toolbox</a>
is your source for web graphics and kits!</font></small></strong>'
mycontent[3]=' <strong><small><font face="Arial">3Freewarejava.com-
Direct links to hundreds of<br> free Java applets on the web!</font></small></strong>'
mycontent[4]=' <strong><small><font face="Arial">4Learn
about JavaScript and get free scripts at <a href="http://javascriptkit.com">JavaScript
Kit!</a></font></small></strong>'
var i=0
function altercontent(){
//if IE 4+
if (document.all)
dcontent.innerHTML=mycontent[i];
//else if NS 4
else if (document.layers){
document.ns4dcontent.document.ns4dcontent2.
document.write(mycontent[i]);
document.ns4dcontent.document.ns4dcontent2.
document.close();
}
//else if NS 6 (supports new DOM)
else if (document.getElementById){
rng = document.createRange();
el = document.getElementById("dcontent");
rng.setStartBefore(el);
htmlFrag = rng.createContextualFragment(mycontent[i]);
while (el.hasChildNodes())
el.removeChild(el.lastChild);
el.appendChild(htmlFrag);
}
if (i==mycontent.length-1)
i=0
else
i++
}
function beginrotation(){
if (document.all||document.layers||document.getElementById)
setInterval("altercontent()",3500)
}
window.onload=beginrotation
</script></td>
</body>
</html>
|