September 26, 2016


What is Gzip?
It's is a method of compressing files for faster transfers. It's also a file format. Compression allows your web server to provide smaller file sizes which load faster for your website users. Enabling this compression is a standard practice.
WHAT IS THE DIFFERENCES BETWEEN GRAPHIC DESIGN AND UX DESIGN

The answer is "User-focused vs pixel-focused"

 Usually Graphic designers tend to pursue pixel perfect in their designs. Ensuring that texts have perfect margin and font size confirm to brand guidelines. Now what UX designers think, however they primarily focused on users. They study the user interface between users and the product, finding ways to ensure that the product answers to the users key needs. And they do so by conducting a lot of research, creating user personas and stories.

5 Very Useful Tips of CSS Every Web Designer/Developer Should Know

(Don't use when using any framework like Bootstrap)
I have given good articles over the past year and thought it might be very helpful for the Designer/Developer both.

1. Reset your CSS

Reset your CSS before you start for your new project, it will be really helpful for the browser compatibility, something like this:
*
{
            margin:0px;
            padding:0px;  
}


2. Use Height  100% in CSS

Try to achieve this tag in your CSS that is 100% height.

3. Use Clear and Float: A Comparison of CSS Clearing Techniques

This is the fundamental basics of a Web page. Use these two techniques very smartly.

4. Avoid CSS Hacks

I know it can be very tricky but we should avoid hacks until it’s very badly required.

5. Avoid Absolute Positioning

Using absolute positioning does overlap whatever was in that position and takes no notice of other content at all.

August 8, 2016

What is the use of local storage?

Local storage is an industry-standard technology that allows a website or app to store and retrieve data on a person's computer, mobile phone or other device. Some examples include device or HTML5 local storage and caching. Most web browsers offer settings for you to control whether or not to allow local storage.

July 26, 2016

jQuery Mobile Tutorial

jQuery Mobile is a framework for creating mobile web applications.
jQuery Mobile works on all popular smartphones and tablets.
jQuery Mobile uses HTML5 & CSS3 for laying out pages with minimal scripting.

Visit: http://www.w3schools.com/jquerymobile/

Kendo UI ®- The Most Complete UI Library to Speed Up Your HTML/JS Development

  • 70+ UI Components

    Get any UI component you would ever need for your app - from the must-haves Data Grids, DropDowns, Menus and Buttons to the advanced line-of-business UIs, such as Charts, Spreadsheet, Gantt, Diagram, Scheduler, PivotGrid, and Maps.
  • Beautiful Themes

    Choose from dozens of ready-to-use themes to make your app pop without writing any CSS. Some of our most popular themes are: Material Design, SAP Fiori, and Office 365. A simple StyleBuilder tool further lets you customize those themes.
  • Smart UI for Any Screen Size

    Build cross-platform web applications delivering experience tailored to the user's screen size on desktop, tablet and phone. All components integrate seamlessly with grid-layout frameworks, such as Bootstrap and Zurb Foundation. Learn more about Kendo UI responsive capabilities.
  • Easy to Learn and Use

    Kendo UI uses a common JavaScript language and standards so that it’s easy for any JavaScript developer to get started. You can get ready-to-use sample apps saving you time to include the needed Kendo UI libraries and set-up the components in your apps.
  • Complete Training

    Get started with Kendo UI in just a few days. Online training courses and hands-on exercises help you quickly implement Kendo UI components into your apps.

February 13, 2014

Live examples of Knockout JS

To see working examples of using Knockout to create responsive UIs, choose from the menu on the left.
If you’re new to Knockout, start with the ‘Hello World’ example and perhaps read an introductory tutorial.

December 3, 2013

What is Knockout JS?

Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically (e.g., changing depending on the user’s actions or when an external data source changes), KO can help you implement it more simply and maintainably.
Headline features:
  • Elegant dependency tracking - automatically updates the right parts of your UI whenever your data model changes.
  • Declarative bindings - a simple and obvious way to connect parts of your UI to your data model. You can construct a complex dynamic UIs easily using arbitrarily nested binding contexts.
  • Trivially extensible - implement custom behaviors as new declarative bindings for easy reuse in just a few lines of code.

Additional benefits:
  • Pure JavaScript library - works with any server or client-side technology
  • Can be added on top of your existing web application without requiring major architectural changes
  • Compact - around 13kb after gzipping
  • Works on any mainstream browser (IE 6+, Firefox 2+, Chrome, Safari, others)
  • Comprehensive suite of specifications (developed BDD-style) means its correct functioning can easily be verified on new browsers and platforms

For more visit knockoutjs.com/ 

Sencha Touch, Build for Mobile

Sencha Touch bunch is the industry’s first HTML 5 product suite that provides phone developers with the JavaScript framework, development tools, and business class support they need to build fully touch based apps in a single, integrated package.

 Modern HTML5 App Dev for the Desktop

Sencha Ext JS is the industry's most powerful desktop application development platform with unparalleled cross-browser compatibility, advanced MVC architecture, plugin-free charting, and modern UI widgets.

What is Sencha Ext. JS?

Sencha Ext. JS is the leading standard for business-grade web application development. With over 100 examples, 1000 APIs, hundreds of components, a full documentation suite and built in themes, Ext JS provides the tools necessary to build robust desktop applications. Ext JS also brings a rich data package that allows developers to use a model-view-controller (MVC) architecture when building their app. The MVC leverages features like Big Data Grids enabling an entirely new level of interactivity in web apps.

Cross Browser Compatibility

Ext JS 4 lets developers deliver on an incredible variety of browsers and on more operating systems using the same code — over ten years of browsers in one release. On modern browsers, Ext JS 4 utilizes HTML5 features and falls back to alternatives on older browsers. Whether you’re using Ext JS’ built-in UI components, using the Charting package, or theming your application, Ext JS 4 makes it easy to build an app that gives you the power of the web regardless of what browser your customer uses.
Ext JS supports all major web browsers including:

Internet Explorer 6+
Firefox 3.6+ (PC, Mac)
Safari 4+
Chrome 10+
Opera 11+ (PC, Mac)


August 1, 2013

Custom HTML Select Box

Add Jquery and call this id on your select box id="Items" in your page than call this script:========

jQuery.fn.extend({
    selectbox: function(options) {
        return this.each(function() {
            new jQuery.SelectBox(this, options);
        });
    }
});


/* For ie logging */
if (!window.console) {
    var console = {
        log: function(msg) {
     }
    }
}
/* */

jQuery.SelectBox = function(selectobj, options) {
   
    var opt = options || {};
    opt.inputClass = opt.inputClass || "selectbox";
    opt.containerClass = opt.containerClass || "selectbox-wrapper";
    opt.hoverClass = opt.hoverClass || "current";
    opt.currentClass = opt.selectedClass || "selected"
    opt.debug = opt.debug || false;
   
    var elm_id = selectobj.id;
    var active = -1;
    var inFocus = false;
    var hasfocus = 0;
    //jquery object for select element
    var $select = $(selectobj);
    // jquery container object
    var $container = setupContainer(opt);
    //jquery input object
    var $input = setupInput(opt);
    // hide select and append newly created elements
    $select.hide().before($input).before($container);
   
   
    init();
   
    $input
    .click(function(){
    if (!inFocus) {
          $container.toggle();
        }
    })
    .focus(function(){
       if ($container.not(':visible')) {
           inFocus = true;
           $container.show();
       }
    })
    .keydown(function(event) {      
        switch(event.keyCode) {
            case 38: // up
                event.preventDefault();
                moveSelect(-1);
                break;
            case 40: // down
                event.preventDefault();
                moveSelect(1);
                break;
            //case 9:  // tab
            case 13: // return
                event.preventDefault(); // seems not working in mac !
                $('li.'+opt.hoverClass).trigger('click');
                break;
            case 27: //escape
              hideMe();
              break;
        }
    })
    .blur(function() {
        if ($container.is(':visible') && hasfocus > 0 ) {
            if(opt.debug) console.log('container visible and has focus')
        } else {
            hideMe();   
        }
    });


    function hideMe() {
        hasfocus = 0;
        $container.hide();
    }
   
    function init() {
        $container.append(getSelectOptions($input.attr('id'))).hide();
        var width = $input.css('width');
        $container.width(width);
    }
   
    function setupContainer(options) {
        var container = document.createElement("div");
        $container = $(container);
        $container.attr('id', elm_id+'_container');
        $container.addClass(options.containerClass);
       
        return $container;
    }
   
    function setupInput(options) {
        var input = document.createElement("input");
        var $input = $(input);
        $input.attr("id", elm_id+"_input");
        $input.attr("type", "text");
        $input.addClass(options.inputClass);
        $input.attr("autocomplete", "off");
        $input.attr("readonly", "readonly");
        $input.attr("tabIndex", $select.attr("tabindex")); // "I" capital is important for ie
       
        return $input;   
    }
   
    function moveSelect(step) {
        var lis = $("li", $container);
        if (!lis) return;

        active += step;

        if (active < 0) {
            active = 0;
        } else if (active >= lis.size()) {
            active = lis.size() - 1;
        }

        lis.removeClass(opt.hoverClass);

        $(lis[active]).addClass(opt.hoverClass);
    }
   
    function setCurrent() {   
        var li = $("li."+opt.currentClass, $container).get(0);
        var ar = (''+li.id).split('_');
        var el = ar[ar.length-1];
        $select.val(el);
        $input.val($(li).html());
        return true;
    }
   
    // select value
    function getCurrentSelected() {
        return $select.val();
    }
   
    // input value
    function getCurrentValue() {
        return $input.val();
    }
   
    function getSelectOptions(parentid) {
        var select_options = new Array();
        var ul = document.createElement('ul');
        $select.children('option').each(function() {
            var li = document.createElement('li');
            li.setAttribute('id', parentid + '_' + $(this).val());
            li.innerHTML = $(this).html();
            if ($(this).is(':selected')) {
                $input.val($(this).html());
                $(li).addClass(opt.currentClass);
            }
            ul.appendChild(li);
            $(li)
            .mouseover(function(event) {
                hasfocus = 1;
                if (opt.debug) console.log('over on : '+this.id);
                jQuery(event.target, $container).addClass(opt.hoverClass);
            })
            .mouseout(function(event) {
                hasfocus = -1;
                if (opt.debug) console.log('out on : '+this.id);
                jQuery(event.target, $container).removeClass(opt.hoverClass);
            })
            .click(function(event) {
              var fl = $('li.'+opt.hoverClass, $container).get(0);
                if (opt.debug) console.log('click on :'+this.id);
                $('li.'+opt.currentClass).removeClass(opt.currentClass);
                $(this).addClass(opt.currentClass);
                setCurrent();
                hideMe();
            });
        });
        return ul;
    }
   
};

July 24, 2013

Google Vs Yahoo

  1. Google Alerts (beta):Google Alerts are email updates of the latest relevant Google results (web, news, etc.) based on your choice of query or topic.
    Yahoo! Alerts Get real-time updates delivered to you instantly via: email, mobile device, or Yahoo! Messenger.
  2. Answers:
    Google Answers Google Answers is a way to get that help from Researchers with expertise in online searching.
    Ask Yahoo! We carefully research our answers by searching the Internet for relevant web sites and pages.
  3. Desktop Search:Google Desktop Find your email, files, media, web history and chats instantly.
    Yahoo! Desktop Search (beta) Yahoo! Desktop Search Beta is a free, downloadable search application that enables you to find any of your files, emails, attachments, instant messages and contacts.
  4. Directory:
    Google Directory The Google Web Directory integrates Google's sophisticated search technology with Open Directory pages to create the most useful tool for finding information on the web.
    Yahoo! Directory The Yahoo! Directory gives you access to what's available on the Web.
  5. Finance:
    Google Search Feature: Stocks To use Google to get live stock quotes and information, just enter one or more ticker symbols.
    Yahoo! Finance You have access to a wide array of financial resources on Yahoo!
  6. Groups:
    Google Groups (beta) A Google Group is an online discussion group or mailing list that helps groups of people communicate using email and the web.
    Yahoo! Groups Yahoo! Groups is a free service that allows you to bring together family, friends, and associates through a web site and email group.
  7. Image Search:
    Google Image Search Google's Image Search is the most comprehensive on the Web, with more than one billion images indexed and available for viewing.
    Yahoo! Image Search Yahoo! Image Search allows you to search millions of images from across the Web.

May 21, 2013

CSS 3 Features in ie (Rounded corners, Gradients)

Here is the solution for using features of CSS3 in ie versions:
By this you can:

1. Rounded corners in ie (6,7,8,9)
2. Gradients in ie (6,7,8,9)
etc.

PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features.
http://css3pie.com/

December 27, 2012

Some Big Myths About SEO:

Metatag Descriptions Help Your Rankings==
Not anymore: in fact, metatags are no longer even indexed by Google and Bing. But don't ignore them altogether: Your metatags form the text that is displayed along with your link in the search results--and a more compelling description will compel more users to click on your listing instead of on others.

The More Inbound Links, the Better==
False. In all the recent updates to Google's algorithm, the search giant has made it a core priority to have quality trump quantity. Gone are the days of having thousands of superlow-quality links driving up rankings; in fact, creating those links can look spammy and get your site penalized.

Websites must be submitted to search engines==
In 2001, yes, this was the case--indeed, this was the first service that my company, Wpromote, ever provided. But in 2012? Not at all. At this point, if there is any connection from any site to yours, your site will be quickly discovered by Google.

Note that being indexed is a far cry from achieving high rankings--but that initial step of submission is no longer needed or helpful.

November 30, 2012

Website marketing using social media

Yup. Social Media is the very big thing today, and Social Media marketing is what gets you there.

It is not just about being between the masses. It’s about communicating with the masses, by being at the right place, at the right time.

And the most important thing, its about creating your brand awareness, It's about securing positive corporate image, combati

ng the negative brand image! And hence new customers.

And that is where it's come in, it's excel in this service by using unique skills to create personal connection with the audience, on your behalf!

Following a completely natural marketing process, it's not only initiate contact with your target audience, also engage in conversations. It is with a series of Social Media like Blogs, Social Networks, Online Videos, Wikis and Online Surveys.

This makes a connection with your audience, and when we have all their attention, this convey your message and win them over for you.

November 3, 2012

Some very useful SEO Tricks


  1. The meta description is the next element you must optimize.
  2. Use
  3. Make the meta descriptions short – Google limits meta descriptions to 160 characters or less.
  4. Another big way that is attracting attention when it comes to ranking above the fold is with Google’s new authorship markup and Google+ search strategy.
  5.  Drive links to important pages:
  6. You can’t expect a page to rank above the fold if you don’t have links going to the page you want to rank.
  7. Add social sharing:
  8. Most SEO experts agree that social signals on the page level will impact search results

October 10, 2012

Another Responsive Web Design Thought

Device resolution

There are thousands of different devices out there, with millions of potential contexts. We can’t support them all, so we end up choosing a few popular devices, basing our designs on their resolutions, and ignoring the rest of the products on the market. When technology moves on and resolutions increase, our sites will look as outdated as a 600×400 site does now.

Pixels

Pixels sizes aren’t constant – or at least the display of them isn’t. 16px text on an iPhone can be ~60% the size of 16px text on a Macbook. Basing designs on pixel measurements creates inconsistency in viewing size across devices and can negatively affect readability and usability.

The Device Doesn’t Matter

So how do we do as Mark Boulton suggests and go about designing from the content out? In practice, it means starting with the most common form of content, the paragraph element, and building up to a full layout.
It’s tempting to first set the body font size. But the manufacturer or the user has already set the browser’s default size for readability, and we don’t think you should mess with it without good reason.
However, if you base your entire design on this base font size (using ems), then as it increases or decreases, so will your design. Using ems allows your designs to be resolution independent.
Next, use max-width to set the line length of the paragraph to be as readable as possible (~66 characters per line). This will vary from font to font, but something around 30em usually does the trick. This sets the width of your single column layout, making it ‘just right’ for readability.

The Goldilocks Approach

Now, no matter which device your design is viewed in, the space available will be bigger, smaller, or just right, and you can use media queries to make the most of it.

May 15, 2012

Responsive Web Design

Firstly introduced by Ethan Marcotte on his article “Responsive Web Design” for A List Apart, the initial concept behind responsive design was based on the emerging responsive architecture, in which rooms and spaces have the capacity of automatically adjusting according to the number and flow of people within it.

The concept of responsive web design makes reference to the process of designing and developing websites that are able to react to user’s actions and detect the medium where the site is currently being watched in order to provide the best experience possible to the user in terms of navigability and readability. The theory behind responsive design involves the utilization of several grid and layout systems, image optimization and CSS media queries, therefore, no matter how many devices are released on the future, responsive websites will always be able to provide a proper response.

Flexible grid

Weekly freebies in your inbox. Advertising Royalty Free Images Chicago Web Design Firms Design Your WebsiteDesign Your Websitea simple & elegant HTML site builder (and it's free). Click here to start! ads by BSA Friends Free Iphone icons Wordpress Theme Generator Free Android icons Free Social icons Psd Vault Six Revisions CSSReflex WebDesignerDepot Specky Boy CoolHomepages InstantShift IconShock Wordpress Themes Shock Designrfix Smashing Hub Feedgrids Design Resources Socialh SmashingApps PresidiaCreative DesignYourWay QualiThemes Web Design Burn UnderworldMagazines Artfan Design BlogPerfume Webanddesigners Vandelay Design Blog Designer-Daily Creativeoverflow Dzinepress Tutorial Lounge VectorDiary iBrandStudio Design Dazzling AEXT.NET Tutorial Chip Desizn Tech RedTeamDesign Stunningmesh Trendykit Graphic Design Business Weekly freebies in your inbox Responsive Web Design, most complete guide Sep 13th/2011 301 coding css tutorials useful ux web design 247Share

If you’ve been working in the web design field for the past couple of years you should know that designing a fixed interface for a widescreen computer is not enough. Most of the clients you’ll be dealing with from now are going to request that their site is not only desktop-compliant but is also optimized for smartphones and tablets. This issue presents the necessity of working with different screen resolutions in order to guarantee that a website looks good in all sorts of devices.

But if the devices’ production continues at the same speed that it has for the past couple of years, the amount of screen resolutions and formats that designers will have to deal with is going to become unbearable. On this article we’ll be discussing one of the most effective solutions to face this problem with a certain easiness, we’re of course talking about responsive web design.

So, what’s responsive web design? Firstly introduced by Ethan Marcotte on his article “Responsive Web Design” for A List Apart, the initial concept behind responsive design was based on the emerging responsive architecture, in which rooms and spaces have the capacity of automatically adjusting according to the number and flow of people within it.

The concept of responsive web design makes reference to the process of designing and developing websites that are able to react to user’s actions and detect the medium where the site is currently being watched in order to provide the best experience possible to the user in terms of navigability and readability. The theory behind responsive design involves the utilization of several grid and layout systems, image optimization and CSS media queries, therefore, no matter how many devices are released on the future, responsive websites will always be able to provide a proper response.

responsive01

But responsive web design is not simply reducing font sizes and shrinking a picture to make it fit the new format. This concept requires a thoughtful process where the designers and developers work together to determine how to redistribute the elements according to resolution, which elements may be eliminated and how to maintain the concept while simplifying the structure.

According to many internet gurus, the future of the internet will rely on mobile devices (tablets, smartphones, portable consoles) rather than desktops and laptops. More and more people are starting to acquire cutting edge technologies and the tablets’ battle is on, so it’s indispensable that you start seeing these devices as an important part of your audience. But this increment on the amount of mobile devices does not mean that desktops are doomed, in fact we can see how everyday larger monitors are released, and these are highly appreciated by designers, visual artists and producers, thus at least for them, a tablet will never be able to replace a desktop computer. Flexible grid.

The first element we have regarding responsive web design is dubbed flexible grid. Before this concept became popular, most websites were designed using a fixed width style and centered content, which was an effective method as most computers worked under the same screen resolution. Now that screen resolutions have changed so much, a fixed width design is not the best solution for your designs and therefore liquid layouts are the new answer.

But the concept of flexible grid goes beyond the liquid layout concept, where the elements are essentially resized and kind of rearranged. A flexible grid makes a complete overhaul in terms of proportions, making that all the elements in a layout are resized in relation to one another when stretched or contracted. The essence of flexible grids relies on stop thinking in fixed pixels and start considering percentage units. To recalculate an element’s proportions accordingly, you must take the element’s width and divide it by the full grid’s size e.g. 200 px / 960 px = 0.2083, then take this result and multiply it by 100 (0.2083 * 100 = 20.83 %), that we you get the percentage value that needs to be applied over the element in order to perform a correct resizing.

November 14, 2011

CSS3′s best features

The box-shadow property allows designers to easily implement multiple drop shadows (outer or inner) on box elements, specifying values for color, size, blur and offset.
Browser support is growing of late with Mozilla (Firefox), Webkit (Safari/Chrome/Konqueror), Opera and the IE9 Platform Preview all offering a decent implementation of the spec, although Mozilla and Webkit still require their respective -moz- and -webkit- prefixes (note Mozilla Firefox 4.0+ no longer requires the -moz- prefix).
In theory, the code for this is straightforward:
#example1 {
box-shadow: 10px 10px 5px #888;
}
But for the moment, as with many other ‘experimental’ CSS3 properties, you’ll need to use the following prefixes to support Mozilla and Webkit:
#example1 {
-moz-box-shadow: 10px 10px 5px #888;
-webkit-box-shadow: 10px 10px 5px #888;
box-shadow: 10px 10px 5px #888;
}

How it Works

The box-shadow property can accept a comma-serparated list of shadows, each defined by 2-4 length values (specifying in order the horizontal offset, vertical offset, optional blur distance and optional spread distance of the shadow), an optional color value and an optional ‘inset‘ keyword (to create an inner shadow, rather than the default outer shadow).
The Syntax:
box-shadow: none | [ , ]*

= inset? && [ {2,4} && ? ]
Examples:
box-shadow: 10px 10px;
box-shadow: 10px 10px 5px #888;
box-shadow: inset 2px 2px 2px 2px black;
box-shadow: 10px 10px #888, -10px -10px #f4f4f4, 0px 0px 5px 5px #cc6600;