祝福 发表于 2007-12-14 18:55

发光字体

<p id="me1"
style="position: absolute; left: 155; top: -1; width: 668; height: 405; filter: glow(color=#FF0000, strength=00)"align="center">
<font face="华文新魏" size="7" color="#FF0000"><strong><b>中画网</b></strong></font></p>
<script language="vbscript">
dim i
dim j
i=0
j=0
sub window_onload()
me1.filters.glow.strength=i
me1.filters.glow.color=j
i=i+1
j=j+500
if i>250 then i=0
if j>26777215 then j=0
window.settimeout "window_onload()",100
end sub
</script>

[ 本帖最后由 祝福 于 2007-12-16 13:43 编辑 ]

小白兔 发表于 2007-12-16 13:37

学习祝福老师的JS特效

&lt;p id=\"me2\"<BR>style=\"position: absolute; left: 155; top: -1; width: 668; height: 405; filter: glow(color=#FF0000, strength=00)\"<BR>align=\"center\"&gt;&lt;font face=\"华文新魏\" size=\"7\" color=\"#FFc000\"&gt;&lt;strong&gt;&lt;b&gt;谢谢祝福老师!&lt;/b&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;<BR>&lt;script language=\"vbscript\"&gt;<BR>dim i<BR>dim j<BR>i=0<BR>j=0<BR>sub window_onload()<BR>me2.filters.glow.strength=i<BR>me2.filters.glow.color=j<BR>i=i+1<BR>j=j+500<BR>if i&gt;250 then i=0<BR>if j&gt;26777215 then j=0<BR>window.settimeout \"window_onload()\",100<BR>end sub<BR>&lt;/script&gt;

[ 本帖最后由 小白兔 于 2007-12-16 13:42 编辑 ]

小白兔 发表于 2007-12-16 13:38

晕,我的发出来祝福老师的这个不显示了,JS不能同一页面显示 <br>

还是把楼上的改成代码,这样用起来方便

[ 本帖最后由 小白兔 于 2007-12-16 13:43 编辑 ]

笑寒 发表于 2008-1-5 21:39

<FONT face=华文新魏 color=#ff0000 size=7><STRONG><B>谢谢祝福老师</B></STRONG></FONT></P>

[ 本帖最后由 祝福 于 2008-1-10 10:59 编辑 ]

笑寒 发表于 2008-1-5 21:49

晕,刚才进来还发现在发光变化的,怎么我回了一帖就成这样了?

寶兒 发表于 2008-3-8 19:07

謝謝老師

江南竹韵 发表于 2008-3-9 21:06

也许不能在同一页面上重复使用该文字特效

[ 本帖最后由 江南竹韵 于 2008-3-9 22:25 编辑 ]

橴脃駦嫚 发表于 2008-6-11 18:58

