frame.load(function()
        {                 
                var frm = frames['frame'].document;
                                
                var otherhead = frm.getElementsByTagName("head")[0];                        
                var link = frm.createElement("link");                        
                link.setAttribute("rel", "stylesheet");                        
                link.setAttribute("type", "text/css");
                link.setAttribute("href", "style.css");                        
                otherhead.appendChild(link);
       }
 );

文章標籤

卡卡 發表在 痞客邦 留言(0) 人氣()