New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Lock
// Iphone Javascript Clock
var timerID = null;
var timerRunning = false;
function stopclock() {
    if (timerRunning)
        clearTimeout(timerID);
    timerRunning = false;
}
function showtime() {
    var timeValue;
by Arjan   May 18, 2010 @ 5:40am
37 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="jQueryBlockUi._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
    <script type="text/javascript" src="http://malsup.com/jquery/block/jquery.blockUI.js?v2.28"></script>
</head>
<body>
by Elijah Manor   December 09, 2009 @ 10:48am
455 Views
no comments
 
CSS
.smallprogress,.smallprogressright
{
    width: 16px;
    height: 16px;
    background-image: url(images/loading_small.gif);
    background-repeat: no-repeat;        
    display: inline-block;    
    xdisplay: none;    
}
.smallprogressright { float: right }
by Rick Strahl   September 14, 2009 @ 2:21pm
164 Views
no comments
 
C#
private static object _SyncLock = new object();
 
public TableInfo<TEntity> TableInfo
{
  get 
  {
      if (_TableInfo == null)
      {
          lock (_SyncLock)
          {
by Rick Strahl   August 23, 2009 @ 9:19pm
107 Views
no comments
 
C#
private void RedirectToNextView(string previousView, ViewSettings viewSettings)
        {
            try
            {
                if( previousView == null )
                    // Fix HttpContext.Current.Request.ApplicationPath because doesn't work well whe application is in root directory
                    // when application is under root ApplicationPath returns "/"
                    // when application is under sub foder ApplicationPath returns "/sub folder"
                    // so remove end "/"
                    // see  http://weblogs.asp.net/dneimke/archive/2004/05/17/133116.aspx
by Fernando Claverino   August 08, 2009 @ 7:01pm
Tags: c#, uip block
170 Views
no comments
 
brought to you by:
West Wind Techologies


If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate