PDA

View Full Version : URL to open in maximized window state within current window



ismailc
11-20-2008, 06:39 PM
Hi, I need help please!

I have a link on a page, where i wont it open in maximized window state.

the "_parent" allows to open in current window, but the maindow is never at maxmize state.
I want the url to open in current window which it does but also force to open in maxize window state:

<td rowspan="2"><a href="http://srv8-z199/fcFlow/Home.aspx" target="_parent"> height="127"></a></td>

Regards

Schmoopy
11-20-2008, 06:46 PM
So you want it to open 2 instances of the same page, one in the current window and another in a new browser window?

ismailc
11-20-2008, 06:55 PM
Hi, no only want one. The first page is like a menu of 4 links and each link opens a new window in a non max window state. I changed it to open in current window but i want it to force max state. I don't mind about the first page. Only want the link to open and only one window in max state.

If link in new window, what would the code be to force new window in max state.

I want the first options but it would be nice to have both options

regards

ismailc
11-21-2008, 09:21 AM
Got help:



<script>
function maxGoto(webpage) {
// Move window to top left corner then resize it to screen size
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);

// Goto the specified web page
location.href=webpage;
return false;
}
</script>
</head>

<a href="#" onclick="maxGoto('http://srv8-z199/fcFlow/Home.aspx');"></a>