2008-06-24 13:30:25

dj_afran
» FTalkAgent
FTalk Level: zero
2005
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote][b]dhererezzz wrote:[/b] jd ky gt bro?? tp ttp aja ga bs??[/quote] ko malah dua²'a yang di apus... salah satu aja bro primary pictur'a yang di apus... neeh begini... [spoiler]// primary picture divpicutama=getElementByClassName("imgblock200")[0]; apicutama=divpicutama.getElementsByTagName("a")[0]; srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src"); apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; function getElementByClassName(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } // CSS INJECTION function injectcss() { if(window.cssinjected == undefined) { cssinjected = 1; var css = document.createElement("link"); css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/dheerezzz/dheerezbiip/baruu.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); //bagian A /********* WELCOME ALERT *********/ alert("welcome to my profile"); alert("thanks for visiting"); //bagian B //onload handler function onProfileLoad() { shakedapic("2"); // untuk friend shakedapic("7"); // untuk fan shakedapic("8"); // untuk group // mini maxi // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>"+pageOwnerFName+"\'s Friends</div></a>";show_hide('content_2'); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a Fan of ...</div></a>";show_hide('content_7'); // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>";show_hide('content_8'); var navidock; try {navidock = document.createElement("div");} catch (e) {navidock = document.createElement("<div>");} navidock.innerHTML = "<iframe id=\"datamain\" src=\"http://h1.ripway.com/dheerezzz/dheerezbiip/baruu.html\" width=\"800\" height=\"115px\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>"; navidock.setAttribute("style","text-align:center;padding-top:10px"); document.getElementById("logo").parentNode.appendChild(navidock); } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; } li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } } //bagian C // mini maxi // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>";show_hide('content_0'); // PHOTOS h=document.getElementById("1").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div>"+pageOwnerFName+"\'s Photo Gallery</div></a>";show_hide('content_1') // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>";show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+pageOwnerFName+"</div></a>";show_hide('content_18'); function show_hide(the_box) { if (document.getElementById(the_box)) { if (document.getElementById(the_box).style.display == 'none') { document.getElementById(the_box).style.display = 'block'; } else { document.getElementById(the_box).style.display = 'none'; } } } //flashing shoutout document.getElementById('cpShoutoutBox').innerHTML="<embed id='myShout' FlashVars='bt=ILYSM&cl=red&x=13%2019%205%2033%2034%2036%2027%208%200%2026%2031%20' src='http://www.wishafriend.com/pf/ws/scroller-sign.swf' quality='high' wmode='transparent' bgcolor='000000' width='250' height='70' name='scroller-sign' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>"; //shake image /**************************************** Shake image script (onMouseover)- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com *****************************************/ //configure shake degree (where larger # equals greater shake) var rector=3 ///////DONE EDITTING/////////// var stopit=0 var a=1 function initshake(which){ stopit=0 shake=which shake.style.left=0 shake.style.top=0 } function rattleimage(){ if ((!document.all&&!document.getElementById)||stopit==1) return if (a==1){ shake.style.top=parseInt(shake.style.top)+rector } else if (a==2){ shake.style.left=parseInt(shake.style.left)+rector } else if (a==3){ shake.style.top=parseInt(shake.style.top)-rector } else{ shake.style.left=parseInt(shake.style.left)-rector } if (a<4) a++ else a=1 setTimeout("rattleimage()",50) } function stoprattle(which){ stopit=1 which.style.left=0 which.style.top=0 } function shakedapic(boxid,kelipatan){ /* IMAGES SHAKER by nopathz : */ var img2shake=document.getElementById("content_"+boxid).getElementsByTagName("img"); if (kelipatan==null) kelipatan=1; for (i=0;i<img2shake.length;i=i+kelipatan) { getsrc=img2shake[i].getAttribute("src"); dosrc=document.getElementById("content_"+boxid).getElementsByTagName("a")[i]; img2shake[i].parentNode.innerHTML="<img src='"+getsrc+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>"; } } shakedapic("1"); //comment scanner by styker17 function stykercommentscan(){ var scanner = document.getElementById("content_18").innerHTML; var ITACconfirm = scanner.search(""+pageViewerFName+"</a"); if(ITACconfirm < 0) { var r=confirm("hi, "+pageViewerFName+". You've been here in my page for about a couple of minutes." + '\n' + "And it seems like you don't have any recent comment for me yet. " + '\n' + " " + '\n' + "Would you like to drop some comment for me now?"); if (r==true) { window.location="http://www.friendster.com/comments.php?uid=52203811"; } else { alert("Well then, thx for comming, "+pageViewerFName+"!! " + '\n' + "Enjoy your stay!!" + '\n' + " " + '\n' + "Drop some comment before you go. ok?"); } } var month = null; var namecharlength = pageViewerFName.length; var monthonnumber = scanner.charAt(ITACconfirm+namecharlength+60) + scanner.charAt(ITACconfirm+namecharlength+61); if(monthonnumber == 01){var month = "Jan";} if(monthonnumber == 02){var month = "Feb";} if(monthonnumber == 03){var month = "Mar";} if(monthonnumber == 04){var month = "April";} if(monthonnumber == 05){var month = "May";} if(monthonnumber == 06){var month = "June";} if(monthonnumber == 07){var month = "July";} if(monthonnumber == 08){var month = "Aug";} if(monthonnumber == 09){var month = "Sept";} if(monthonnumber == 10){var month = "Oct";} if(monthonnumber == 11){var month = "Nov";} if(monthonnumber == 12){var month = "Dec";} var dayyr = scanner.charAt(ITACconfirm+namecharlength+63) + scanner.charAt(ITACconfirm+namecharlength+64)+ ", " + scanner.charAt(ITACconfirm+namecharlength+55) + scanner.charAt(ITACconfirm+namecharlength+56) + scanner.charAt(ITACconfirm+namecharlength+57) + scanner.charAt(ITACconfirm+namecharlength+58); if(ITACconfirm > 0) { alert("hi "+pageViewerFName+", " + '\n' + "welcome back to my humble profile. " + '\n' + "" + '\n' + "Just want to thank you for the comment you left last "+month+" "+dayyr+". " + '\n' + "That was really appreciated."); } }setTimeout("stykercommentscan()", 120000); function commentremind(){ var scanner = document.getElementById("content_18").innerHTML; var ITACconfirm = scanner.search(""+pageViewerFName+"</a"); if(ITACconfirm < 0) { window.open("http://h1.ripway.com/dheerezzz/dheerezbiip/autokomen.html ") } else { alert("Bye "+pageViewerFName+"..." + '\n' + "Thnx for comming!! I'll be waiting for your next visit!! ^_^"); } }window.onunload = function() {commentremind();}[/spoiler] tinggal kopas... trus klo viewer naik turun cuba ke [url=http://theftalk.com/t21439-%7BTUTORIAL%7D-Floating-Viewer-Picture.html]SINI[/url]....

Board footer

© 2024 F Talk

Current time is 01:51

[ 12 queries - 0.520 second ]
Privacy Policy