दोस्तो
हम कई बार देखते हैं की लोग जब भी कोई पेज खोलते हैं तो उन्हें जो पेज
उन्होंने खोला हैं वो उस पेज पर कुछ अनोखी बात देखना चाहते हैं जैसे की
उनके सामने अचानक ही कोई चीज आ जाए या, कुछ बढिया चीज वेब पेज पर दिखाई दे.
इस लिए मैंने नेट पर एक साईट पर एक java script देखी, जो status bar से आपके पेज का हर लींक लगभग गायब कर देता हैं और उस लींक की जगह पर आप अपना एक अच्छा सा संदेश लिख सकते हैं,----जैसे की--------Welcome To Shreesh Computer World-----------बस नीचे दिए गए कोड को अपने वेबपेज या ब्लॉग में कहीं भी डाल दे और अपने वेब पेज या ब्लॉग को एक बार रीफ्रेश जरूर कर ले.
<script language="JavaScript"><!--
var hellotext=" Welcom To Shreesh Computer World "
var thetext=""
var started=false
var step=0
var times=1
function welcometext()
{
times--
if (times==0)
{
if (started==false)
{
started = true;
window.status = hellotext;
setTimeout("anim()",1);
}
thetext = hellotext;
}
}
function showstatustext(txt)
{
thetext = txt;
setTimeout("welcometext()",4000)
times++
}
function anim()
{
step++
if (step==12) {step=1}
if (step==1) {window.status='>>=========='+thetext+'==========<<'}
if (step==2) {window.status='=>>========='+thetext+'=========<<='}
if (step==3) {window.status='==>>========'+thetext+'========<<=='}
if (step==4) {window.status='===>>======='+thetext+'=======<<==='}
if (step==5) {window.status='====>>======'+thetext+'======<<===='}
if (step==6) {window.status='=====>>====='+thetext+'=====<<====='}
if (step==7) {window.status='======>>===='+thetext+'====<<======'}
if (step==8) {window.status='=======>>==='+thetext+'===<<======='}
if (step==9) {window.status='========>>=='+thetext+'==<<========'}
if (step==10) {window.status='=========>>='+thetext+'=<<========='}
if (step==11) {window.status='==========>>'+thetext+'<<=========='}
setTimeout("anim()",100);
}
welcometext();
// --></script>
0 comments:
Post a Comment
ये पोस्ट आपको कैसा लगा इस बारे में कमेंट बॉक्स में अपनी राय जरुर लिखे। यदि ये पोस्ट आपको बेहतर लगा हो तो इसे Like करें और अपने दोस्तों में share करें।
प्रिय मित्र, आप इसी तरह इस ब्लॉग से जुड़े रहे।
धन्यवाद