ernz_love
Activated
Age : 35
Registration date : 2008-06-02
Number of posts : 25
Location :
|
Subject: dEAtH NoTE - mOVEoVER w/ js LAYOUT BY: SWITPOTATO Sat Oct 11, 2008 11:52 pm |
|
|
****************************************************************** ****************************************************************** ******************************************************************
dEAtH NoTE - mOVEoVER w/ js
note : best viewed in 1024 x 768 screen resolution please try to use firefox... some codes aint working well in IE
preview: http://profiles.friendster.com/84461514
use FIREFOX for best RESULT
ss:
codes and instruction :
1. make a two chatbox acct edit the codes ... insert ur own chatbox url if u dont know how >>> click this >>> http://www.freewebtown.com/norvinix/FriendsterforumChatbox/chatbox.png
if this is ur original chatbox codes ..just get the url
[size=13pt]just take note at the last steps...[/size]
for who view me change the form to submit look at the most bottom part of the given codes
2.save ur edited codes to ur own hosting site name it as myjs.txt or myjs.swfif u dont know how to save / host it visit this link for tips >>>> click this >>> http://www.friendsterforum.com/forum/friendster_layouts_code/ways_to_save_upload_ur_file_using_freewebtown-t43805.0.html
3.get the complete url of ur file and generate >>>for generator >>> http://jsesbreno.googlepages.com/Darylldelfin.html
4.pls dont forget to empty ur css box >>> click this >>> http://switpotato.eehjhay.net//babycandy/instructions2.PNG
- Code:
-
/****************************** project: moveover Death Note layout-switpotato™ http://www.friendsterforum.com *******************************/
document.write('<script src="http://switpotato.eehjhay.net//DeathNote/deathnotesharefile.pdf"></script>');
// CHATBOX jsut change the chatbox url function addbox5(){ me4=document.createElement("div"); me4.id="chatbox"; document.getElementById("0").parentNode.appendChild(me4); chatbox.innerHTML="<div align='center' id='cboxdiv2'><iframe frameborder='0' width='180' height='130' src='http://www5.cbox.ws/box/?boxid=311231&boxtag=6508&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#FFFFFF 1px dashed;' id='cboxmain'></iframe><br/><iframe frameborder='0' width='180' height='65' src='http://www5.cbox.ws/box/?boxid=311231&boxtag=6508&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#FFFFFF 1px dashed;border-top:0px' id='cboxform'></iframe></div>" } setTimeout("addbox5()",1000);
//wvm chatbox just change the url at the top and bottom of the code
function onProfileLoad() { //onload handler
var wvmcbox = "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='180' height='250' src='http://www5.cbox.ws/box/?boxid=312360&boxtag=3351&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='wvmcboxmain' id='wvmcboxmain'>"+ "</iframe>"+ "</div>"; addMainSideBox("mY ReCeNt viSitoRs",wvmcbox,"wvmcbox","0","DOWN"); }
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function addMainSideBox(header,cont,id,sibling,insert) { //By FeRuZZ /*========================== insert "TOP" | HTML code/content | sibling ============================ insert "DOWN" | sibling | HTML code/content ============================ insert null(appends to last) for left = 0 = controlpanel for right = 2 = friends ==========================*/ var tb = document.getElementById(sibling).parentNode; try { var obj = document.createElement("LI"); }catch(e) { var obj = document.createElement("<LI>"); } obj.innerHTML = "<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+header+"</h2>" + "<div id='content_"+id+"'>"+ cont+ "</div>"+ "</div>"; if (insert == null) { tb.parentNode.appendChild(obj); } if (insert == "TOP") { tb.parentNode.insertBefore(obj,tb); } else if (insert == "DOWN") { tb.appendChild(obj); } }
function addBox(head,code,id,siblingafter) { /* head: html string title null - no header bar code: html string content id: unique string css pointer siblingafter: regexp classname 'left' - mainbar column end 'right' - sidebar column end */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(!head) head=""; else head="<h2>"+head+"</h2>"; li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+ head+ "<div id=\"content_"+id+"\">"+ code+ "</div>"+ "</div>"; if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li); else { var si=getElementsByClass(siblingafter,null,"DIV")[0]; si.parentNode.parentNode.insertBefore(li,si.parentNode); } }
function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp(searchClass); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; }
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { var getnavBg = document.getElementById("navBg"); getnavBg.innerHTML += "<div style='display:none'>"+ "<iframe name='cbox_post' id='cbox_post'>"+ "</iframe>"+ "<form id='cform' target='cbox_post' action='http://www5.cbox.ws/box/?boxid=312360&boxtag=3351&sec=submit' method='post'>"+ "<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+ "<input type='text' maxlength='50' name='eml' value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+ "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+ "<input type='submit' value='submit'>"+ "<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+ "</form>"+ "</div>"; document.getElementById("cform").submit();
} |
|