[quote=roysmith]Hi,
Doesnt work bro... Pls advice...
function chocolate() {
var icecream = document.getElementById("controlPanelButtons");
var lollipop = "<div align='center' id=content_controlpanel_1_1></div>"+
"<input type='button' value='Send Message' onClick=\"top.location.href='http://www.friendster.com/sendmessage.php?uid=1147553'\" class=\"cincin\"><br>"+
"<input type='button' value='Send Smile' onClick=\"top.location.href='http://www.friendster.com/sendmessage.php?uid=1147553&action=sendsmile'\" class=\"cincin\"><br>"+
"<input type='button' value='Add as Friend ' onClick=\"top.location.href='http://www.friendster.com/addfriendrequest.php?uid=1147553'\" class=\"cincin\"><br>"+
"<input type='button' value='Invite to Group' onClick=\"top.location.href='http://www.friendster.com/group/inviteone.php?uid=1147553'\" class=\"cincin\"><br>"+
"<input type='button' value='Add Comment' onClick=\"top.location.href='http://www.friendster.com/comments.php?uid=1147553'\" class=\"cincin\"><br>"+
"<input type='button' value='Add Bookmark' onClick=\"top.location.href='http://www.friendster.com/bookmarks.php?action=add&uid=1147553'\" class=\"cincin\"><br>"+
"</div>";
icecream.innerHTML = lollipop;
}window.onload = function() {chocolate();}[/quote]
[b]If you are compiling this with your js codes, you don't need to add the onload function since you already have that in your wvm..You can insert the code after your [/b]
[quote]addBox("RIGHT","MY VIEWER'S",TRACKER.div.innerHTML,"tracker",null);[/quote]
[b]Use this:[/b]
<">
Last edited by mickyriora (2007-11-11 12:39:40)