Solved

Hyperlink Control to fullscreen popup

Posted on 2007-04-03
3
331 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 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