Css code for websites (support for flash Gray)

Source: Internet
Author: User
Tip: you can modify some code before running

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><ptml xmlns="http://www.w3.org/1999/xhtml"><pead><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Css code for websites (support for flash Gray)</title><style type="text/css">* {Filter: progid: DXImageTransform. Microsoft. BasicImage (grayscale = 1 );}</style></pead><body><p>This is a simple<p>Css code for websites</p>This is a Gray code that does not make the entire page grayed out, including<strong>Image Gray</strong>, Text dimmed,<strong>Flash Gray code</strong>, Swf can be converted into black and white colors.<br />View an effect<br /> <script language='javascript'>Linkarr = new Array (); picarr = new Array (); textarr = new Array (); var swf_width = 472; var swf_height = 210; var files = ""; var links = ""; var texts = ""; // Here set the call flag linkarr [1] = "http://down.111cn.net/down/ SC /days/zhongqiujieshiliangtu/2010/0813/20220.html"; picarr [1] = "http://down.111cn.net/uploads/allimg/100813/1_205201T91.jpg "; textarr [1] = "2010 mid-autumn moon cake packaging template download"; linkarr [2] = "http://down.111cn.net/down/ SC /days/zhongqiujieshiliangtu/2010/0813/20218.html"; picarr [2] = "http://down.111cn.net/uploads/allimg/100813/1_205000DV.jpg "; textarr [2] = "mid-autumn stage design template download"; linkarr [3] = "http://down.111cn.net/ppt/2010/0812/20200.html"; picarr [3] = "http://down.111cn.net/uploads/allimg/100812/1_2031264915.jpg "; textarr [3] = "beer festival PPT template download, containing only pptfiles"; linkarr [4] = "http://mb.111cn.net/mb/blue/2010/0812/20190.html"; picarr [4] = "yun_qi_img/2017152020_1.jpg "; textarr [4] = "corporate website template, Korean corporate PSD Template"; linkarr [5] = "http://down.111cn.net/down/ SC /psd/psdaicdr/2010/0811/20157.html"; picarr [5] = "http://down.111cn.net/uploads/allimg/100811/1_0U95095G.jpg "; textarr [5] = "vector color streamline background material"; for (I = 1; I<picarr.length;i++){ if(files=="") files = picarr[i]; else files += "|"+picarr[i];}for(i=1;i<linkarr.length;i++){ if(links=="") links = linkarr[i]; else links += "|"+linkarr[i];}for(i=1;i<textarr.length;i++){ if(texts=="") texts = textarr[i]; else texts += "|"+textarr[i];}document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">'); Document. write ('<param name="movie" value="http://down.111cn.net/images/bcastr3.swf"><param name="quality" value="high">'); Document. write ('<param name="menu" value="false"><param name=wmode value="opaque">'); Document. write ('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">'); Document. write ('<embed src="http://down.111cn.net/images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); </script> <br /> 上面是针对flash下面我们来个针对图片的吧。 </p><p></p><br />好了,我们上面举了实例flash,图片,文本,只要*{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);},就让整个页面都变成<strong>网站灰色</strong>的哦。</body></ptml>
提示:您可以先修改部分代码再运行
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.