摘要:
1.IFrame引入IFRAME NAME="content_frame" width=100% height=30 marginwidth=0 marginheight=0 SRC="import.htm"/ 你会看到一个外部引入的文件,但会发现有一个类似外框的将其包围,可使用: iframe name="content_frame" marginwidth=0marginheight=0 width=100% height=30 src="import.htm"frameborder=0/ 但你会发现还会有点问 阅读全文
posted @ 2008-09-26 22:58
ajuanabc
阅读(943)
评论(0)
推荐(0)
摘要:
上一次说到控制类的派生类LocationBarView,现在就来分析这个函数的功能,看看它又把URL连接传到那里去,立即就去看代码,在这行代码controller_->OnAutocompleteAccept里,可以看到调用函数OnAutocompleteAccept,它的代码如下:#001 void LocationBarView::OnAutocompleteAccept(#002 const std::wstring& url,#003 WindowOpenDisposition disposition,#004 PageTransition::Type transitio 阅读全文
posted @ 2008-09-26 22:09
ajuanabc
阅读(190)
评论(0)
推荐(0)
摘要:
<!--start------------------------------------------------------------> 相对定位版不间断滚动:<br><br> <divstyle="width:200px;height:150px;overflow:hidden"> <tablecellspacing=0cellpadding=5bgcolor=#F8F8F8style="position:relative;top:0px;width:200px;table-layout:fixed&qu 阅读全文
posted @ 2008-09-26 15:53
ajuanabc
阅读(136)
评论(0)
推荐(0)
摘要:
在文本框的keypress事件调用下面函数。 如<inputdisabled="disabled"type="text"id='userNameToEdit'onkeypress="TextValidate()"/> 如果在文本框中按下特殊字符键,则显示警告信息,并且屏蔽输入。 functionTextValidate() { varcode; varcharacter; varerr_msg="TextcannotcontainSPACESoranyofthesespecialcharacter 阅读全文
posted @ 2008-09-26 15:52
ajuanabc
阅读(525)
评论(0)
推荐(0)
浙公网安备 33010602011771号