
credits:
http://www.labpixies.com, marfillaster's addbox
preview: 
when clicked:
this widget requires addbox function (js).. coz i tried applyin it directly to my page but doesnt work
paste this code and generate it at master marfillaster addbox generator..
code:
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0px; padding:0px; border:1px solid #000000;"><tr><td style="padding-left:10px; height:15px; line-height:15px; background-color:#000000;"><a href="http://www.labpixies.com" style="font-family: Arial,Verdana; font-size:12px; font-weight:bold; text-align:left; text-decoration:none; color:#ffffff;">Gadget by LabPixies.com</a></td></tr><tr><td style="padding:10px;"><iframe allowTransparency="true" align="middle" scrolling="no" width="300" height="312" frameborder="0" src="http://www.labpixies.com/campaigns/youtube/youtube.html"> </iframe></td></tr></table>
or use the old addbox.. (old coz this addbox is already 90 yrs old
joke)
function onProfileLoad() {
//onload handler
var ysearch="<iframe allowTransparency='true' align='middle' scrolling='no' width='300' height='312' frameborder='0' src='http://www.labpixies.com/campaigns/youtube/youtube.html'> ";
addBox("RIGHT"," youtube search",ysearch,"ysearch",null);
}
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
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
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);
}
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
if(handlerparam) handlerparam=","+handlerparam;
else handlerparam="";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}");
httprequest.open( type, url, cont);
if(type=="POST") {
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
}
httprequest.send(param);
}
if anyone here knows how to tweak the background color for it.. 
Last edited by niknok_1999 (2008-04-20 13:05:42)




enx for sharin.
nice one.
enx for that.
kip on sharin.

-Offline- |

^ thanks
i wish its possible to tweak the background color for it.. anyone?? 



waaahhh...gud job
thanks 4 this bro.
keep it up
it works 2 my page
remarks: ![]()
![]()


thanks for sharing! good work! keep it up! 
-Offline- |

that's was nice
thank's 4 sharing dude 


nice.. it works on my other proffy... thanks for sharing!
-Offline- |

weeehhh!.,
haha... nice one!.,
hehe.. i'm looking for this actually!.,
hehe..
kip on sharing kk?!.,

-Offline- |
Thanks broo.. 



-Offline- |

wow thanks for sharing... welcome back... too.. 

:arrow:its good...
tnx for sharing it..
-Offline- |

it really works!!
-Offline- |

^ avoid double post....
thx 4 share....

very cool add on...

-Offline- |

wow... thnx 4 this.......
thnxx for sharing.....![]()
-Offline- |

This Add-On is really great & unique as well. It will obviously make your profile viewers envy.
-Offline- |