Go freelancer is the largest online community for programmers to learn, share their knowledge and advance their careers.
Here you go: https://www.youtube.com/c/gofreelancertutorials
Friday, 25 December 2015
Wednesday, 23 December 2015
Tuesday, 22 December 2015
Monday, 21 December 2015
Sunday, 8 November 2015
Thursday, 5 November 2015
Thursday, 15 October 2015
Wednesday, 2 September 2015
Monday, 24 August 2015
Friday, 31 July 2015
Thursday, 30 July 2015
Wednesday, 29 July 2015
Tuesday, 28 July 2015
Saturday, 25 July 2015
Thursday, 23 July 2015
Friday, 17 July 2015
Thursday, 16 July 2015
Saturday, 11 July 2015
Tuesday, 7 July 2015
Thursday, 23 April 2015
Tuesday, 21 April 2015
Sunday, 19 April 2015
Thursday, 16 April 2015
Wednesday, 15 April 2015
Monday, 13 April 2015
Friday, 10 April 2015
Thursday, 9 April 2015
Wednesday, 8 April 2015
Thursday, 2 April 2015
Wednesday, 1 April 2015
Friday, 13 March 2015
Open ( Show ) jQuery UI Modal Dialog Popup Window on Page Load
In this article I will explain how to create Modal Popup Window using jQuery UI Modal Dialog in ASP.Net and how to open the modal popup as soon as page loads in browser.
Styles:
<style type="text/css">
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
z-index: 100;
display: none;
}
.cnt223 a{
text-decoration: none;
}
.popup{
width: 100%;
margin: 0 auto;
display: none;
position: fixed;
z-index: 101;
}
.cnt223{
min-width: 600px;
width: 600px;
min-height: 150px;
margin: 100px auto;
background: #f3f3f3;
position: relative;
z-index: 103;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
}
.cnt223 p{
clear: both;
color: #555555;
text-align: justify;
}
.cnt223 p a{
color: #d91900;
font-weight: bold;
}
.cnt223 .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.cnt223 .x:hover{
cursor: pointer;
}
</style>
Scripts:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript">
$("document").ready(function () {//if use ready,function will in page load
var overlay = $('<div id="overlay"></div>');
overlay.show();
overlay.appendTo(document.body);
$('.popup').show();
$('.close').click(function () {//this is trigger when close button click
$('.popup').hide();
overlay.appendTo(document.body).remove();
return false;
});
});
</script>
Body Container:
<div class="cnt223">
<!-- Before next step i planning to add my custom css and jquery library link i have my style if you want to downdload please check in description -->
<img src="images/close.png" alt="quit" class="x" id="x" />
<p>
This is the popup using css and jquery script...
<br /><br />
</p>
<a class="close" href="#" >Close</a>
</div>
</div>
Styles:
<style type="text/css">
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
z-index: 100;
display: none;
}
.cnt223 a{
text-decoration: none;
}
.popup{
width: 100%;
margin: 0 auto;
display: none;
position: fixed;
z-index: 101;
}
.cnt223{
min-width: 600px;
width: 600px;
min-height: 150px;
margin: 100px auto;
background: #f3f3f3;
position: relative;
z-index: 103;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
}
.cnt223 p{
clear: both;
color: #555555;
text-align: justify;
}
.cnt223 p a{
color: #d91900;
font-weight: bold;
}
.cnt223 .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.cnt223 .x:hover{
cursor: pointer;
}
</style>
Scripts:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript">
$("document").ready(function () {//if use ready,function will in page load
var overlay = $('<div id="overlay"></div>');
overlay.show();
overlay.appendTo(document.body);
$('.popup').show();
$('.close').click(function () {//this is trigger when close button click
$('.popup').hide();
overlay.appendTo(document.body).remove();
return false;
});
});
</script>
Body Container:
<div class="cnt223">
<!-- Before next step i planning to add my custom css and jquery library link i have my style if you want to downdload please check in description -->
<img src="images/close.png" alt="quit" class="x" id="x" />
<p>
This is the popup using css and jquery script...
<br /><br />
</p>
<a class="close" href="#" >Close</a>
</div>
</div>
Subscribe to:
Posts (Atom)