[b]kielmaru_07[/b]
[quote]// css injection
var css = document.createElement("link");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","http://h1.ripway.com/kielmaru07/hidehide.css");
document.getElementsByTagName("head")[0].appendChild(css);
//onload handler
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
function onProfileLoad() {[/quote]
try 2 change ur css injection into this:
[quote]//Css injection
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/kielmaru07/hidehide.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();[/quote]
and ur onloadhandler into this:
[quote]//onload handler
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};[/quote]
Last edited by mabuhay (2008-06-16 08:40:06)