1 [HD] hiệu ứng cuộn giấy ở banner cực đẹp từ A-Z Sat Oct 13, 2012 7:14 am
Đây là lần đầu viết tut có gì sai sót các bạn thông cảm nha
đầu tiên các bạn tạo 1 trang html vào module-html pages management- creat new html page
sau đó copy đoạn code này vào đặt tên trang này là gì tùy bạn
sau đó các bạn tiếp tục crtl+f tìm đoạn
chưa hết các bạn thay link xong hết rồi thì ấn submit way lai trang html page management xem link trang đó là gì thì copy lại rồi vào display-QLTT-overall header rồi chèn đoạn này vào
Quên mất demo http://12a3class.co.cc/
đầu tiên các bạn tạo 1 trang html vào module-html pages management- creat new html page
sau đó copy đoạn code này vào đặt tên trang này là gì tùy bạn
- Code:
[font=Courier New]
var esel = new Object();
// --------------------------------------------------------- THAY Äá»”I ÄỊA CHỈ ÄÃCH
esel.ad_url = escape('http://12a3class.co.cc/forum'); // Nháºp và o địa chỉ mà bạn muốn trỠđến sau khi click vô quảng cáo
// --------------------------------------------------------- END TARGET URL
esel.small_path = 'http://users6.jabry.com/tuyetson08/cuongiay/S.swf'; // Ä‘Æ°á»ng dẫn file flash mép giấy (nhá»)
esel.small_image = escape('http://users6.jabry.com/tuyetson08/cuongiay/A.swf'); // Ä‘Æ°á»ng dẫn hình ảnh nằm dÆ°á»›i mép giấy (khi chÆ°a rê chuá»™t)
esel.big_path = 'http://users6.jabry.com/tuyetson08/cuongiay/B.swf'; // Ä‘Æ°á»ng dẫn file flash lúc kéo mép giấy
esel.big_image = escape('http://a4.sphotos.ak.fbcdn.net/hphotos-ak-snc4/39112_1321533009329_1560954102_30730528_4071949_n.jpg'); // Ä‘Æ°á»ng dẫn file quảng cáo chÃnh
// KHÔNG chỉnh gì thêm ở dưới nà y---------------FINISHED----STOP---------------------------------------------------
esel.small_width = '100';
esel.small_height = '100';
esel.small_params = 'ico=' + esel.small_image;
esel.big_width = '650';
esel.big_height = '650';
esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url;
function sizeup987(){
document.getElementById('eselcornerBig').style.top = '0px';
document.getElementById('eselcornerSmall').style.top = '-1000px';
}
function sizedown987(){
document.getElementById("eselcornerSmall").style.top = "0px";
document.getElementById("eselcornerBig").style.top = "-1000px";
}
esel.putObjects = function () {
document.write('<div id="eselcornerSmall" style="position:absolute;width:'+ esel.small_width +'px;height:'+ esel.small_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerSmallObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ esel.small_path +'?'+ esel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+esel.small_params+'"/>');
document.write('<embed src="'+ esel.small_path + '?' + esel.small_params +'" name="eselcornerSmallObject" wmode="transparent" quality="high" width="'+ esel.small_width +'" height="'+ esel.small_height +'" flashvars="'+ esel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://[url=http://www.macromedia.com/go/getflashplayer"/embed');][color=#666666]www.macromedia.com/go/getflashplayer"></embed>');[/color][/url]
document.write('</object></div></script>');
document.write('<div id="eselcornerBig" style="position:absolute;width:'+ esel.big_width +'px;height:'+ esel.big_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerBigObject" width="'+ esel.big_width +'" height="'+ esel.big_height +'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ esel.big_path +'?'+ esel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ esel.big_params +'"/>');
document.write('<embed src="'+ esel.big_path + '?' + esel.big_params +'" id="eselcornerBigEmbed" name="eselcornerBigObject" wmode="transparent" quality="high" width="'+ esel.big_width +'" height="'+ esel.big_height +'" flashvars="'+ esel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://[url=http://www.macromedia.com/go/getflashplayer"/embed');][color=#666666]www.macromedia.com/go/getflashplayer"></embed>');[/color][/url]
document.write('</object></div>');
setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000);
}
esel.putObjects();[/font]
- Code:
[font=Courier New]http://12a3class.co.cc/forum
sau đó các bạn tiếp tục crtl+f tìm đoạn
- Code:
http://a4.sphotos.ak.fbcdn.net/hphotos-ak-snc4/39112_1321533009329_1560954102_30730528_4071949_n.jpg
chưa hết các bạn thay link xong hết rồi thì ấn submit way lai trang html page management xem link trang đó là gì thì copy lại rồi vào display-QLTT-overall header rồi chèn đoạn này vào
- Code:
<SCRIPT LANGUAGE="JavaScript">
closetime = 0;
function Start(URL, WIDTH, HEIGHT) {
windowprops = "toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes";
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}
function doitnow() {
url = "http://localhost";
width = 1024; // width of window in pixels
height = 768; // height of window in pixels
delay = 10; // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}
// End -->
function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<BODY OnLoad="doitnow();"><SCRIPT src="http://boykevin.byethost24.com/cuongiay.htm" type=text/javascript></SCRIPT>
- Code:
http://boykevin.byethost24.com/cuongiay.htm
Quên mất demo http://12a3class.co.cc/