Accessing a frame within a frame

后端 未结 4 1650
故里飘歌
故里飘歌 2021-01-22 07:30

Ok, here is the situation. I have a site that I subscribe to that lets you add your own code, etc. They have a forum editor that I am unable to skin to match my site, so I\'d li

4条回答
  •  渐次进展
    2021-01-22 08:09

    If the innerframe has a name try

    innerframeName.document.body.style.backgroundColor="#000000";
    

    I had the innerframe bgcolor set by

    < style type="text/css">

    body{background:#cccccc;}

    < /style >

    and was able to change it.

提交回复
热议问题