Posts

Showing posts from April, 2012

Exception Handling

In this section we will discuss about the following,  1) What is Exception Handling. 2) Structure of Exception Handling. 3) Types of Exception Handling.  1) What is Exception Handling? PL/SQL provides a feature to handle the Exceptions which occur in a PL/SQL Block known as exception Handling. Using Exception Handling we can test the code and avoid it from exiting abruptly. When an exception occurs a messages which explains its cause is recieved. PL/SQL Exception message consists of three parts.  1) Type of Exception 2) An Error Code 3) A message    By Handling the exceptions we can ensure a PL/SQL block does not exit abruptly.   2) Structure of Exception Handling. The General Syntax for coding the exception section    DECLARE    Declaration section  BEGIN    Exception section  EXCEPTION  WHEN ex_name1 THEN     -Error handling statem...

How to embed high resolution images into HTML

Image
Have you ever wanted to insert a high resolution image into your web page - and make it so it's easy to zoom in so that people can see the details? The answer is to use JavaScript or AJAX to progressively hand out the correct sized image - rather than loading the full sized (large file) at the start.  This can be a bit tricky - so here's a great free service that does it for you. Zoom.it allows you to embed a large image (must be already hosted on your website) and adds the necessary controls to let your viewers zoom in and out. Check it out at  http://zoom.it  all you need is the URL of your large image, and to add the HTML code that zoom.it supplies into your web page at the appropriate place. Have a play with the example below...