1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0099)http://msdnprod/msdn-online/shared/components/ratings/ratings.aspx?ContentID=_1038043&HideDiscuss=1 -->
<HTML><HEAD><TITLE>Page Stats</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content=noindex name=robots>
<META content=build name=168><LINK href="ratings(1)_files/ie4.css" type=text/css
rel=stylesheet>
<STYLE>.RatingsData {
BEHAVIOR: url(#default#userdata)
}
</STYLE>
<SCRIPT language=javascript defer>
<!--
var strPrintPage = ValidatePrintPage("print.asp");
var bMNP2 = false;
var strEmailString = "_r=1";
window.onload = OnInitPage;
function GetContentWnd(){ return parent; }
function OnInitPage(){
var oWnd = GetContentWnd();
var strQuery = oWnd.location.search;
GetRateID("1038043");
if( document.getElementById("RatingsServerCmd").value == "" ) // first time only
{
document.getElementById("RatingsServerCmd").value = "/";
document.getElementById("RatingsContentURL").value = oWnd.location.href;
document.getElementById("RatingsContentTitle").value = oWnd.document.title;
if(strQuery.indexOf(strEmailString) >= 0){
document.getElementById("RatingsServerCmd").value = "SaveReturnFromEmail";
document.forms(0).submit();
return;
}
}
}
function ValidatePrintPage(sz){
if( (sz.indexOf("\\") >=0) || (sz.indexOf("/") >=0) )
return "print.asp";
return sz;
}
function OnPrint(){
if(bMNP2) OnPrintPage();
else OnPrintFrame();
}
function OnPrintPage(){
var oWnd = GetContentWnd();
var oDoc = oWnd.document;
var strLoc = oWnd.location.href;
strLoc = strLoc.substr(0, strLoc.lastIndexOf("/")+1)+strPrintPage;
if (window.navigator.userAgent.indexOf("MSIE ")!=-1 && navigator.appVersion.substr(0, 1) >= 4){
if( oWnd.printHiddenFrame == null){
oDoc.body.insertAdjacentHTML("beforeEnd", "<iframe name='printHiddenFrame' width='0' height='0'></iframe>");
framedoc = oWnd.printHiddenFrame.document;
framedoc.open();
framedoc.write(
"<frameset name=test onload='printMe.focus();printMe.print();' rows=\"100%\">" +
"<frame name=printMe src=\""+strLoc+"\">" +
"</frameset>");
framedoc.close();
}
else{
oWnd.printHiddenFrame.printMe.focus();
oWnd.printHiddenFrame.printMe.print();
}
}
else{
oWnd.location.href = strLoc;
}
return true;
}
function OnPrintFrame(){
var oWnd = GetContentWnd();
oWnd.focus();
oWnd.print();
return true;
}
function OnEmail(){
var oWnd = GetContentWnd();
var oDoc = oWnd.document;
var oDescription = oDoc.getElementById("Description");
var strDescription = ( (oDescription == null) || (oDescription.content == "") ) ? oDoc.title : oDescription.content;
if( oDoc.title == "" )
oWnd.location.href = "mailto:?body="+BuildEmailDescription(strDescription, AddParamToURL(oWnd.location.href, strEmailString));
else
oWnd.location.href = "mailto:?subject="+escape(oDoc.title)+"&body="+BuildEmailDescription(strDescription, AddParamToURL(oWnd.location.href, strEmailString));
return true;
}
function BuildEmailDescription(strDescription,hRef){
return escape("Here's a great article you might be interested in:" +
String.fromCharCode(13)+ String.fromCharCode(13) + strDescription + String.fromCharCode(13) + "URL: " + hRef);
}
function AddParamToURL(strLoc,strParam){
var i = strLoc.lastIndexOf("?");
if(strLoc.indexOf(strParam, i) >= 0)
return strLoc;
strLoc += ((i >= 0) && (i > strLoc.lastIndexOf("/"))) ? "&" : "?";
return strLoc + strParam;
}
function OnDiscuss(ContentID){
var strCmd = "/library/shared/comments/asp/threadedcomments.asp?";
strCmd += "aID=" + ContentID;
var nHeight = (window.screen.availHeight < 560) ? window.screen.availHeight-50 : 560;
var nWidth = (window.screen.availWidth < 640) ? window.screen.availWidth-50 : 640;
var nTop = window.screen.availHeight*2/5 - nHeight/2;
var nLeft = window.screen.availWidth/2 - nWidth/2;
if(nTop < 0) nTop = 0;
if(nLeft < 0) nLeft = 0;
var strOpts = "resizable=yes,menubar=yes,status=yes,toolbar=no,height="+String(nHeight)+",width="+String(nWidth);
if(navigator.appName.toUpperCase() == "NETSCAPE")
strOpts = "screenX=" + String( nLeft ) + ",screenY=" + String( nTop ) + "," + strOpts;
else
strOpts = "left=" + String( nLeft ) + ",top=" + String( nTop ) + "," + strOpts;
var oWnd = window.open(strCmd, "RatingsForum", strOpts);
if(oWnd == null)
return false;
oWnd.focus();
return true;
}
function OnSave(){
var oWnd = GetContentWnd();
window.external.addFavorite( oWnd.location.href, oWnd.document.title );
return true;
}
function OnRate(){
var oWnd = GetContentWnd();
oWnd.scrollBy(0, 9999999);
return false;
}
function OnStats(ContentID){
var strCmd = window.location.href+"&stats=1";
var nHeight = 270;
var nWidth = 357
var nTop = window.screen.availHeight*2/5 - nHeight/2;
var nLeft = window.screen.availWidth/2 - nWidth/2;
if(nTop < 0) nTop = 0;
if(nLeft < 0) nLeft = 0;
var strOpts = "resizable=no,menubar=no,status=no,toolbar=no,height="+String(nHeight)+",width="+String(nWidth);
if(navigator.appName.toUpperCase() == "NETSCAPE")
strOpts = "screenX=" + String( nLeft ) + ",screenY=" + String( nTop ) + "," + strOpts;
else
strOpts = "left=" + String( nLeft ) + ",top=" + String( nTop ) + "," + strOpts;
var oWnd = window.open(strCmd, "RatingsStats", strOpts);
if(oWnd == null)
return false;
oWnd.focus();
return true;
}
function SetRateID(sContentID){
if( (sContentID == null) && (sContentID == "") )
return;
oInput = document.getElementById("RatingsStatus")
oInput.setAttribute("Rate", oInput.value);
oInput.save(sContentID);
}
function GetRateID(sContentID){
oInput = document.getElementById("RatingsStatus")
oInput.load(sContentID);
oInput.value = oInput.getAttribute("Rate");
}
//-->
</SCRIPT>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY style="MARGIN: 0px" bgColor=#f1f1f1 ms_positioning="GridLayout">
<FORM id=ratings_tmp name=ratings_tmp
action=ratings.aspx?ContentID=_1038043&HideDiscuss=1 method=post><INPUT
type=hidden
value=dDwtOTQ0NzUwMDE1O3Q8cDxsPEhpZGVEaXNjdXNzO1JhdGVMb3c7Q291bnRUZXh0O1JhdGVDb3VudDtDb3VudEZpcnN0VGV4dDtOb1JhdGluZztGZWVkYmFja1RleHQ7UGFnZVJhdGU7SGlzdG9ncmFtO0JvcmRlckNvbG9yO1BhZ2VSYW5nZTtSYXRlSGlnaDtSYXRlVGhpc1BhZ2U7QmFja0NvbG9yO0F2ZXJhZ2VUZXh0Oz47bDxcZTtQb29yO1w8U1RST05HXD57MDpHfVw8L1NUUk9OR1w+IHBlb3BsZSBoYXZlIHJhdGVkIHRoaXMgcGFnZTtpPDA+O1w8U1RST05HXD4xXDwvU1RST05HXD4gcGVyc29uIGhhcyByYXRlZCB0aGlzIHBhZ2U7XDxTVFJPTkdcPkJlIHRoZSBmaXJzdCB0byByYXRlIHRoaXMgcGFnZSFcPC9TVFJPTkdcPjtcPFNUUk9OR1w+VGVsbCB1cyB3aHkgeW91IHJhdGVkIHRoZSBjb250ZW50IHRoaXMgd2F5LiAob3B0aW9uYWwpXDwvU1RST05HXD47U3lzdGVtLlNpbmdsZSwgbXNjb3JsaWIsIFZlcnNpb249MS4wLjUwMDAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5PDA+OzE7Izk5OTk5OTtpPDk+O091dHN0YW5kaW5nO1w8U1RST05HXD5Ib3cgd291bGQgeW91IHJhdGUgdGhlIHF1YWxpdHkgb2YgdGhpcyBjb250ZW50P1w8L1NUUk9OR1w+OyNmMWYxZjE7QXZlcmFnZSByYXRpbmc6XDxCUlw+XDxTVFJPTkdcPnswOkd9XDwvU1RST05HXD4gb3V0IG9mIHsxOkd9Oz4+O2w8aTwxPjs+O2w8dDw7bDxpPDk+Oz47bDx0PHA8cDxsPEJhY2tDb2xvcjtDZWxsUGFkZGluZztDZWxsU3BhY2luZztXaWR0aDtIZWlnaHQ7XyFTQjs+O2w8MjwnI2YxZjFmMSc+O2k8MD47aTwwPjsxPDEwMCU+OzE8MTAwJT47aTwzOTM2MDg+Oz4+Oz47Oz47Pj47Pj47bDxQcmludDtFbWFpbDtTYXZlO1JhdGUxO1JhdGUxO1JhdGUyO1JhdGUyO1JhdGUzO1JhdGUzO1JhdGU0O1JhdGU0O1JhdGU1O1JhdGU1O1JhdGU2O1JhdGU2O1JhdGU3O1JhdGU3O1JhdGU4O1JhdGU4O1JhdGU5O1JhdGU5Oz4+zP2joDIBUab8wCyebdkt9YGYJpc=
name=__VIEWSTATE> <INPUT id=RatingsServerCmd type=hidden size=1
name=RatingsServerCmd> <INPUT class=RatingsData id=RatingsStatus type=hidden
size=1 name=RatingsStatus> <INPUT id=RatingsContentURL type=hidden size=1
name=RatingsContentURL> <INPUT id=RatingsContentTitle type=hidden size=1
name=RatingsContentTitle>
<TABLE id=tbRatings
style="WIDTH: 100%; BORDER-COLLAPSE: collapse; HEIGHT: 100%; BACKGROUND-COLOR: #f1f1f1"
cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR style="HEIGHT: 1px" vAlign=top>
<TD colSpan=2>
<TABLE
style="BORDER-TOP: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid"
cellSpacing=2 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><INPUT id=Print
title="Print a printer-friendly version of this page"
style="MARGIN-LEFT: 8px; MARGIN-RIGHT: 8px"
onclick="return OnPrint();" type=image
alt="Print a printer-friendly version of this page"
src="ratings(1)_files/rtg_btn_print.gif" border=0 name=Print></TD>
<TD><INPUT id=Email title="E-mail this page"
style="MARGIN-LEFT: 8px; MARGIN-RIGHT: 8px"
onclick="return OnEmail();" type=image alt="E-mail this page"
src="ratings(1)_files/rtg_btn_email.gif" border=0 name=Email></TD>
<TD><INPUT id=Save title="Add to favorites"
style="MARGIN-LEFT: 8px; MARGIN-RIGHT: 8px"
onclick="return OnSave();" type=image alt="Add to favorites"
src="ratings(1)_files/rtg_btn_save.gif" border=0 name=Save></TD>
<TD style="WIDTH: 100%"></TD></TR></TBODY></TABLE></TD></TR>
<TR vAlign=top>
<TD style="BORDER-RIGHT: #999999 1px dotted; WIDTH: 400px">
<TABLE style="MARGIN-LEFT: 10px" cellSpacing=4 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<P><STRONG>How would you rate the quality of this
content?</STRONG></P>
<TABLE style="MARGIN-BOTTOM: 12px; BORDER-COLLAPSE: collapse"
cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR align=middle>
<TD></TD>
<TD>1</TD>
<TD>2</TD>
<TD>3</TD>
<TD>4</TD>
<TD>5</TD>
<TD>6</TD>
<TD>7</TD>
<TD>8</TD>
<TD>9</TD>
<TD></TD></TR>
<TR align=middle>
<TD>Poor </TD>
<TD><INPUT id=Rate1 type=radio value=Rate1 name=Rate></TD>
<TD><INPUT id=Rate2 type=radio value=Rate2 name=Rate></TD>
<TD><INPUT id=Rate3 type=radio value=Rate3 name=Rate></TD>
<TD><INPUT id=Rate4 type=radio value=Rate4 name=Rate></TD>
<TD><INPUT id=Rate5 type=radio value=Rate5 name=Rate></TD>
<TD><INPUT id=Rate6 type=radio value=Rate6 name=Rate></TD>
<TD><INPUT id=Rate7 type=radio value=Rate7 name=Rate></TD>
<TD><INPUT id=Rate8 type=radio value=Rate8 name=Rate></TD>
<TD><INPUT id=Rate9 type=radio value=Rate9 name=Rate></TD>
<TD> Outstanding</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD><STRONG>Tell us why you rated the content this way.
(optional)</STRONG></TD></TR>
<TR>
<TD><TEXTAREA id=txtFeedback name=txtFeedback rows=4 cols=42></TEXTAREA></TD></TR>
<TR>
<TD><INPUT id=btnSend type=submit value=Submit name=btnSend></TD></TR></TBODY></TABLE></TD>
<TD>
<TABLE style="MARGIN-LEFT: 10px; WIDTH: 190px" cellSpacing=4 cellPadding=0
border=0>
<TBODY>
<TR>
<TD colSpan=2><STRONG>Be the first to rate this
page!</STRONG></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></BODY></HTML>
|