IE上有一个搜索工具,就在收藏夹的左边。点一下后在IE的走边出现一个子窗体,上面是搜索。怎么能在我Web页面里写事件定向到一的页面,当打开那个页面时那个搜索子窗体是打开的。这还不算,那个搜索子窗体是可以变的,比如说页面定向到google,可那个搜索子窗体却是别的网站的页面。我是在一搜(www.1sou.com)看到这个功能的,大家可以看一下,现在老总要我做,我完全没有头绪,哪位大哥大姐能告诉小弟,小弟必当重谢。
解决方案 »
- 根据关键字显示商品
- 关于弹出窗口[color=#FF0000][急急急][/color]
- ASP.NET表格中的按扭传值问题,急急急!!!!
- 怎样手动绑定DropDownList??
- 如何用CommandArgument传递多个参数??
- 关于vs05中利用dropdownlist来筛选gridview的一个问题.
- xml xsl TO html的问题
- No persister for: test.model.Person
- 菜鸟问个弱弱的问题:VS2010中,默认主页Default.aspx可以只用HTML和Javascript编写吗?
- webservice的资源释放问题,郁闷,请大家帮忙
- 为什么我写的发送邮件程序发不出邮件去?
- SQL 语句中 convert 使用问题
应该有对应的object !
╰╮ ╭╯ ╰╮ ╭╯ ╰╮ ╭══╮╰╮
║ ║ ║ ║ ║ ║ ╰╮╰╮
║ ║ ║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║ ╭╯╭╯
║ ║ ║ ║ ║ ╰══╯╭╯
║ ║ ║ ║ ║ ╭═══╯
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
╰╮╰╮ ╭╯╭╯ ║ ║ 也应有分!!!too
这是他那个网站的代码
scrolling="auto" height="89%" style="BACKGROUND-COLOR: #ffebcd;"></IFRAME>
<script>
function SetUrl()
{
if(document.all("h1").value==1)
{
document.all("contentpage").src="obsFrame.htm";
}
else
{
document.all("contentpage").src="default/Search.aspx";
}
// alert(document.all("contentpage").src);
}
</script>
string url="pass.aspx";
Response.Write("ChildWindow = window.open('"+url+"', '111', 'width=340,height=190,top=220,left=220,toolbar=no,status=no,location=no,menubar=no,directories=no,scrollbars=no,resizable=no')");
Response.Write("</script>");
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
</form>
<FONT face="MS UI Gothic"></FONT><FONT style="BACKGROUND-COLOR: #ffffff" face="MS UI Gothic">
</FONT><FONT style="BACKGROUND-COLOR: #ffffff" face="MS UI Gothic"></FONT><iframe id="iframe1" src="http://community.csdn.net/Expert/topic/3382/3382740.xml?temp=9.074038E-02"
style="Z-INDEX: 101; LEFT: 20px; WIDTH: 440px; POSITION: absolute; TOP: 40px; HEIGHT: 345px">
</iframe></IFRAME> <iframe id="iframe2" src="http://community.csdn.net/Expert/topic/3394/3394631.xml?temp=.8743097"
style="Z-INDEX: 101; LEFT: 475px; WIDTH: 440px; POSITION: absolute; TOP: 40px; HEIGHT: 345px">
</FORM>
</body>
</HTML>
</IFRAME> </BODY></HTML>
就象孟子E章下面的搜索MSDN 是怎么实现的。还有用GOOGLE搜索
。。
这些都是怎么实现的呢。郁闷啊。
关注
window.open('yourPage','_search');