Advertise with us
Control Panel
Forum
Hosting Help
ASP.NET 4.5 & SQL 2012 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
Home
»
Resources
»
Popup window
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
Popup window
05 Mar, 2008
Author:
Youssef Saad Hamed Mohamed
NTRA
Summary
Open customizable popup window
.NET Classes used :
var __win = null;
function NewWindow(url,myname,w,h,scroll,resize)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
var settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+'';
if(scroll)
settings = settings+',scrollbars='+scroll+'';
if(resize)
settings = settings+',resizable='+resize+'';
__win = window.open(url,myname,settings);
}
Feedbacks about this page from members:
thanks
-
rrsaqaba
thanks
(08 Mar 2008)
Submit Feedback
View All Feedbacks
Total
members
:
250616
Average new registrations per day (in last 7 days):
7
New Registration:
Open
Register Now
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.