PDA

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


ISMAILC
11-20-2008, 05:37 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

ISMAILC
11-21-2008, 08:18 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>