• Home
  • Trace mobile number (From India)
  • Entertainment
  • SiteMap
  • Home
  • ASP.NET
  • C#
  • BLOGGING
  • SQL SERVER
  • FACEBOOK
  • Entertainment
Showing posts with label Javascript Code. Show all posts
Javascript Code: Live Clock on webpage,display current date and time on webpage free javascript code.

This is a cross browser live clock script. In this script you can configure every aspect , from specifying whether to just display the time, the time plus date, to the clock's font size/color, and more. The ultimate live clock script this is!

Step 1: Add the below code where you wish the clock to appear on the page:

 


    

Step 2: On Tag onLoad event handler call the show_clock() javascript function:

<body onLoad="show_clock()">

In this tutorial, you will learn how to shake Internet Explorer window. I have already teach you about a JavaScript code from which you can shake your Mozilla Firefox window. You are gonna learn How to shake Internet Explorer window in this tutorial.

 I have a javascript that causes the browser window to shake if someone clicks a button on the site to activate a function called shake().

 This seems to work fine in Internet Explorer but it also causes the browser window to resize in Firefox.


    

you can also play with the numbers 10 and 1 in the script, you can change them to say 20 and 5 to get slightly different effects, but going to something like 50 or 100 could produce some scarey effects, don't know if i would trust such effects on my computer, javascript can get out of hand on a computer if mathmatics are not done right.
There are several ways of identifying a browser, but by using below JavaScript code you can Indentify Each and everything about browser.See the below example: 


<html>
<body>

<script type="text/javascript">
    var x = navigator
   
    document.write("CodeName=" + x.appCodeName)
    document.write("<br>")
    document.write("MinorVersion=" + x.appMinorVersion)
    document.write("<br>")
    document.write("Name=" + x.appName)
    document.write("<br>")
    document.write("Version=" + x.appVersion)
    document.write("<br>")
    document.write("CookieEnabled=" + x.cookieEnabled)
    document.write("<br>")
    document.write("CPUClass=" + x.cpuClass)
    document.write("<br>")
    document.write("OnLine=" + x.onLine)
    document.write("<br>")
    document.write("Platform=" + x.platform)
    document.write("<br>")
    document.write("UA=" + x.userAgent)
    document.write("<br>")
    document.write("BrowserLanguage=" + x.browserLanguage)
    document.write("<br>")
    document.write("SystemLanguage=" + x.systemLanguage)
    document.write("<br>")
    document.write("UserLanguage=" + x.userLanguage)
</script>

</body>
</html>
There are several ways of identifying a browser, but by using below JavaScript code you can Indentify your browser.
 

<html>
<body>
<h1>Welcome Guest !</h1>
<hr>
<p>Your browser identifies as:<br>

<script language="JavaScript" type="text/javascript">
    document.write(navigator.userAgent + ".");
</script>

</p>
</body>
</html>

You can get More details about the client's browser See the below Example:


<html>
<body>
<script type="text/javascript">
    document.write("<p>Browser: ")
    document.write(navigator.appName + "</p>")

    document.write("<p>Browserversion: ")
    document.write(navigator.appVersion + "</p>")

    document.write("<p>Code: ")
    document.write(navigator.appCodeName + "</p>")

    document.write("<p>Platform: ")
    document.write(navigator.platform + "</p>")

    document.write("<p>Cookies enabled: ")
    document.write(navigator.cookieEnabled + "</p>")

    document.write("<p>Browser's user agent header: ")
    document.write(navigator.userAgent + "</p>")
</script>
</body>
</html>
Here is the nice perfect menu control which is made by using JavaScript you can put it on your page and have a menu with the colors that you want.

Just see the code and use the code .

    
Older Posts Home

Most Read

  • How to Capitalize the First Letter of All Words in a string in C# ?
  • keyboard shortcuts For Windows
  • List Of Best Free WordPress Plugins : 2012
  • Read Write XML Data-Read Write XML File Using C#, VB.NET In Asp.Net
  • How to Shake Internet Explorer - Javascript Code
  • How to Choose a Nice Topic for your Blog .
  • Free Search Engine Submission List ,search engine optimization
  • Number validation in Textbox of ASP.NET Using Regular Expression validator
  • Javascript:Percentage Gain Javascript Calculator
  • .Net Interview Questions and Answers on OOPS | OOPS Frequently Asked Questions
Google
Custom Search Bloggers - Meet Millions of Bloggers

Join Us On FaceBook

  • Recent Posts
  • Comments

All Topics

  • ▼  2014 (10)
    • ▼  January (10)
      • ASP.NET Interview Question : difference between ge...
      • Dot Net Framework:What is the .NET Framework?
      • Dot NET Framework - .NET Framework Interview Quest...
      • What is the differences between MVC2,MVC3 and MVC4...
      • Is try catch is using a good coding (exception han...
      • What is the use of Just - In - Time (JIT)?
      • What is GUID , why we use it?,how to create a GUID
      • How to Rename database table column in sqlserver
      • How to Rename Database in sqlserver
      • Asp.net Example Calendar Control
  • ►  2013 (14)
    • ►  October (1)
    • ►  April (2)
    • ►  March (11)
  • ►  2012 (142)
    • ►  December (25)
    • ►  October (1)
    • ►  September (9)
    • ►  August (2)
    • ►  July (7)
    • ►  June (2)
    • ►  April (5)
    • ►  March (27)
    • ►  February (27)
    • ►  January (37)
  • ►  2011 (23)
    • ►  December (3)
    • ►  November (6)
    • ►  October (12)
    • ►  September (2)
  • ►  2009 (1)
    • ►  June (1)

Tips & Tricks

  • What is good One Blog and Many Categories, or Many Blogs with One Categories?
  • Adding Twitter tweet button to each Blogger posts.
  • How to Choose a Nice Topic for your Blog .
  • Embedding YouTube Videos ,movie in your blog
  • Facebook iFrame Apps – Getting Rid of Scrollbars
  • Facebook Analytics:How to Set Up Your Website or Blog with Facebook Insights for Domains
  • How To Add Perfect Share Box to Blogger
  • Blogger Free Images Hosting Tip,Free unlimited bandwidth image hosting for Blogger blogs
  • Add “Link to this post” codes below Each blogger posts
  • Free Search Engine Submission List ,search engine optimization
  • Adsense Tips for Maximum CTR
  • List Of Best Free WordPress Plugins : 2012
2012 tectopix. All rights reserved.
Designed by tectopix