Solved

Hyperlink Control to fullscreen popup

Posted on 2007-04-03
3
330 Views
Last Modified: 2007-04-03
Is there anyway to make it so that when someone clicks the hyperlink control that the window that pops up is in fullscreen mode, target = new?
thanks,
0
Comment
Question by:bertino12
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
ethoths earned 400 total points
ID: 18842641
execute some javascript...
    <a href="javascript:window.open(....

For a reference on the window.open method look here...
    http://www.pageresource.com/jscript/jwinopen.htm
0
 
LVL 18

Assisted Solution

by:Ajay Sharma
Ajay Sharma earned 100 total points
ID: 18843007
the above example will open the  window in a spedified height and width. you may not know it that what resolution is client browser using , so fixing the size of window will not be a proper solution.

What u can do is u can open the page normally in a popup and specify the code into the page to resize according to screen.

put the following code in the <head> tag of html page

<script language="JavaScript">
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);
</script>
0
 
LVL 11

Expert Comment

by:ethoths
ID: 18843373
It's all covered in the link I specified (and more). Here the complete code...

window.open('http://www.google.co.uk','','left=0px,top=0px,height=' + screen.height + ',width=' + screen.width + ',scrollbars=auto');
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now