因为着是一段javascripts代码,所以它们应该放在 参数解释:
js脚本结束
【3、用函数控制弹出窗口】 下面是一个完整的代码。
?任意的页面内容?
这里定义了一个函数openwin(),函数内容就是打开一个窗口。在调用它之前没有任何用途。 怎么调用呢?
方法一: 浏览器读页面时弹出窗口; 方法二: 浏览器离开页面时弹出窗口; 方法三:用一个连接调用: 注意:使用的“#”是虚连接。 方法四:用一个按钮调用:
a:hover { font-size: 12px; color: #000000; text-decoration: none} -->
15,IE6已支持自定义cursor!
语法格式 cursor:url(图标) //cur或是ani文件.
cur就是WINDOWS中的光标(cursor)文件,光标文件与图标(ICON)文件除了文件头有一个位置的值不同外,实际是一样的。
ani是WINDOWS中的动画光标(图标)文件。
16,用marquee做的滚动字幕.这也我刚看到论坛的朋友在问。 语法:
align=# | top | middle| bottom //对齐方式)
BEHAVIOR=ALTERNATE | SCROLL | SLIDE //移动的方式 BGCOLOR=color//底色区域颜色
DIRECTION=DOWN | LEFT | RIGHT | UP //移动的方向 Loop=n //循环次数(默认是循环不止) Scrolldelay=milliseconds//延时 height=# width=# //区域面积 hspace=# vspace=# //空白区域 scrollamount=# //移动的速度
17,在FLASH5中也存在一些字体,打散后变成一团的事是为什么?有解决的办法吗。 这是大家很常见的问题!可能是对字库支持的不好!我个是做成透明的gif图片格式,然后倒入。
18,flash的网页里“加入收藏夹”功能怎么实现?
在as中加getUrl(\script:window.external.addFavorite(http://skydesigner.51.net`,`我的工作室`)\
19,在Flash中,文本的动态属性和输入属性的区别。 input text在运行时可被用户或程序改变其值。 ynamic text仅允许被程序修改。
20,怎样在IE中调用Dreamweaver进行编辑.
相信很多在使用WinME或Window2000的朋友,会遇见是个问题。很简单,把我们笔记本程序打开,保存为一个 *.reg 文件。双击它将信息添加到注册表即可。
REGEDIT4
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Dreamweaver]
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Dreamweaver\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Dreamweaver\\shell\\edit]
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Dreamweaver\\shell\\edit\\command] @=\
21,设置表格虚线。
方法一:作一个1X2的图。半黑半白,再利用表格作成线。 方法二:在css里面设,要IE5。5才支持这种效果。
style=\#000000 1PX DASHED; BORDER-RIGHT: #000000 1PX DASHED; BORDER-TOP: #000000 1PX DASHED; BORDER-BOTTOM: #000000 1PX DASHED\
22,看看在网页中调用HHCtrl控件效果。 代码如下:
a:hover { font-size: 9pt; color: #FF0000; text-decoration: underline} a:link { font-size: 9pt; color: #006699; text-decoration: underline} a:visited { font-size: 9pt; color: #006699; text-decoration: underline} a:active { font-size: 9pt; color: #FF0000; text-decoration: none}
a.r1:hover { font-size: 9pt; color: #FF0000; text-decoration: underline overline} a.r1:link { font-size: 9pt; color: #000000; text-decoration: underline overline} a.r1:visited { font-size: 9pt; color: #99CC00; text-decoration: underline overline} a.r1:active { font-size: 9pt; color: #000000; text-decoration: underline overline} -->
a:hover 表示鼠标划过时的样式. a:link 表示链接的样式.
相关推荐: