Newsgroup: it.comp.lang.javascript
Titolo: strip immagini - corbis

Ciao, cerco uno script per fare uno strip o slide show (non ho idea di come
si possa chiamare) di immagini come quello che si trova sulla homepage di
www.corbis.com
.
Qualcuno sa dirmi dove posso trovarne uno già fatto?
Ho già cercato su www.hotscript .com e 
jsdir.it
Grazie,
Roberto.

 ha scritto nel messaggio
news:05GKb.63741$_P.24...@news4.tin.it...
: Ciao, cerco uno script per fare uno strip o slide show (non ho idea di

Furbo ;-P, apri la pagina di corbis con "persino" frontpage, o un visore
html qualsiasi..........
ciapa qua!
<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:222px; height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=BE029898&rft=RF_TL&
lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_5_be029898.jpg
"
width="221" height="250" alt="&copy; Bettmann/BE029898" border="0"/>
</a></div><div id='divSC1' style='position:absolute; top:0px; left:222;
z-index:19; visibility:visible; background:#FFFFFF; width:251px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=VP001062&rft=RF_TL&
lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_7_vp001062.jpg
"
width="250" height="250" alt="&copy; Peter Winter/VP001062" border="0"/>
</a></div><div id='divSC2' style='position:absolute; top:0px; left:473;
z-index:18; visibility:visible; background:#FFFFFF; width:181px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=AACV001037&rft=RF_T
L&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_8_aacv001037.jpg
"
width="180" height="250" alt="&copy; Tim Stevenson/AACV001037" border="0"/>
</a></div><div id='divSC3' style='position:absolute; top:0px; left:654;
z-index:17; visibility:visible; background:#FFFFFF; width:234px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=AAGV001375&rft=RF_T
L&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_9_aagv001375.jpg
"
width="233" height="250" alt="&copy; Gary Houlder/AAGV001375" border="0"/>
</a></div><div id='divSC4' style='position:absolute; top:0px; left:888;
z-index:16; visibility:visible; background:#FFFFFF; width:168px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=AACD0503&rft=RF_TL&
lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_1_aacd0503.jpg
"
width="167" height="250" alt="&copy; Theo Allofs/AACD0503" border="0"/>
</a></div><div id='divSC5' style='position:absolute; top:0px; left:1056;
z-index:15; visibility:visible; background:#FFFFFF; width:251px;
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/pic_2_OUT936096.jpg
"
width="250" height="250" alt="©Mark Seliger; To license Corbis Outline
content, please contact an Account Executive. " border="0"/>
</a></div><div id='divSC6' style='position:absolute; top:0px; left:1307;
z-index:14; visibility:visible; background:#FFFFFF; width:168px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=DWF15-455815&rft=RF
_TL&lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_3_dwf15-455815.jpg
"
width="167" height="250" alt="&copy; John Zich/DWF15-455815" border="0"/>
</a></div><div id='divSC7' style='position:absolute; top:0px; left:1475;
z-index:13; visibility:visible; background:#FFFFFF; width:289px;
height:250px;'><a
href="
http://pro.corbis.com/search/searchresults.asp?txt=AX077627&rft=RF_TL&
lcd=en-us" onMouseOver="stopScroll();" onMouseOut="startScroll();"
target="_top">
 <img src="
http://cache.corbis.com/www/images/uhp/pic_4_ax077627.jpg
"
width="288" height="250" alt="&copy; Ken Redding/AX077627" border="0"/>
</a></div><div id='divSC8' style='position:absolute; top:0px; left:1764;
z-index:12; visibility:visible; background:#FFFFFF; width:143px;
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/pic_6_OUT935450.jpg
"
width="142" height="250" alt="©Ben Watts; 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 TimeOutID
var 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('BE029898',221,0)
MediaData[1] = new makeData('VP001062',250,0)
MediaData[2] = new makeData('AACV001037',180,0)
MediaData[3] = new makeData('AAGV001375',233,0)
MediaData[4] = new makeData('AACD0503',167,0)
MediaData[5] = new makeData('OUT936096',250,0)
MediaData[6] = new makeData('DWF15-455815',167,0)
MediaData[7] = new makeData('AX077627',288,0)
MediaData[8] = new makeData('OUT935450',142,0)
</script>
Il tutto dentro head...........
--
Elena
 "Silently she walks..."



Su 
www.corbis.com
.
-- 
Ciao
  [web]  
www.gfcarlotti.it
 
    [mail]  text welcome in Reply-To
      [pgp]  
www.gfcarlotti.it/pgp/franco.asc