Torna al Thread

[CODE] <td colspan="4" class="immage_art"><%#DataBinder.Eval(Container.DataItem, "ImmagineGrande1")%> <script type="text/javascript" language="JavaScript"> var photos=new Array() var which=0 /*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/ <%#DataBinder.Eval(Container.DataItem, "Immagine1")%> <%#DataBinder.Eval(Container.DataItem, "Immagine2")%> <%#DataBinder.Eval(Container.DataItem, "Immagine3")%> <%#DataBinder.Eval(Container.DataItem, "Immagine4")%> <%#DataBinder.Eval(Container.DataItem, "Immagine5")%> function backward(){ if (which>0){ window.status='' which-- document.images.photoslider.src=photos[which] } } function forward(){ if (which<photos.length-1){ which++ document.images.photoslider.src=photos[which] } else window.status='End of gallery' } </SCRIPT> <A onclick="backward()" href="#"><img src="http://www.artistic.it/images/freccia2.png" ></A><A onclick="forward()" href="#"><img src="http://www.artistic.it/images/freccia1.png" class=" pd2"></A> [/CODE]
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5