Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full windows problem?

Status
Not open for further replies.

candrid

IS-IT--Management
Aug 30, 2001
38
US
Hey,

I have a link on my index... and when it is clicked.. I want it to open its target in a fullscreen window.. how can I do this.. I cant seem to get it to work.

Thanks in advance for your help.

--"Hello Microsoft? Yeah this is Mike again.. now it says: "Hit any key when ready..." My question is: "Where's the "any key"? Is my keyboard broken..?
 
On the page you want to appear, put this function:

function maxWin() {
if (window.screen) {
var aw=screen.availWidth;
var ah=screen.availHeight;
window.moveTo(0,0);
window.resizeTo(aw, ah);
}
}

and in the <body> tag put

onload=&quot;maxWin()&quot;

Good Luck!
 
Sorry,

That worked for &quot;maximize-ing&quot; the window,

nut I need full screen.. if you goto my website

a popup window will happen (no offensive material) and the point is.. i want the link to open like the popup does in the full screen of the monitor.

Hope that helps.

Sorry for the trouble. --&quot;Hello Microsoft? Yeah this is Mike again.. now it says: &quot;Hit any key when ready...&quot; My question is: &quot;Where's the &quot;any key&quot;? Is my keyboard broken..?
 

its a tutorial designed to tell you how to do this in flash, but its mostly javascript, and all you do is set off the js from flash, so i'm sure you can figure out how to do it in html from this. For God so loved the world that he gave his one and only son, that whoever believes in him won't die but have everlasting life - Jesus - John 3:16 -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top