标题: mailto&open a new window [打印本页] 作者: wzi-linux 时间: 2009-08-20 09:46 标题: mailto&open a new window send an email to the appointed email address.
Please send an email to affiliates@walmart.comaffiliates@walmart.com and let us know how we can help.
open a new window:
var newwindow;
function pophelp(url)
{
newwindow=window.open(url,'scrollbars=auto,status=no,location=no,menubar=no,toolbar=no,resizable=no,width=200,height=300');
if (window.focus) {newwindow.focus()}
}
get the base url
String strPrefixURL = "http://" + ( (request.getServerPort()==80||request.getServerPort()==443) ? request.getServerName():request.getServerName()+":"+String.valueOf(request.getServerPort()).trim()) + "/" ;