Mã nguồn JavaScript, Hiệu ứng JavaScript, Ví dụ mẫu, Thủ thuật và Trợ giúp






Typing Text 2 A JavaScript that makes any text on the page to be typed out, one letter at a time. Setup is very easily, just tell the code the ID of the container of text (ie: a DIV or SPAN), and the script does the rest. HTML tags within the text to type out is supported as well.

Browsers that do not support this JavaScript will only see the text fully displayed from the start, including any HTML tags.


Danh mục: Text, Writting

DIV Layer Popup onClick This JavaScript helps you open floating layer popups. The layers alway stay on top, allowing your visitors to work in the main window while still being able to view the content of popups. The window popups stay in the same place, even when the user scrolls down the page. It also works with image maps.


Danh mục: Browser, Popup

xCollapsible & xMenu5 xCollapsible toggles an element's 'display' property when a 'trigger' element is clicked. This behavior is applied to all of the element's nested elements. It works with 2 different HTML structures. The first demo is made of nested ULs, and the second is made of nested DIVs with an H element preceding each DIV (I use this on some of the main pages of my site). Only the outermost UL (or DIV) needs an ID.

xMenu5 is an experimental version of xCollapsible with more features.


Danh mục: Menu, Multilevel menu

AJAX Page Content Loader AJAX - a very great web development technology nowaday. Use this AJAX in order to load XML and HTML files on the same website with XMLHttpRequest. And in the body section, just call the name of the file need to get page content and the element for the content page display in, usually a DIV element.


Danh mục: Ajax

AutoScroll DIV script Another script to create a auto scrolling message which move depend on scrollbars.


Auto Fading DIV script This JavaScript will create a DIV move top to down and disappear.


Danh mục: Form, Table

ShowDivId A function for dynamic form compositions from a Select option.


Danh mục: Form, Dropdown

ShowDivP2 A function for dynamic form composition from a Select option. Displays a Div from several, which may contain form items, based on a select choice; with a common second Div to all selections. Used here with ShowSub which shows the submit box after user checks input. Additionally there is a required hidden input value set in the function to a string based on the Select value.


Danh mục: Form, Dropdown

JavaScript theo ngày

Liên kết


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web
Have a break, have a manatee