HomeHome  portal1portal1  GalleryGallery  SearchSearch  Link Rotation  Donate  RegisterRegister  Log inLog in  


Global Announcement

FriendsterAddictz Forum is on-search for Moderators. For more information, click THIS.
Please promote FriendsterAddictz Forum.


New Antiposer Chatbox (Improved)

View previous topicView next topicGo down
Author Message
switpotato
Activated
avatar


Age : Registration date : 2008-03-17 Number of posts : 24 Location :
Character sheet
Tagline: Proud Member



PostSubject: New Antiposer Chatbox (Improved) Tue May 06, 2008 3:59 am

preview: http://profiles.friendster.com/66264788

logout urself to test the code...


js part:
Code:

function rejectPost(){
if(pageViewerID==""){
alert("Please log in to your Friendster account to use this chatbox.")
customCbox.innerHTML="<input type='button' id='chatLog' value='Click here to log in to your account' onclick='logPoster()'>"
}
}
function logPoster(){
top.location.href="http://www.friendster.com/login.php?next=%2Fuser.php%3Fuid%3D12345678&cookie=1"
}
navdivider.innerHTML+="<iframe src='about:blank' width='0' height='0' style='visibility:hidden'></iframe>"
+"<div id='cboxdiv' class='commonbox cboxdiv'>"
+"<h2>"+pageOwnerFName+"'s Chatbox</h2>"
+"<br><div id='content_cboxdiv' align='center'>"
+"<iframe frameborder='0' src='http://www2.cbox.ws/box/?boxid=1711952&boxtag=baw5wj&sec=main' scrolling='auto' allowtransparency='yes' id='mychat' name='cboxmain' class='mntb'>"
+"</iframe>"
+"<form id='customCbox' name='apCbox_form' target='cboxmain' action='http://www2.cbox.ws/box/?boxid=1711952&boxtag=baw5wj&sec=submit' method='post' class='frmtb'>"
+"<input type='hidden' name='nme' value='"+pageViewerFName+"'>"
+"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"
+"<input type='text' maxlength='300' name='pst' size='37' class='cText' id='chatMessage' onfocus='rejectPost()'>"
+"<input type='submit' class='cButton' id='chatGo' value='Go' name='sub'>"
+"<input type='reset' class='cButton' id='chatClear' value='Clear' onclick='reset()'>"
+"</form>"
+"<br></div>"
+"</div>"
document.getElementById[b][color=#006400]("2").[/color][/b]parentNode.appendChild(cboxdiv)

edit the scr= url of chatbox part to ur own chatbox id
edit the last part to control the position where u want it to appear

css part:

Code:
#cboxdiv
{
color:#ffffff;
background:#000000! important;
border:1px solid #999999;
}

#cboxdiv h2

{
color:#ffffff;
background:red ! important;
border:1px solid #999999;
padding:2;
margin:2;
margin-top:5;
}


#mychat {
width:95%;
height:200;
border:1px solid #999999;
background:#333333;
}

.cText {
color:red ! important;
background:#000000;
border:1px solid #999999;
padding:2;
margin:2;
margin-top:5;
}
#chatGo {
color:red! important;
font-weight: bold;
background:#000000;
border:1px solid #999999;
padding:2;
margin:2;
margin-top:5;
}
#chatClear {
color: red! important;
font-weight: bold;
background:#000000;
border:1px solid #999999;
padding:2;
margin:2;
margin-top:5;
}
#chatLog {
color:#ffffff;
background:#000000;
border:1px solid #999999;
padding:2;
margin:2;
margin-top:5;
}


code provided by: Angell
dont repost to the other forum w/o proper permission
Back to topGo down
View user profile
jObeLLe
Senior Member
Senior Member
avatar

Female
Age : 22 Registration date : 2008-04-28 Number of posts : 268 Location : Philippines
Character sheet
Tagline: Proud Member



PostSubject: Re: New Antiposer Chatbox (Improved) Fri May 09, 2008 11:34 am

tnx 4 sharin
Back to topGo down
View user profile
mc_dlp13
Promoter
avatar

Male
Age : 27 Registration date : 2008-08-05 Number of posts : 210 Location : LoS aNgeLes , caLi



PostSubject: Re: New Antiposer Chatbox (Improved) Tue Aug 05, 2008 3:04 am

thanks ate ganda nang mga codes mu
Back to topGo down
View user profile
Sponsored content








PostSubject: Re: New Antiposer Chatbox (Improved)

Back to topGo down

New Antiposer Chatbox (Improved)

View previous topicView next topicBack to top
Page 1 of 1

Permissions in this forum: You cannot reply to topics in this forum
FriendsterAddictz :: FRIENDSTER SECTION :: Friendster Codes and Tutorials -