C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Display Date In Status Bar


Posted Date: 04 Jul 2008    Resource Type: Code Snippets    Category: Javascript

Posted By: UltimateRengan       Member Level: Diamond
Rating:     Points: 5



Display the date and time in Status Bar.Just Put this code in Body tag.


<script language="JavaScript">

function doClock() {

window.setTimeout( "doClock()", 1000 );

today = new Date();

self.status = today.toString();

}
doClock()
</script>


This code sample shows how to show the current date and time in your browsers status bar. You can try the above example in a sample html page and see how it works.

Please Refer below link


For more details, visit http://wsabstract.com/script/cutindex1.htm




Responses

Author: Satyanarayan SushilKumar Bajoria    05 Jul 2008Member Level: Gold   Points : 1
Hi,

Very nice piece of code on JavaScript.
Short and simple to understand.
It's working i test it.
This code will help for many people who are learning JavaScript.
Thanks for sharing your knowledge.
Keep posting such useful code.

Thanks and Regards
S.S.Bajoria


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Image Zoom-in and Zoom-out Using Java Script
Previous Resource: Scrolling Date in the Status Bar using Javascript
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

SPOC

Contact Us    Privacy Policy    Terms Of Use