Wednesday, September 27, 2017

Interview Qns

What is the use of The jQuery noConflict() Method?


The noConflict() method releases the hold on the $ shortcut identifier, so that other scripts can use it.

You can of course still use jQuery, simply by writing the full name instead of the shortcut:
==================================================
What is the difference between Team site and Publishing Site?


What are the difference between $(window).load() and $(document).ready() functions


 document.ready is a jQuery event, it runs when the DOM is ready, e.g. all elements are there to be found/used, but not necessarily all content. 

  window.onload fires later (or at the same time in the worst/failing cases) when images and such are loaded, so if you're using image dimensions for example, you often want to use this instead.

<html>
<head>
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
   
$(document).ready(function() {
 // executes when HTML-Document is loaded and DOM is ready
 alert("document is ready");
});


$(window).load(function() {
 // executes when complete page is fully loaded, including all frames, objects and images
 alert("window is loaded");
});

</head>
<body>
    <iframe src="http://stackoverflow.com"></iframe>
</body>
</html>

===================================================

 What is the master page used in sharepoint 2013 and 2010?



What is the master page used in Team Site and Publishing site templates?


Differences between SharePoint’s Oslo and Seattle master pages?

Seattle:
      1. Seattle is designed for intranet team collaboration portal with more features such as  social, content\site navigation and management,etc.
     2. There is a Left navigation is exist and we can set Top navigation for top level sites and sub sites.

Oslo:      

1. Oslo master page is designed for publishing site which focus on page layout and content rendering.
2. moving the left navigation to the top, and removing the top navigation all together. Oslo has a wider layout for your content.







No comments:

Post a Comment