popup - Opening a javascript window same as facebook window functionality -


i trying implement inviting friends facebook, gmail functionlaity.

below html code generates links , opens pop window

htmlcode.html

<div class="socialapis">    <span>invite friends <a href="http:/" onclick="facebookinvitefriends();">facebook ?</a></span>&nbsp;    <span>        <a  onclick="window.open('{% url 'social:gmail_contacts' %}','targetwindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500')">                gmail ?        </a>     </span>      </div> 

so when clicked on facebook link below popup window opening facebook login screen fitting window size

enter image description here

when clicked on gmail link thee below pop window opening

enter image description here

by way using twitter bootstrap ui part. can observe above image, gmail login screen not fit window, instead have scrolling bar.

also after logged in gmail, getting next page same not fitting window

so there anyway fit login screen , other page opened pop window size ? in javascript ?

note: new using javascript

firstly bootstrap of ui part doesn't effect on pages. google gmail have used there responsive designs , elements auto adjust when re-sized resolution because of content occupied in gmail login page , facebook login page has plenty of space around.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -