[quote=eiramesorcute]...i want to use it babyzchen,, but my prob here is what part of my JS file will i paste it?
...heres my JS file:
Code:
var css = document.createElement("link");
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/eiramesorcute/final_layout.css ");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
place=document.location.href
if(place=="http://profiles.friendster.com/user.php?uid="+pageOwnerID){
}
else{
top.location.href="http://h1.ripway.com/eiramesorcute/finalwelcome.HTM "
}
...should i have to make another js file to where i can put your codes? or above code will do?
...but how?
...kindly help me?
...tenx!
...Godbless![/quote]
[b]eiramesorcute[/b]
you can put it anywhere in your js file..
no need to make another js file..
just paste the code
at the bottom of ur css injection code..
[b]like this:[/b]
[b]}injectcss();[/b] see this on ur js file??
just paste my code underneath it..
that's it..
btw..thanks for using this code..