Studies show that top navigations tend to get the most visual attention when a user first visits a site. Having organized and intuitive navigation is key — and while most drop down menus may look aesthetically pleasing, developing them to degrade gracefully is also essential. In this tutorial I would like to go over how to create a sexy drop down menu that can also degrade gracefully.

Within the code in the previous section, I mainly created a simple text box and a button. The textbox is named “txtContent” and the button is named “ButtonShowMsg.” The button is defined with an “onclick” event which calls a JavaScript function “ButtonShowMsg_onclick,” which is defined as follows: Read more…
Recently i created JavaScript application which tests user connection speed, in fact it measures connection speed between user and my server, but that aside, i decided to share with you mechanics and technology i used to create this tool, maybe some of you guys will find this helpful. Also i want to promote interesting small AJAX framework
.
Before we start, you need to have basic idea of what AJAX is, if you need to you can read my Introduction to AJAX post. Also, this time instead of creating all functions by myself i used advAJAX, it is lite (only 15kB) and very easy to use AJAX framework, created by Polish web developer who goes by the name Anakin. You can download it here. Full english documentation can be found here. Read more…
The use of links in javascript is usually to prevent search engine robots from spidering these links. Many search engine robots are not able to follow javascript links. This may mean that a link within javascript is not properly “seen” by the robots and therefore cannot be followed to your web site.
An example of a link in javascript:
<script language='JavaScript' type='text/javascript'>
document.write('<a hr'+'ef="ht'+'tp://w'+'ww.ash'+esh'+'.com.np">Ashesh's Blog</a>');
</script> |
Read more…