Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

morpheus

Script de imagens

Recommended Posts

Seguinte,Eis o codigo tirado doproprio site citado por você:<STYLE type="text/css"> BODY { BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN-TOP: 0px; PADDING-LEFT: 0px; MARGIN-LEFT: 0px; BORDER-LEFT: medium none; PADDING-TOP: 0px; BORDER-BOTTOM: medium none; BACKGROUND-COLOR: white } TABLE { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } TR { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } TD { FONT-SIZE: 10px; COLOR: #666666; FONT-FAMILY: Verdana } </STYLE><body bgcolor=#ffffff leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0><div id='divSC0' style='position:absolute; top:0px; left:0; z-index:20; visibility:visible; background:#FFFFFF; width:317px; height:250px;'><a href="http://pro.corbis.com/search/searchresults.asp?img=AX075185&rft=RF_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/1_ax075185.jpg" width="316" height="250" alt="© Franco Vogt/AX075185" border="0"/></a></div><div id='divSC1' style='position:absolute; top:0px; left:317; z-index:19; visibility:visible; background:#FFFFFF; width:202px; height:250px;'><a href="http://pro.corbis.com/creative/celebrity?lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/UHP/2_OUT922816.jpg" width="201" height="250" alt="©Kwaku Alston/OUT922816; To license Corbis Outline content, please contact an Account Executive. " border="0"/></a></div><div id='divSC2' style='position:absolute; top:0px; left:519; z-index:18; visibility:visible; background:#FFFFFF; width:176px; height:250px;'><a href="http://pro.corbis.com/search/searchresults.asp?img=RF244079&rft=RF_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/3_rf244079.jpg" width="175" height="250" alt="© Royalty-Free/RF244079" border="0"/></a></div><div id='divSC3' style='position:absolute; top:0px; left:695; z-index:17; visibility:visible; background:#FFFFFF; width:250px; height:250px;'><a href="http://pro.corbis.com/search/searchresults.asp?img=RZ002293&rft=RF_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/4_rz002293.jpg" width="249" height="250" alt="© Genevieve Naylor/RZ002293" border="0"/></a></div><div id='divSC4' style='position:absolute; top:0px; left:945; z-index:16; visibility:visible; background:#FFFFFF; width:375px; height:250px;'><a href="http://newsroom.corbis.com/i.asp?ID=352569?lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/5_116.jpg" width="374" height="250" alt="© Brad Loper/Dallas Morning News/352569" border="0"/></a></div><div id='divSC5' style='position:absolute; top:0px; left:1320; z-index:15; visibility:visible; background:#FFFFFF; width:151px; height:250px;'><a href="http://pro.corbis.com/search/searchresults.asp?img=AX073891&rft=RF_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/6_ax073891.jpg" width="150" height="250" alt="© Patrik Giardino/AX073891" border="0"/></a></div><div id='divSC6' style='position:absolute; top:0px; left:1471; z-index:14; visibility:visible; background:#FFFFFF; width:375px; height:250px;'><a href="http://newsroom.corbis.com/i.asp?ID=350659?lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/UHP/7_113.jpg" width="374" height="250" alt="©David Leeson/Dallas Morning News/350659" border="0"/></a></div><div id='divSC7' style='position:absolute; top:0px; left:1846; z-index:13; visibility:visible; background:#FFFFFF; width:211px; height:250px;'><a href="http://pro.corbis.com/search/searchresults.asp?img=AAHR001115&rft=RF_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/uhp/8_aahr001115.jpg" width="210" height="250" alt="© David Roseburg/AAHR001115" border="0"/></a></div><div id='divSC8' style='position:absolute; top:0px; left:2057; z-index:12; visibility:visible; background:#FFFFFF; width:312px; height:250px;'><a href="http://pro.corbis.com/creative/celebrity?lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();" target="_top"> <img src="http://cache.corbis.com/www/images/UHP/9_OUT922282.jpg" width="311" height="250" alt="© Norman NG; Celebrity Pix; To license Corbis Outline content, please contact an Account Executive. " border="0"/></a></div></body><script language="JavaScript" type="text/javascript">var iLeft = 0;var iLeader = 0;var oVisDiv0;var oVisDiv1;var oVisDiv2;var oVisDiv3;var oVisDiv4;var oVisDiv5;var TimeOutIDvar m_ImageWidth = 8;var m_iSeq = m_ImageWidth;var iNumberOfImages = 9; startScroll();loadVisibleDiv();function startScroll(){ TimeOutID = window.setInterval('doIt();',50);}function stopScroll(){ clearInterval(TimeOutID);}function loadVisibleDiv(){ if (document.layers){ for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++) { eval("oVisDiv" + iCnt + " = document.layers['divSC" + iCnt + "']") } } else if (document.all){ for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++) { eval("oVisDiv" + iCnt + " = document.all['divSC" + iCnt + "'].style") } } else if (document.getElementById) { for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++) { eval("oVisDiv" + iCnt + " = document.getElementById('divSC" + iCnt + "').style") } }}function doIt(){ var iLa; var iLb; var iLc; var iLd; var iAddIncr var iLocal var i iLocal=iLeader iAddIncr=0; for (var iCnt=0; iCnt<=m_ImageWidth; iCnt++) { eval("oVisDiv" + iLocal + ".left=" + (iLeft + iAddIncr)); iAddIncr += MediaData[iLocal].Width + 1 // + 1 is the spacer iLocal+=1 if (iLocal>m_ImageWidth) { iLocal=0 } } if (iLeft<=-(MediaData[iLeader].Width+1)) { iLeft=0; m_iSeq+=1; if (m_iSeq > iNumberOfImages-1) { m_iSeq=0; } iLeader+=1; if (iLeader > m_ImageWidth) { iLeader=0; } } iLeft-=1}function changeLanguage(){ location.replace("default.asp");}function newwindow(url){ var params; var agent = navigator.userAgent; var windowName = "CorbisWindow"; params = ""; params += "height=556," params += "width=603," params += "left=50," params += "top=50," params += "alwaysRaised=0," params += "directories=0," params += "fullscreen=0," params += "location=0," params += "menubar=b," params += "resizable=1," params += "scrollbars=1," params += "status=0," params += "toolbar=0" var win = window.open(url,windowName,params); if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) { win = window.open(url, windowName , params); } if (!win.opener) { win.opener = window; }}var MediaData = new Array();function makeData(CorbisID, Width, Height){ this.CorbisID = CorbisID; this.Width = Width; this.Height = Height; return true;}MediaData[0] = new makeData('AX075185',316,0)MediaData[1] = new makeData('OUT922816',201,0)MediaData[2] = new makeData('RF244079',175,0)MediaData[3] = new makeData('RZ002293',249,0)MediaData[4] = new makeData('352569',374,0)MediaData[5] = new makeData('AX073891',150,0)MediaData[6] = new makeData('350659',374,0)MediaData[7] = new makeData('AAHR001115',210,0)MediaData[8] = new makeData('OUT922282',311,0)</script>[]sRodney

Compartilhar este post


Link para o post
Compartilhar em outros sites

Valeu Site Novo, vou estudar isso, é que meu browser tem um problem qualquer que não da para ver ódigo de site nenhumValeu

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.