Calendar Eightysix is an unobtrusive developer friendly calendar and datepicker, offering a better user experience for date related functionalities. The successor of the popular Vista-like Ajax Calendar.
QueryLoader which preloads images or even a whole web page with Loading bar and custom animations. Just like a flash pre-loader.
Continue reading Preload an Images and a whole Web Page with loading bar and custome animations
<form name="myForm" method="post" action="">
<input type="text" name="username" />
<input type="submit" name="Submit" value="Submit" />
Now just look on the code. You can do this with a single line code within body onLoad.
You can call this code with a function like this:
Another method is put the code inside the page after the form. See how is it.
var focusCtrl = document.forms["myForm"].elements["username"];
Alert() is a methord of the window object. Its display popup boxes with messages(‘Texts’) with OK button.
How to write text with multiple lines in an alert box?
Alert is a mathord of window object. So its can’t read HTML tags. Some commonly used escapes characters listed below:
\n : It inserts a new line
\t : tab
\r : Carriage return
\b : backspace
\f : form feed
\' : Single Quote
\" : Double Quote
\\ : Backslash
alert("Hai User\n Welcome to My website");
Click here to see the alert mentioned above.
Tab navigation has been one of the most important element in web layouts. Visitors can properly navigate through the website with a tabbed navigation. A tab navigation should help visitors to easily understand where they should be clicking. Here I have compiled a mass list of nice and sleek CSS Tab based navigation samples you can integrate on your site.