Use this to define the width of the new window.
2. height=200
Use this to define the height of the new window.
3. resizable=yes or no
Use this to control whether or not you want the user to be able to resize the window.
4. scrollbars=yes or no
This lets you decide whether or not to have scrollbars on the window.
5. toolbar=yes or no
Whether or not the new window should have the browser navigation bar at the top (The back, foward, stop buttons..etc.).
6. location=yes or no
Whether or not you wish to show the location box with the current url (The place to type http://address).
7. directories=yes or no
Whether or not the window should show the extra buttons. (what's cool, personal buttons, etc...).
8. status=yes or no
Whether or not to show the window status bar at the bottom of the window.
9. menubar=yes or no
Whether or not to show the menus at the top of the window (File, Edit, etc...).
10. copyhistory=yes or no
Whether or not to copy the old browser window's history list to the new window.
[ 本帖最后由 shfaye 于 2008-2-20 01:26 编辑 ] <FORM>
<INPUT type="button" value="New Window!" onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200,toolbar=yes,
location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,
resizable=yes')">
</FORM> javascript --> ajax 要是 .NET 就看
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/
要是 JAVA 就看
http://code.google.com/webtoolkit/examples/
当然你要是有时间的话,钻研下JAVASCRIPT和 XML, 自己写控件也可以 没用过WEBDESIGNER, 应该和FRONTPAGE有点相同。具我所了解的,你要实现上面的功能,无刷新的话就必须使用 AJAX,更高级点就是FLASH,或者新出的SILVERLIGHT. 当然有刷新就根本不是问题了.
你用的是C#或者是VB, 那你可以找本ASPX的书找INDEX里的 CALL BACK, 通过CALLBACK机制在ASPX下实现异步传输.另外一种方法是安装ASPX AJAX TOOLSKITS(但是我不知道能不能在WEBDESIGNER下使用, VISUAL STUDIO 下没问题), 或者其他公司的TOOLSKITS, 还要配置好WEBCONFIG文件, 比较麻烦. 好象是没有捷径可以走.$郁闷$
JAVASCRIPT不能要求你很强,毕竟不是你的专业, 只能说你老大把不合适的工作安排给你了. 也许他不了解工作难度, 以为非常简单. 你可以试着跟他说明, 改变一下需求.
页:
[1]
2