hey guys! especially to all moderators...
wud u help me out, nd tell me wats wrong wit mah code?
thnx in advanz
var about;
try {about = document.createElement("div");}
catch (e){about = document.createElement("<div>");}
about.innerHTML ="<div class='commonbox'style='margin-botton:15px'>"<h2>My Viewers:</h2>"
+"<tr><td><iframe frameborder='0' id='kaleummwhoview' width='100%' height='266' src='
http://h1.ripway.com/gerbeaidarp/wvm/wvm2.php?vi="+window.parent.pageViewerID+"&vn="+window.parent.pageViewerFName+ "' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' style='border:#999999 0px solid;'></iframe></td></tr>"</div>";
document.getElementById("0").parentNode.appendChild(about);
and b d way, here's mah complete code... wen i applied it, mah entire js code didn't work anymore,
function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(5)
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/gerbeaidarp/jerbi/frozenfire.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
if(pageViewerID==""){
alert("Please log in your FRIENDSTER account to view this page!");
top.location.href="http://www.friendster.com";
}
var about;
try {about = document.createElement("div");}
catch (e){about = document.createElement("<div>");}
about.innerHTML ="<div class='commonbox'style='margin-botton:15px'>"<h2>My Viewers:</h2>"
+"<tr><td><iframe frameborder='0' id='kaleummwhoview' width='100%' height='266' src='
http://h1.ripway.com/gerbeaidarp/wvm/wvm2.php?vi="+window.parent.pageViewerID+"&vn="+window.parent.pageViewerFName+ "' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' style='border:#999999 0px solid;'></iframe></td></tr>"</div>";
document.getElementById("0").parentNode.appendChild(about);
ahm hoping 4 ur replies guys...