Pages: 123

  2008-02-23 00:01:25

Ephemeral
» FTalkElite
FTalk Level: zero
4669
0
1969-12-31

[b]Preview:[/b] [img]http://i138.photobucket.com/albums/q279/jsesbreno/ANtinips.jpg[/img] [b]Code: [/b] [quote]var apcbe= "<br>"+ "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width=

[b]Preview:[/b] [img]http://i138.photobucket.com/albums/q279/jsesbreno/ANtinips.jpg[/img] [b]Code: [/b] [quote]var apcbe= "<br>"+ "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='85%' height='300' src='http://www[b]?[/b].cbox.ws/box/?boxid=[b]??????[/b]&boxtag=[b]????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br><form name='cbox'style='background-color:transparent;border:0px ;font-family:Papyrus;font-weight:bold;font-size:12px;color:#ffffff;' target='sbox' action='http://www[b]?[/b].cbox.ws/box/?boxid=[b]??????[/b]&boxtag=[b]????[/b]&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><a style='position:relative;right:98px;color:silver;font-size:10px'>Message:</a></br><input type='text' name='pst'maxlength='200' class='cboxMsgArea' style='width:245px;height: 35px; border-width:1px!important;border-style:solid!important;font-family:Papyrus;font-weight:bold;font-size:12px; border-color:gray!important; background-color: transparent!important; color: #ffffff!important; overflow: auto;'></br><a style='position:relative;right:45px;color:silver;font-size:10px'>Avatar/E-mail: (Optional)</a></br><input style='width:245px;height: 20px;border-width:1px!important;border-style:solid!important;font-family:Papyrus;font-weight:bold;font-size:11px; border-color:gray!important;background-color: transparent!important; color: #ffffff!important;' type='text' maxlength='200' name='eml' size='20' maxlength='50'></br><input type='submit' class='cboxButtons' value='Submit'style=' background-color: transparent!important; color: #ffffff!important; overflow: auto;width:95px;background-color:transparent;border:none;font-family:Papyrus;font-weight:bold;font-size:12px;color:#ffffff;' name='asa'><input class='cboxButtons' type='reset' value='Clear'style='width:95px;background-color:transparent;border:none;font-family:Papyrus;font-weight:bold;font-size:12px;color:#ffffff; 'maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh'style='width:95px;background-color:transparent;border:none;font-family:Papyrus;font-weight:bold;font-size:12px;color:#ffffff; name='sbox' onClick='window.sbox.location.href=document.getElementById(\"sbox\").src'>"+ "<br>"+ "<br>"+ "</div>"; addBox(null,apcbe,"ul_cbox_content","right");[/quote] Apply Inside Onload handler [b] Example:[/b] [quote]function onProfileLoad() { [b] //Add the Code Below This Text[/b] } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function addBox(head,code,id,siblingafter) { 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;}[/quote] [b]Advance users:[/b] Apply in Anti Poser Cbox Code. [quote]</br><a style='position:relative;right:45px;color:silver;font-size:10px'>Avatar/E-mail: (Optional)</a></br><input style='width:245px;height: 20px;border-width:1px!important;border-style:solid!important;font-family:Papyrus;font-weight:bold;font-size:11px; border-color:gray!important;background-color: transparent!important; color: #ffffff!important;' type='text' maxlength='200' name='eml' size='20' maxlength='50'></br>[/quote] Works Best With Who Viewed Me and Force Login Script. [b]Tip:[/b] On the code you might have noticed the position:relative and such, just tamper with the left right px to position inputs and indicators. To Edit C.S.S. of added box, use <">and apply in .css extension. [b]Question:[/b] What is a cbox? [b]Answer:[/b] Register at http://cbox.ws [b]Question:[/b] How to enable cbox avatar linking? [b]Answer:[/b] Login [Cbox Account Go To ››CBox Options] After [››CBox Options] go to Post Options Find this area. Images & Sounds [?] [] Allow avatars []Sound effect Check the Allow avatars and [Save] or... [b]Answer:[/b] http://theftalk.com/t16752-Tweak-your-cbox.html

Last edited by Ephemeral (2008-03-03 06:13:27)

Pages: 123

Board footer

© 2024 F Talk

Current time is 16:08

[ 12 queries - 0.011 second ]
Privacy Policy