:::: MENU ::::

Microsoft Internet Explorer Kiosk Mode

Never experienced that  Internet Explorer has other mode other than full screen,  yes there is one more option for Kiosk and that called Kiosk Mode.  This can not be find the the menu navigation, so here is the quick guide.

To start Internet Explorer in Kiosk mode, click Start, click Run, type the following command in the Open box, and then click OK

iexplore -k pageso
for example :

iexplore -k http://www.yahoo.com

Chrome user can click here to download the plugin from the chrome store to run in Kiosk mode.

This is really helpful for Kiosk based development and even for display the running information. Very good article on this by Microsoft: https://support.microsoft.com/en-us/kb/154780



Difference between jQuery ‘$(document).ready()’ and ‘$(window).load()’ function & usage

This post lead me to write, when i was using the jQuery ‘$(document).ready()’ function & struck with the issue. I was adding the css class.

To know the difference, it’s important to understand the three things:

1. $(document).ready()
Everything inside it will load as soon as the DOM is loaded and before the page contents are loaded.

<script type="text/javascript" language="javascript">
 $(document).ready(function() {
    //All the code written here will execute, when the DOM is ready 
 });
</script>

2.What is DOM?
DOM stands for Document Object Model, It defines the logical structure of documents and the way a document is accessed and manipulated. It is based on an object structure that closely resembles the structure of the documents it models. For instance, consider this table, taken from an HTML document:

<table>
  <tbody>
    <tr>
      <td>Shady Grove</td>
    </tr>
    <tr>
      <td>Over the River, Charlie</td>
    </tr>
  </tbody>
</table>

In the above example, the root node is table. The table node has two child nodes; tr and td.

DOM is the logical structure which is very much like a tree; to be more precise, which is like a “forest” or “grove”, which can contain more than one tree.

3. $(window).load()

<script type="text/javascript" language="javascript">
  $(window).load(function() {
     //All the code written here will execute, when complete page loaded  });
</script>

The window load event executes a bit later when the complete page is fully loaded, including all frames, objects and images. Therefore functions which concern images or other page contents should be placed in the load event for the window or the content tag itself.

Sometimes if you want to manipulate pictures. For example you want to vertically and horizontally align a picture and you need to get the width and height of the picture in order to do that. With $(document).ready() you won’t be able to do that if the visitor doesn’t have the image already loaded, in this case window.load can initialize the jquery alignment function when the image finishes loading.


Simple image mouseover through jQuery

Mouseover is common behavior for the images, required in any website across the pages. So it’s a good idea to keep this functionality in common script file. Simple jQuery code can make the life easier, just follow the below steps:

Step1: Add the jquery library, if not added or can be used google CDN hosted:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

Step2: Add the below code within the script tag

<script language="javascript">
$(function() {
	$("img.rollover").hover(
		function () { 
		this.src = this.src.replace("_off","_on");
		},
	        function () { 
		this.src = this.src.replace("_on","_off");
		}
	);
});
</script>

Step3: Add the css class ‘rollover’, in which image you want mouseover

<img src="imagename_off.gif" class="rollover"/>

Step4: Add the images ‘normal’ & ‘mouseover’ in same location, ending with ‘imagename_off.gif’ & ‘imagename_on.gif’.


New Buzz!

Greetings Visitor…!!!

This is my first post but I have the lots of ideas behind this. This blog mainly concern in the area of web trends & technologies and new development in web.

Feel free to nose about and keep visiting. You can drop me your comment about my Blog or to contact me click on Contact us. Lets keep good work going…….hope you will enjoy touring my site in coming time…!!!