24 May 2010

Run browser Title JVscripts

ဘေရာ့ဆာေခါင္းစဥ္မွာညာကေနဘယ္ကိုေျပးေနတဲ့ကုဒ္ေလးမ်ား....
စပိကိုေတာ့မိမိလိုသေလာက္ေျပာင္းလဲလို႔ရပါတယ္။



အထက္ပါဂ်ာဗားစကရစ္ကုဒ္ေလးကို <head> Tag ေအာက္မွာသာထည့္ေပးဖို႔လိုပါတယ္။
ထည့္လိုက္ရင္ေတာ့ Our Movement Must Succeed ...@@@...ဆိုတဲ့စာတန္းေလးကညာမွဘယ္ကိုေျပးေနမွာပါ။
ကၽြန္ေတာ့္ဘေလာ့မွာလုပ္ထားသလိုဘယ္ျပန္ညာျပန္လုပ္ခ်င္ရင္ေတာ့ေအာက္ကကုဒ္ေတြကိုသာ


ကူးထည့္လိုက္ရံုပါပဲ..အထက္ပါကုဒ္ဒင္းေတြေကာေအာက္ပါကုဒ္ဒင္းေတြမွာပါ High Light ျပထားတာ
ေတြကလွဳပ္ရွားေနမယ့္ Speed ေတြပါပဲ...မသိေသးသူမ်ားအတြက္သာရည္ရြယ္ျပီးျပန္လည္
မွတ္တမ္းျပဳထားျခင္းသာျဖစ္ပါတယ္...

<SCRIPT language='JavaScript' type='text/javascript'>
var TitleMessage='www.TAY ZAR TAY.com';
var titleplace=1;
function scrollTitleIn() {
document.title=TitleMessage.substring(0, titleplace);
if (titleplace >= TitleMessage.length) {
titleplace=1;
window.setTimeout('scrollTitleOut()',500);
} else {
titleplace++;
window.setTimeout('scrollTitleIn()',100);
}
}
function scrollTitleOut() {
document.title=TitleMessage.substring(titleplace, TitleMessage.length);
if (titleplace >= TitleMessage.length) {
titleplace=1;
window.setTimeout('scrollTitleIn()', 200);
} else {
titleplace++;
window.setTimeout('scrollTitleOut()', 100);
}
}
scrollTitleIn();
</SCRIPT>
<script language='JavaScript'>
<!-- Begin function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < j =" i" i =" document.cookie.indexOf(" i ="=" argv =" SetCookie.arguments;" argc =" SetCookie.arguments.length;" expires =" (2" path =" (3" domain =" (4" secure =" (5" cookie =" name" expires ="=" expires=" + expires.toGMTString())) + ((path == null) ? " path=" + path)) + ((domain == null) ? " domain=" + domain)) + ((secure == true) ? " expdate =" new" visit =" GetCookie(" visit =" 0;" visit ="=" message=" Welcome to my page!" visit="=" message=" I see you came back !" visit ="=" message=" Oh, it's you again!" visit ="=" message=" You must be curious!" visit ="=" message=" You're practically a regular!" visit ="=" message=" You need a hobby!" visit ="=" message=" Nothing better to do?" visit ="=" message=" Don't you ever sleep?" visit ="=" message=" Get a life!!!">= 10) message=" Rent is due on the 1st of the month!"; alert("\n"+"Your browser has visited this page \n" +" "+visit+"\n" +" time(s)."+"\n"+"\n" +message); } function ResetCounts() { var expdate = new Date(); expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); visit = 0; SetCookie("visit", visit, expdate , "/", null, false); history.go(0); } // End -->
</script>

0 comments :

Post a Comment

Related Posts with Thumbnails

international TVs

စိတ္၀င္စားစရာတီဗီြခ်ယ္နယ္လ္တစ္ခုခုမွာေတြ႔ရင္ အဲဒီတီဗီြအကြက္ေပၚကို Cursor ေလးတင္လိုက္တာနဲ႔ သတင္းအခ်က္အလက္ေခါင္းစဥ္ေလးထြက္လာပါလိမ့္မယ္။ ကလစ္လုပ္၇င္ေတာ့မူလအဲဒီတီဗီြခ်ယ္နယ္ဆိုက္ကတီဗီြကိုစကရင္မ္ ၾကီးနဲ႔သြားေရာက္ၾကည့္ရွဳလို႔ရပါျပီ။