Solved

Hyperlink Control to fullscreen popup

Posted on 2007-04-03
3
328 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

9 Experts available now in Live!

Get 1:1 Help Now