Speed up development with full-stack environments for every branch.

Learn More

How to add jQuery blockUI

12058 Runs 39828 Views 16624 Copies


dipesh.parmar 55

published 4 years ago

    <html lang="en-US">
      <meta charset="UTF-8">
    	<title>How to add jQuery blockUI.</title>
    	<link rel="stylesheet" href="style.css" />
    	<script type="text/javascript" src="js/jQuery.js"></script>
    	<script type="text/javascript" src="js/jquery.blockUI.js"></script>
    	<script type="text/javascript" src="js/scripts.js"></script>
    	<!--HTML For Page Block Button-->
    	<h3>Demo : Page Block</h3>
            <input type="submit" value="Default Message" class="myButton" id="default">
            <input type="submit" value="Custom Message" class="myButton" id="custommessage">
    	<hr />
    	<!--HTML For Element Block Button-->
    	<h3>Demo : Element Block</h3>
    		<input type="submit" value="Block Div With Message" id="blockElement" class="myButton">
    		<input type="submit" value="Unblock Element" id="unblockElement" class="myButton">
    	<!--HTML For Element that will be blocked-->
    	<div class="blockMe" style="position: static;">
    			It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
    			Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    	<hr />
    	<!--HTML For Login PopUp Button-->
    	<h3>Login Form</h3>
    		<button id="loginButton" class="myButton">Login</button>
    	<!--Below Div will be load when above button clicked-->
    	<div style="display: none;" id="loginForm">
    		<p><label>Username:</label><input type="text" name="demo1"></p>
    		<p><label>Password:</label><input type="text" name="demo1"></p>
    Please login/signup to get access to the terminal.

    Your session has timed out.

    Dismiss (the page may not function properly).