xtreme_paranoid 0 Report post Posted October 5, 2007 salam semua, aku nk mingtak tlg sket nihaku nk wat site logo script dlm site aku..contoh kat dlm site nih, belah kanan kat bawah..http://www.dynamicdrive.com/dynamicindex4/logo.htmaku ader coding die..kat sini :http://www.dynamicdrive.com/dynamicindex4/staticlogo.jstapi ade part yg aku x paham..kat bahagian nih :// 1) substitute 116 and 42 with the width and height of your logo image, respectively var logowidth=116 var logoheight=42 var logoimage=[b]new Image(logowidth,logoheight) [/b] // 2) change the image path to reflect the path of your logo image logoimage.src="../dynamic2.gif" // 3) Change url below to the target URL of the logo var logolink="http://dynamicdrive.com" // 4) change the alttext variable to reflect the text used for the "alt" attribute of the image tag var alttext="Dynamic Drive" // 5) Finally, below variable determines the duration the logo should be visible after loading, in seconds. If you'd like the logo to appear for 20 seconds, for example, enter 20. Entering a value of 0 causes the logo to be perpectually visible. var visibleduration=12 // Optional parameters var Hoffset=10 //Enter logo's offset from right edge of window (edit only if you don't like the default offset) var Voffset=10 //Enter logo's offset from bottom edge of window (edit only if you don't like the default offset)yang bold kat no 1 tuh aku nk ubah camne ek?x berapa paham..yang kat bold no 2 tuh pulak..kene letak link gambar tu ek?klu aku upload kat image shack..letak url die ek? Quote Share this post Link to post Share on other sites
spirit 0 Report post Posted October 5, 2007 no 1 tu merangkumi panjang dan lebar image ko. dalam pixel.ko cuba maen-maen dengan no tu.ko akan nampak hasilnyano 2 wat macam ko cakap tu. letak url imageshackneway ko patot masok bahagian website ni..bukan kat sinips: napa orang selalu keliru antara java ngan js..uhuuu Quote Share this post Link to post Share on other sites
xtreme_paranoid 0 Report post Posted October 5, 2007 (edited) thanks. tapi aku masih keliru ngan var logoimage..camne nk edit kat bhg tu?berbeza ek..?sbb aku tgk coding gak..sori2.mod tlg pindahkan Edited October 5, 2007 by xtreme_paranoid Quote Share this post Link to post Share on other sites
spirit 0 Report post Posted October 6, 2007 tak perlu edit apa-apa.logo image tu dah declare sebagai new Image(ni function dlm js).var logoimage tu akan dipanggey dalam kod yang bawah yang dia tak bagi ko edit Quote Share this post Link to post Share on other sites