Forum'da ara:
Ara


Yazar Mesaj
Mesaj20.09.2010, 16:35 (UTC)    
Mesaj konusu: Slayt Resim Kodu

Arkadaşlar elimdeki resimlerin sağlı sollu buton koyarak tek tek görüntülenmesini nasıl sağlarım bunun için elinde kod olan varmı...
Mesaj20.09.2010, 17:21 (UTC)    
Mesaj konusu: Fenerbahçe kadrosu albüm kodu

Albümde Fenerbahçe kadrosunun resimleri var,onları kendi resimlerinizle değişebilirsiniz.
Kod:
<!--Kodbanks fb kadrosu album kodu basla--><script type="text/javascript">

/***********************************************
* DHTML slideshow script-   Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice must stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var photos=new Array()
var photoslink=new Array()
var which=0

//define images. You can have as many as you want:
photos[0]="http://img828.imageshack.us/img828/1540/kodbanks1volkan.jpg"
photos[1]="http://img651.imageshack.us/img651/6707/kodbanks2lugano.jpg"
photos[2]="http://img814.imageshack.us/img814/2107/kodbanks4bekirr.jpg"
photos[3]="http://img830.imageshack.us/img830/7713/kodbanks5emre.jpg"
photos[4]="http://img651.imageshack.us/img651/544/kodbanks6ilhan.jpg"
photos[5]="http://img814.imageshack.us/img814/9844/kodbanks9guiza.jpg"
photos[6]="http://img651.imageshack.us/img651/3535/kodbanks10alex.jpg"
photos[7]="http://img651.imageshack.us/img651/1918/kodbanks11stoch.jpg"
photos[8]="http://img651.imageshack.us/img651/8296/kodbanks14gokay.jpg"
photos[9]="http://img830.imageshack.us/img830/6933/kodbanks15volkanbabacan.jpg"
photos[10]="http://img832.imageshack.us/img832/1938/kodbanks16baroni.jpg"
photos[11]="http://img828.imageshack.us/img828/3268/kodbanks17okanalkan.jpg"
photos[12]="http://img251.imageshack.us/img251/4442/kodbanks19onder.jpg"
photos[13]="http://img829.imageshack.us/img829/2195/kodbanks20ozer.jpg"
photos[14]="http://img814.imageshack.us/img814/9007/kodbanks21selcuk.jpg"
photos[15]="http://img294.imageshack.us/img294/7471/kodbanks23semih.jpg"
photos[16]="http://img294.imageshack.us/img294/4599/kodbanks25ugur.jpg"
photos[17]="http://img829.imageshack.us/img829/822/kodbanks27dossantos.jpg"
photos[18]="http://img814.imageshack.us/img814/8808/kodbanks34mert.jpg"
photos[19]="http://img412.imageshack.us/img412/2833/kodbanks39gokhanunal.jpg"
photos[20]="http://img294.imageshack.us/img294/8370/kodbanks58bilica.jpg"
photos[21]="http://img294.imageshack.us/img294/9034/kodbanks64furrkann.jpg"
photos[22]="http://img829.imageshack.us/img829/5770/kodbanks66mehmet.jpg"
photos[23]="http://img826.imageshack.us/img826/9113/kodbanks77gokhangonul.jpg"
photos[24]="http://img294.imageshack.us/img294/9484/kodbanks88caner.jpg"
photos[25]="http://img580.imageshack.us/img580/6090/kodbanks92dia.jpg"
photos[26]="http://img541.imageshack.us/img541/9580/kodbanks99deivid.jpg"


//Specify whether images should be linked or not (1=linked)
var linkornot=0

//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
photoslink[0]=""
photoslink[1]=""
photoslink[2]=""
photoslink[3]=""
photoslink[4]=""
photoslink[5]=""
photoslink[6]=""
photoslink[7]=""
photoslink[8]=""
photoslink[9]=""
photoslink[10]=""
photoslink[11]=""
photoslink[12]=""
photoslink[13]=""
photoslink[14]=""
photoslink[15]=""
photoslink[16]=""
photoslink[17]=""
photoslink[18]=""
photoslink[19]=""
photoslink[20]=""
photoslink[21]=""
photoslink[22]=""
photoslink[23]=""
photoslink[24]=""
photoslink[25]=""
photoslink[26]=""


//do NOT edit pass this line

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}


function applyeffect(){
if (document.all && photoslider.filters){
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()
}
}



function playeffect(){
if (document.all && photoslider.filters)
photoslider.filters.revealTrans.play()
}

function keeptrack(){
window.status="Image "+(which+1)+" of "+photos.length
}


function backward(){
if (which>0){
which--
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function forward(){
if (which<photos.length-1){
which++
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}

function transport(){
window.location=photoslink[which]
}

</script>
<table bordercolor="#46006b" cellspacing="0" cellpadding="0" border="4">
    <tbody>
        <tr>
            <td width="50" colspan="2" height="22"><center><script>
if (linkornot==1)
document.write('<a href="javascript:transport()">')
document.write('<img src="'+photos[0]+'" width="150" height="175" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=4>')
if (linkornot==1)
document.write('</a>')
</script></center></td>
        </tr>
        <tr>
            <td width="30" bgcolor="#46006b" height="21">
            <div style="text-align: center"><a onClick="backward();return false" href="#"><span style="font-size: larger"><strong><img alt="&Ouml;NCEKİ" border="0" style="width: 73px; height: 17px" src="http://img708.imageshack.us/img708/6679/blueotoncekbuton.gif" /></strong></span></a></div>
            </td>
            <td width="30" bgcolor="#46006b" height="21">
            <div style="text-align: center"><a onClick="forward();return false" href="#"><span style="font-size: larger"><strong><img alt="SONRAKİ" border="0" style="width: 76px; height: 17px" src="http://img257.imageshack.us/img257/4524/blueotobuton.gif" /></strong></span></a></div>
            </td>
        </tr>
    </tbody>
</table><!--Kodbanks fb kadrosu album kodu bitir-->


Albüm boyut ayarlarını bu rakamları büyüterek yapabilirsiniz...
Kod:
width="150" height="175"

______________
Mesaj23.09.2010, 13:31 (UTC)    
Mesaj konusu:

Tesekkürler kodbanks.tr.gg sağol kardeşim...
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu