Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set maximized to window
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00804242
Message ID:
00804889
Views:
50
It works fine for me.
<a href="javascript:openWindow( 'http://scriptasylum.com', 200, 200 ,0 ,0 ,0 ,0 ,0 ,1 ,10 ,10 )">Link text here</a>
<script LANGUAGE="JavaScript">
openWindow( 'http://scriptasylum.com', 200, 200 ,0 ,0 ,0 ,0 ,0 ,1 ,10 ,10 )
function openWindow(url,w,h,tb,stb,l,mb,sb,rs,x,y){
var t=(document.layers)? ',screenX='+x+',screenY='+y: ',left='+x+',top='+y; 
//A LITTLE CROSS-BROWSER CODE FOR WINDOW POSITIONING
tb=(tb)?'yes':'no'; stb=(stb)?'yes':'no'; l=(l)?'yes':'no'; mb=(mb)?'yes':'no'; sb=(sb)?'yes':'no'; rs=(rs)?'yes':'no';
var x=window.open(url, 'newWin'+new Date().getTime(), 'scrollbars='+sb+',width='+w+',height='+h+',toolbar='+tb+',status='+stb+',menubar='+mb+',links='+l+',resizable='+rs+t);
x.focus();
}
</script>
>I use window.open(...) .. (like you suggested .. on prev. message) .. any suggestion?
>
>Best regards
>winan
Previous
Reply
Map
View

Click here to load this message in the networking platform