Javascript 如何解决iGoogle小工具的问题?

Javascript 如何解决iGoogle小工具的问题?,javascript,html,frames,igoogle,Javascript,Html,Frames,Igoogle,我想制作一个“iGoogle小工具”,用于更改iGoogle页面上的搜索框。 以下是我目前的代码: <script type="text/javascript"> function bing(){ document.getElementById('sfrm').action="http://www.bing.com/search"; } </script> <input type="button" onclick="bing()" value="Search"&

我想制作一个“iGoogle小工具”,用于更改iGoogle页面上的搜索框。
以下是我目前的代码:

<script type="text/javascript">
function bing(){
  document.getElementById('sfrm').action="http://www.bing.com/search";
}
</script>
<input type="button" onclick="bing()" value="Search"><br>with Bing.

函数bing(){
document.getElementById('sfrm')。操作=”http://www.bing.com/search";
}

和Bing。
我在一个单独的页面上使用页面搜索框代码对其进行了简单的测试,结果成功了。

它不工作,因为它是在一个框架;如果是这样的话,有什么解决办法吗?

我觉得谷歌设计iGoogle可能是为了防止修改那些东西…

我记得他们有不同的小工具模式。允许在页面上进行更多访问的模式类似于“inline”。但是我不确定。我只是在网上快速搜索了一下,但是没有结果。也许他们已经把它弄丢了,你必须去寻找它

//编辑 试一试

<Content type="html-inline">

我不确定它是否会起作用,没有试过