CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: pushp
function getQueryStringParams( query ) {
   var Params = {};
   if ( ! query ) {return Params;}// return empty object
   var Pairs = query.split(/[;&]/);
   for ( var i = 0; i < Pairs.length; i++ ) {
      var KeyVal = Pairs[i].split('=');
      if ( ! KeyVal || KeyVal.length != 2 ) {continue;}
      var key = unescape( KeyVal[0] );
      var val = unescape( KeyVal[1] );
      val = val.replace(/\+/g, ' ');
by pushp   January 21, 2010 @ 2:38am
275 Views
no comments
 
function findPos(obj)
    {
        var curleft = curtop = 0;
 
        if (obj.offsetParent)
        {
            curleft = obj.offsetLeft
            curtop = obj.offsetTop
            while (obj = obj.offsetParent)
            {
by pushp   January 07, 2010 @ 10:33am
Tags:
127 Views
no comments
 
C#
public void BindDetails(KpiItem kpiItem)
        {
            if (kpiItem != null)
            {
                lblKpiText.Text = kpiItem.Name;
                imgStatus.ImageUrl = kpiItem.StatusImageUrl;
                imgTrend.ImageUrl = kpiItem.TrendImageUrl;
                var proxy = new OperationalKPIServiceClient();
 
                //TODO: use actual minesitegroup id and metric id
by pushp   January 01, 2010 @ 11:48pm
Tags:
185 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