Forum'da ara:
Ara


Yazar Mesaj
Mesaj28.01.2011, 15:07 (UTC)    
Mesaj konusu: Show kodunu istediğim boyutta nasıl yapıcam?

Başlığı öle yazmamın nedeni herkezin bakması yardımcı oLması
- Aşşağıdaki sLide Show Kodunu İstediğim boyuTTa nasıL yapıcam ?

KOD
Kod:
<center><script type="text/javascript">
<!--
var pic_width=675;
var pic_height=170;
var button_pos=3;
var stop_time=6000;
var show_text=0;
var txtcolor="fff";
var bgcolor="000";

var imag=new Array();
var link=new Array();
var text=new Array();


imag[1]="http://img.webme.com/pic/o/osmantalay/ypm.jpg";
link[1]="http://osmantalay.tr.gg";
text[1]="logo1";

imag[2]="http://img.webme.com/pic/o/osmantalay/ypm.jpg";
link[2]="http://osmantalay.tr.gg";
text[2]="Logo2";

imag[3]="http://img.webme.com/pic/o/osmantalay/ypm.jpg";
link[3]="http://osmantalay.tr.gg";
text[3]="Logo3";


imag[4]="http://img.webme.com/pic/o/osmantalay/ypm.jpg";
link[4]="http://osmantalay.tr.gg";
text[4]="Logo4";


imag[5]="http://img.webme.com/pic/o/osmantalay/ypm.jpg";
link[5]="http://osmantalay.tr.gg";
text[5]="Logo5";


var swf_height=show_text==1?pic_height+0:pic_height;
var pics="", links="", texts="";
for(var i=1; i<imag.length; i++){
pics=pics+("|"+imag[i]);
links=links+("|"+link[i]);
texts=texts+("|"+text[i]);
}
pics=pics.substring(1);
links=links.substring(1);
texts=texts.substring(1);

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ pic_width +'" height="'+ swf_height +'" style="margin: 0px 0px 0px 0px;">');
document.write('<param name="movie" value="http://site.mynet.com/djtual/gallery.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'">');
document.write('<embed style="margin: 3px 0px 5px 0px;" src="http://site.mynet.com/djtual/gallery.swf" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'" quality="high" width="'+ pic_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
document.write('</object>');
//-->
</script><center>
 





@simerweb: Konu başlığı düzenlendi; başlığınız konuyla ilgili olmalıdır.
______________


En son koraygokmen tarafından 28.01.2011 16:36:32 tarihinde değiştirildi, toplam 1 kere değiştirildi
Mesaj28.01.2011, 16:26 (UTC)    
Mesaj konusu:

kodun en üstündeki
Kod:
var pic_width=675;
var pic_height=170;

bölümündeki
Kod:
width=675
height=170

bu bölümü değiştirmelisiniz şuanda 675x170 boyutlarında atıyorum 1000x200 boyutunda yapacaksanız bu kod ile değiştirmelisiniz
Kod:
width=1000
height=200
Önceki mesajları göster:   


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