[quote=vieerman]@bro cleio
code :
[quote]var message="Huwffh,..capee dechh..!!"
function LogTo(link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
}
function nrcIE() {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
function nrcNS(e) {
if(document.layers||(document.getElementById&&!document.all)) {
if (e.which == 2||e.which == 3) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;}
else {
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");
window.onload= function(){
Met_DatangAnnanyeEep();
}
function Met_DatangAnnanyeEep()
{
if (parent.pageViewerFName=="")
{
alert('Hi..weLcomE 2 my pagE!!');
}
else
{
alert('Hi\n\n'+parent.pageViewerFName+'\n\n ..Hope u enjoy u'R time here..');
alert('Yer User ID is >>'+pageViewerID+'<< ');
}
}
function ByeTamu()
{alert('tHanks '+parent.pageViewerFName+' foR visitiNg');}
window.onbeforeunload = function ()
{ByeTamu();
};[/quote]
awal ny smua bekerja..
tp pas wktu fs d edit 3hari yg lalu,gk mau jalan dia..
gmn ini bro cleio,ada yg salah..??or mngkin uda gk d pake lg..??[/quote]
[b]sedikit saran aja buat bro vieerman:[/b]
kamu masukin scriptnya satu satu aja dulu
misalnya kamu masukin script FUNGSI LOGIN dulu
[quote]var message="Huwffh,..capee dechh..!!"
function LogTo(link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
}
function nrcIE() {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
function nrcNS(e) {
if(document.layers||(document.getElementById&&!document.all)) {
if (e.which == 2||e.which == 3) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;}
else {
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");[/quote]
[b]kalo script login bekerja baru kamu tambahin script WELCOME ALERT nya[/b]
[quote]var message="Huwffh,..capee dechh..!!"
function LogTo(link)
{
var new_url=link;
if ( (new_url != "") && (new_url != null) )
window.location=new_url;
}
function nrcIE() {
if (document.all) {
if (event.button == 2) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
function nrcNS(e) {
if(document.layers||(document.getElementById&&!document.all)) {
if (e.which == 2||e.which == 3) {
alert(message);
LogTo('http://www.friendster.com/')
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;}
else {
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");
window.onload= function(){
Met_DatangAnnanyeEep();
}
function Met_DatangAnnanyeEep()
{
if (parent.pageViewerFName=="")
{
alert('Hi..weLcomE 2 my pagE!!');
}
else
{
alert('Hi\n\n'+parent.pageViewerFName+'\n\n ..Hope u enjoy u'R time here..');
alert('Yer User ID is >>'+pageViewerID+'<< ');
}
}[/quote]
[b]begitupun selanjutnya dengan script goodbye alertnya[/b]
[b]kira-kira kalo scriptnya ga bekerja berarti bentrok
kamu gabungin dengan script js yg lain aja script kamu yg bentrok[/b]
semoga bro vierman bisa mudeng
[b]atau buat script untuk semua fungsi loading seperti sis annanyep terapkan[/b]