[b]bro celine[/b]
lebih baik inject dulu cssnya ke js kamu
alert welcome and goodbye sangat berjalan dengan baik klo di js
coba kaya begini
[quote]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/celinekuhan/justtry.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
/****************
* welcome alert *
****************/
window.onload= function(){
Wellcome();
}
function Wellcome()
{
alert('Sapa nie');
alert('Eh teryata si '+parent.pageViewerFName+' met datang ya di profil edhu!!');
}
/****************
* goodbye alert *
****************/
function goodbye(){
alert('bye '+parent.pageViewerFName+' ..kapan2 mampir lagi ya!!');
}
parent.window.onunload=goodbye;[/quote]
kata2nya bro bisa ganti