Alert Box Snippets


25 March, 2012   

JavaScript Codes to show alert box on mouse over

23 March, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

23 May, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

03 April, 2011   

Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This script placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.

Get number of paragraphs in column 2 and display that number in an alert box. Including the one in the red box.

11 February, 2012   

JavaScript Code to show a message box or a alert window when page opens

28 November, 2011   

An HTML scroll box is a box that grows scroll bars when it's contents are too large to fit in the box.

02 February, 2011   

Basic Alert

22 February, 2012   

HTML code for Scroll Box. this box will grows scroll bars when it's contents are too large to fit in the box.

13 August, 2011   

Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...

12 June, 2013   

The box shadow property is one of the new things that CSS 3 brings us and one of the most wanted.

28 November, 2011   

An example of scroll box that used to view a image

17 November, 2012   

JavaScript code example for converting a string to all upper or lowercase

22 September, 2012   

Javascript code to convert a string to all upper or lowercase

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.

26 November, 2018   

Cross-browser method for testing for pop-up blockers.

10 April, 2012   

Protect your web page content with JavaScript code

JavaScript Code example to protect Your Web Page Content

29 August, 2011   

Be careful that these boxes aren't sitting within another element that has a background, otherwise the negative z-index values (required for this to work) will force the shadows underneath that and not show up.