DHTML-эффекты для загрузки страницы или смены текста или
фото Мета-тег для загрузки
страницы
Код для автосмены текста
или фото
Поместить в HEAD
<STYLE type=text/css>
#contentwrapper{width: 468px; height: 60px;border: 0px ;padding: 0px;}
.billcontent{width: 468;display:block;}
</STYLE>
В строкеvar
billboardeffects=[" GradientWipe(GradientSize=1.0 Duration=0.7)", "Inset",
"Strips left up", "Pixelate(MaxSquare=5 enabled=false)", "RadialWipe",
"RandomBars", "Slide(slideStyle='push')", "Spiral", "Stretch", "Strips",
"Wheel", "ZigZag "] поместите нужные
названия фильтров
<script type="text/javascript">
//Автозамена фото
var billboardeffects=["GradientWipe(GradientSize=1.0 Duration=0.7)", "Inset", "Strips left up", "Pixelate(MaxSquare=5 enabled=false)", "RadialWipe", "RandomBars", "Slide(slideStyle='push')", "Spiral", "Stretch", "Strips", "Wheel", "ZigZag"]
var tickspeed=2000 //ticker speed in miliseconds (2000=2 seconds)
var effectduration=500 //Transitional effect duration in miliseconds
var hidecontent_from_legacy=1 //Should content be hidden in legacy browsers- IE4/NS4 (0=no, 1=yes).
var filterid=Math.floor(Math.random()*billboardeffects.length)
document.write('<style type="text/css">\n')
if (document.getElementById)
document.write('.billcontent{display:none;\n'+'filter:progid:DXImageTransform.Microsoft.'+billboardeffects[filterid]+'}\n')
else if (hidecontent_from_legacy)
document.write('#contentwrapper{display:none;}')
document.write('</style>\n')
var selectedDiv=0
var totalDivs=0
function contractboard(){
var inc=0
while (document.getElementById("billboard"+inc)){
document.getElementById("billboard"+inc).style.display="none"
inc++}}
function expandboard(){
var selectedDivObj=document.getElementById("billboard"+selectedDiv)
contractboard()
if (selectedDivObj.filters){
if (billboardeffects.length>1){
filterid=Math.floor(Math.random()*billboardeffects.length)
selectedDivObj.style.filter="progid:DXImageTransform.Microsoft."+billboardeffects[filterid]}
selectedDivObj.filters[0].duration=effectduration/1000
selectedDivObj.filters[0].Apply()}
selectedDivObj.style.display="block"
if (selectedDivObj.filters)
selectedDivObj.filters[0].Play()
selectedDiv=(selectedDiv<totalDivs-1)? selectedDiv+1 : 0
setTimeout("expandboard()",tickspeed)}
function startbill(){
while (document.getElementById("billboard"+totalDivs)!=null)
totalDivs++
if (document.getElementById("billboard0").filters)
tickspeed+=effectduration
expandboard()}
if (window.addEventListener)
window.addEventListener("load", startbill, false)
else if (window.attachEvent)
window.attachEvent("onload", startbill)
else if (document.getElementById)
window.onload=startbill
</script>
Поместить в BODY
<div id="contentwrapper" align="center">
<div id="billboard0" class="billcontent" align="center">
<a href="javascript:if(confirm('http://aceweb.narod.ru/index.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://aceweb.narod.ru/index.html'" tppabs="http://aceweb.narod.ru/index.html"><img src="1.jpg" tppabs="http://aceweb.narod.ru/00/1.jpg" width="1" height="1" border=0></a></div>
<div id="billboard1" class="billcontent" align="center"><a href="javascript:if(confirm('http:/// \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http:///'" tppabs="http:///"><img src="2.jpg" tppabs="http://aceweb.narod.ru/00/2.jpg" width="1" height="1" border=0></a></div>
<div id="billboard2" class="billcontent"><img src="3.jpg" tppabs="http://aceweb.narod.ru/00/3.jpg" width="1" height="1" border=0></a></div>
</div><div id="billboard0" class="billcontent" align="center"></div>