Making div/pop-up/overlays center of the screen irrespective of the screen size.

Sat 27 June 2015 by Godson

Making div/pop-up/overlays center of the screen irrespective of the screen size.

read more

Cookie blocked in Iframe for Internet Explorer

Sat 27 June 2015 by Godson

When working with chat application recently which uses user sessions, IE is not saving the cookies. This happens when your webpage gets embedded into an iFrame.

Scenario

Lets say we have two websites example.com and anotherexample.com. Now, in anotherexample.com I have an iFrame SRC="http://example.com ...

read more

Social Logins Implementation for Django app

Tue 23 June 2015 by Godson

In this article we will get to know about how to login to your django app by using social logins like Facebook and Google.

Start a simple Django project

$ django-admin.py startproject thirdauth
$ tree thirdauth/
thirdauth/
├── manage.py
└── thirdauth
    ├── __init__.py
    ├── settings.py
    ├── urls.py
    └── wsgi.py

Running ./manage.py ...

read more

Restricting tab navigation to overlays(pop-ups)

Mon 22 June 2015 by Godson

About : We all have complex pages with several overlays that appear based on selections from several drop down menus and by on-click functionalitys,

Our goal is to limit the user to only be able to tab through the elements on the overlay (above positioned lightbox div) via the keyboard.

In ...

read more

AngularJS Controllers

Mon 22 June 2015 by Godson

Short version for index and feeds

read more