<DIV class=postmessage>
<P id=me1 style=\"FILTER: glow(color=#FF0000, strength=00); POSITION: absolute\" align=center><FONT face=华文新魏 color=#ff0000 size=7><STRONG><B>紫色藤蔓来也</B></STRONG></FONT></P>
<SCRIPT language=vbscript>
dim i
dim j
i=0
j=0
sub window_onload()
me1.filters.glow.strength=i
me1.filters.glow.color=j
i=i+1
j=j+500
if i>250 then i=0
if j>26777215 then j=0
window.settimeout \"window_onload()\",100
end sub
</SCRIPT>
</DIV></TABLE>
<SCRIPT type=text/javascript>
        if(!(is_ie >= 5 || is_moz >= 2)) {
                $(\'restoredata\').style.display = \'none\';
        }
        var editorid = \'posteditor\';
        var textobj = $(editorid + \'_textarea\');
        var wysiwyg = (is_ie || is_moz || (is_opera >= 9)) && parseInt(\'1\') && bbinsert == 1 ? 1 : 0;
        var allowswitcheditor = parseInt(\'1\');
        var allowhtml = parseInt(\'0\');
        var forumallowhtml = parseInt(\'1\');
        var allowsmilies = parseInt(\'1\');
        var allowbbcode = parseInt(\'1\');
        var allowimgcode = parseInt(\'1\');
        var special = parseInt(\'0\');
        var BORDERCOLOR = \"#a7a08b\";
        var ALTBG2 = \"\";
        var charset = \'gbk\';
        var smilies = new Array();
        smilies = {\'code\' : \'\', \'url\' : \'default/zzzz3.gif\'};smilies = {\'code\' : \'\" />\', \'url\' : \'default/zzzz28.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz29.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz34.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/handshake1.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz26.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz33.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz20.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz21.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/55.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz27.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz30.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/57.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz2.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz19.gif\'};smilies = {\'code\' : \'\" />\', \'url\' : \'default/zzzz18.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz17.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz13.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz16.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz15.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz14.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz12.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz11.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz10.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz1.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz24.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz25.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz23.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz22.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz36.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz37.gif\'};smilies = {\'code\' : \'8\', \'url\' : \'default/zzzz38.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz39.gif\'};smilies = {\'code\' : \'\" />\', \'url\' : \'default/zzzz4.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz40.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz41.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz42.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz43.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz44.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz45.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz46.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz47.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz5.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz6.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz7.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz8.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz9.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz35.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz31.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/zzzz32.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/.gif\'};smilies = {\'code\' : \'\', \'url\' : \'default/.gif\'};        lang[\'post_autosave_none\']                = \"没有可以恢复的数据!\";
        lang[\'post_autosave_confirm\']                = \"此操作将覆盖当前帖子内容,确定要恢复数据吗?\";
        lang[\'post_video_uploading\']                = \"您还没有上传视频,或者视频还在上传中,请稍侯重试。\";
        lang[\'post_video_vclass_required\']        = \"请您选择视频所属分类。\";
</SCRIPT>

<SCRIPT type=text/javascript>
                var thumbwidth = parseInt(400);
                var thumbheight = parseInt(300);
                var extensions = \'rar, zip, txt, gif, jpg, jpeg, png\';
                lang[\'post_attachment_ext_notallowed\']        = \'对不起,不支持上传此类扩展名的附件。\';
                lang[\'post_attachment_img_invalid\']        = \'无效的图片文件。\';
                lang[\'post_attachment_deletelink\']        = \'删除\';
                lang[\'post_attachment_insert\']                = \'点击这里将本附件插入帖子内容中当前光标的位置\';
                lang[\'post_attachment_insertlink\']        = \'插入\';
        </SCRIPT>

<SCRIPT src=\"include/javascript/post_attach.js\" type=text/javascript></SCRIPT>

<SCRIPT src=\"include/javascript/post.js\" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>ajaxget(\'post.php?action=smilies\', \'smilieslist\');</SCRIPT>

<SCRIPT type=text/javascript>
                var fontoptions = new Array(\"仿宋_GB2312\", \"黑体\", \"楷体_GB2312\", \"宋体\", \"新宋体\", \"微软雅黑\", \"Trebuchet MS\", \"Tahoma\", \"Arial\", \"Impact\", \"Verdana\", \"Times New Roman\");
                var custombbcodes = new Array();
                custombbcodes[\"fly\"] = {\'prompt\' : \'请输入滚动显示的文字:\'};custombbcodes[\"flash\"] = {\'prompt\' : \'请输入 Flash 动画的 URL:\'};custombbcodes[\"qq\"] = {\'prompt\' : \'请输入显示在线状态 QQ 号码:\'};custombbcodes[\"sup\"] = {\'prompt\' : \'请输入上标文字:\'};custombbcodes[\"sub\"] = {\'prompt\' : \'请输入下标文字:\'};custombbcodes[\"mp3\"] = {\'prompt\' : \'输入MP3格式音频地址\'};custombbcodes[\"music\"] = {\'prompt\' : \'插入mp3,wma音频地址(URL)        自动播放(1自动播放,0手动播放)\'};                lang[\'enter_list_item\']                        = \"输入一个列表项目.\\r\\n留空或者点击取消完成此列表.\";
                lang[\'enter_link_url\']                        = \"请输入链接的地址:\";
                lang[\'enter_image_url\']                        = \"请输入图片链接地址:\";
                lang[\'enter_email_link\']                = \"请输入此链接的邮箱地址:\";
                lang[\'fontname\']                        = \"字体\";
                lang[\'fontsize\']                        = \"大小\";
                lang[\'post_advanceeditor\']                = \"全部功能\";
                lang[\'post_simpleeditor\']                = \"简单功能\";
                lang[\'submit\']                                = \"提交\";
                lang[\'cancel\']                                = \"取消\";
        </SCRIPT>

<SCRIPT src=\"include/javascript/editor.js\" type=text/javascript></SCRIPT>

<SCRIPT src=\"include/javascript/bbcode.js\" type=text/javascript></SCRIPT>

<SCRIPT src=\"include/javascript/post_editor.js\" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
        $(editorid + \'_contract\').onclick = function() {resizeEditor(-100)};
        $(editorid + \'_expand\').onclick = function() {resizeEditor(100)};
        $(\'checklength\').onclick = function() {checklength($(\'postform\'))};
        $(\'previewbutton\').onclick = function() {previewpost()};
        $(\'clearcontent\').onclick = function() {clearcontent()};
        $(\'postform\').onsubmit = function() {validate(this);if($(\'postsubmit\').name != \'editsubmit\') return false};
                        checkFocus();
                setCaretAtEnd();
        </SCRIPT>

<STYLE type=text/css>
<!--
.STYLE3 {color: #8c8280}
.STYLE2 {color: #ffffff}
.STYLE1 {color: #FF0000;
         font-size:12px;}
-->
</STYLE>

<DIV class=STYLE1 align=center> </DIV>

紫色灵枫 发表于 2008-6-17 06:24

作业

<P id=me2 style=\"FILTER: glow(color=#FF0000, strength=00); LEFT: 200px; WIDTH: 668px; POSITION: absolute; TOP: 5100px; HEIGHT: 405px\" align=center><FONT face=华文新魏 color=#ffc000 size=7><STRONG><B>我也来试一下!</B></STRONG></FONT></P>
<SCRIPT language=vbscript>
dim i
dim j
i=0
j=0
sub window_onload()
me2.filters.glow.strength=i
me2.filters.glow.color=j
i=i+1
j=j+500
if i>250 then i=0
if j>26777215 then j=0
window.settimeout \"window_onload()\",100
end sub
</SCRIPT>

[ 本帖最后由 漂流的玻璃瓶 于 2008-6-17 06:28 编辑 ]

紫色灵枫 发表于 2008-6-17 06:25

晕刚才试了一下怎么没有字呢?
页: [1] 2 3 4
查看完整版本: 发光字体