JavaScript

Center a popup window on screen?

Use this Script in your Html.

<a href=”#” onclick=”javascript:MyPopUpWin()”>
<div class=”btn”>My Button</div>
</a>

<script type=”text/javascript”>
function MyPopUpWin() {
var iMyWidth;
var iMyHeight;
//half the screen width minus half the new window width (plus 5 pixel borders).
iMyWidth = (window.screen.width / 3) – (15 + 1);
//half the screen height minus half the new window height (plus title and status bars).
iMyHeight = (window.screen.height / 5) – (10 + 10);
//Open the window.
var win2 = window.open(“url”, “Window2”, “status=no,height=600,width=650,resizable=yes,left=” + iMyWidth + “,top=” + iMyHeight + “,screenX=” + iMyWidth + “,screenY=” + iMyHeight + “,toolbar=no,menubar=no,scrollbars=no,location=no,directories=no”);
win2.focus();
}
</script>

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

Saeed Hashmi

احساس شاعری, شعر شاعری, اردو اشعار, poetry ek ehsas

Win in Poetry contest in *Poetry Ek Ehsas* ( شاعری ایک احساس) Group

Win in Poetry contest in *Poetry Ek Ehsas* ( شاعری ایک احساس) Group

نہ ہٹاؤ ان آنسوں کو میرے چہرے سے

یہ میرے جذبات کی عکاسی کرتے ہیں

منیر صدیقی

 آنسوں

JavaScript

How to remove “#” from URL, after refresh page

Use this Script in your Html.

<script>
window.location.replace(“#”);

// slice off the remaining ‘#’ in HTML5:
if (typeof window.history.replaceState == ‘function’) {
history.replaceState({}, ”, window.location.href.slice(0, -1));
}
</script>

What are keyboard shortcuts and how do I use them in Skype?

You can use keyboard shortcuts to easily quit Skype, send a file, copy text and a lot more. They make it easier and faster for you to use commands that you would otherwise have to access via the menus.
https://pbs.twimg.com/media/EsujoDYXMAE4r-P?format=jpg

Key combination Action
Ctrl+Shift+Comma Open app settings
Ctrl+Shift+H Open Help in default browser
Alt+1 Navigate to recent chats
Ctrl+I Open Notification panel
Ctrl+Shift+F Search for People, Groups and Messages
Ctrl+Shift+Plus Zoom in
Ctrl+Minus Zoom out
Ctrl+Zero View actual size
Ctrl+Shift+G New group chat
Alt+2 Open contacts
Ctrl+Shift+A Add people to conversation
Ctrl+Shift+U Mark as unread
Alt+Shift+E Focus Message Composer
Ctrl+Shift+E Archive selected conversation
Ctrl+F Find in current conversation
Ctrl+Shift+K Start video call

Note: Ctrl+Shift+K will launch Accessibility Insights for Web if you have it installed. It will not start a video call in Skype.

Ctrl+Shift+P Start an audio call
Ctrl+M Toggle mute
Ctrl+Shift+K Toggle camera
Ctrl+Shift+D Launch dial pad
Ctrl+Shift+A Add people to call
Alt+Shift+J Resize camera preview
Ctrl+Shift+R Refresh the app
Up arrow after sending a message Edit the last message sent