﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-devmac-随笔分类-Reference</title><link>http://www.cppblog.com/devmac/category/153.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 20 May 2008 18:49:26 GMT</lastBuildDate><pubDate>Tue, 20 May 2008 18:49:26 GMT</pubDate><ttl>60</ttl><item><title>Tech Talk About C++ Templates Comeau C++ Template FAQ</title><link>http://www.cppblog.com/devmac/archive/2005/10/16/691.html</link><dc:creator>嬷嬷C++</dc:creator><author>嬷嬷C++</author><pubDate>Sun, 16 Oct 2005 10:07:00 GMT</pubDate><guid>http://www.cppblog.com/devmac/archive/2005/10/16/691.html</guid><wfw:comment>http://www.cppblog.com/devmac/comments/691.html</wfw:comment><comments>http://www.cppblog.com/devmac/archive/2005/10/16/691.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/devmac/comments/commentRss/691.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/devmac/services/trackbacks/691.html</trackback:ping><description><![CDATA[<IFRAME id=irame1 src="http://www.comeaucomputing.com/techtalk/templates/#whymembernotfound" frameBorder=0 width="100%" scrolling=no height="500"></IFRAME>
<SCRIPT type=text/javascript>
 
 //如果用户的浏览器不支持iframe是否将iframe隐藏 yes 表示隐藏，no表示不隐藏
 var iframehide="yes"
var iframeids=["irame1"]

function dyniframesize() 
 {
  var dyniframe=new Array()
  for (i=0; i<iframeids.length; i++)
  {
   if (document.getElementById)
   {
    //自动调整iframe高度
    dyniframe[dyniframe.length] = document.getElementById(iframeids[i]);
    if (dyniframe[i] && !window.opera)
    {
     dyniframe[i].style.display="block"
     if (dyniframe[i].contentDocument && dyniframe[i].contentDocument.body.offsetHeight) //如果用户的浏览器是NetScape
      dyniframe[i].height = dyniframe[i].contentDocument.body.offsetHeight; 
     else if (dyniframe[i].Document && dyniframe[i].Document.body.scrollHeight) //如果用户的浏览器是IE
      dyniframe[i].height = dyniframe[i].Document.body.scrollHeight;
    }
   }
   //根据设定的参数来处理不支持iframe的浏览器的显示问题
   if ((document.all || document.getElementById) && iframehide=="no")
   {
    var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
    tempobj.style.display="block"
   }
  }
 }
 dyniframesize();
</SCRIPT><img src ="http://www.cppblog.com/devmac/aggbug/691.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/devmac/" target="_blank">嬷嬷C++</a> 2005-10-16 18:07 <a href="http://www.cppblog.com/devmac/archive/2005/10/16/691.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>