Free Code JavaScript, DHTML, Tutoriels, exemples de r�f�rence et d'aide






Accessing the System Clipboard content with JavaScript Access System clipboard content - not a new issue in the based system applications (OS), but it is rather complicated with the based Web applications. Although jsB@nk introduced a code can access clipboard data but it still need the middle application - Flash.

Today, within this article, the author will help you better understand this operation with the facts, reality and solutions for each issue. Please view this article for more.


Time Picker with child window This JavaScript code - date picker helps you choose a time through a popup window. Perhaps this feature is not new on JavascriptBank.com, but you can customize this calendar control code to create new effects that require the controls through another window page.

Note: please enable popup (and ActiveX if you use Internet Explorer) to run this calendar script properly.


Cat�gorie: Time, Clock

Hate IE Notification If your visitor is using Internet Explorer as their browser, this script will politely suggest Firefox as an alternative browser, maybe your users will remove IE like you; it is not windows notification, browser alert only. Just add it to the head of your page. Very simple!


Cat�gorie: Snippet

Open Links Option II Give and display the radio option to open links in either a new window or in the same window. Simple to set-up and completely unobtrusive.


Cat�gorie: Link

Using the Target Attribute with JavaScript Sometimes you may need to open certain links in a new window. The 'target' attribute is deprecated and is therefore not allowed when using XHTML with a STRICT. But when use this JavaScript, you will be able to keep your pages valid while also using the target attribute to open new windows.


Cat�gorie: Snippet

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.


Cat�gorie: Browser, Popup

Opening New Windows When using strict doctypes the target attribute is not allowed for opening new windows. This JavaScript will accomplish that task easily and unobtrusively. The script uses the class name "non-html" so you will need to add that to the links you want to open in a new window, e.g., <a href="yourDocument.html" class="non-html">A sample file</a>

This JavaScript will not open a new window if a modifier key (ctrl/shift/etc.) is pressed while the JavaScript link is clicked. It also checks if the new window was successfully opened. If it was not, it returns true to allow the browser to open the JavaScript link in the original window.


Cat�gorie: Snippet

Make link open in new tab/window Use this simple JavaScript to make all links on your web pages open in new tab/window. Script is easy to setup, you should save them into a file to for using on many pages.


Cat�gorie: Link

Window Print Method Add a button to allow your visitors to print your Web page. Compact and simple, yet highly requested.


Cat�gorie: Snippet

Window Close Automatically Many times you just want a popup window to stay open for a few seconds, or a bit longer. Place this JavaScript snippet in the body tag of the popup window.


Cat�gorie: Snippet

JavaScript par jour

Liens


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