Support Yaan, modify Web page to gray and code modification use method

Source: Internet
Author: User
support Yaan, the overall tone of the website dimmed, let us pray for it! As a programmer, what can we do as a webmaster? Pray for the people of Sichuan Yaan with their own actions! The webmaster together to move, let us together for the Sichuan Yaan people to pray.


The following code is the CSS code that makes the entire Web page grayed out:
    1. HTML {filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);-webkit-filter:grayscale (100%);}
Copy CodeHow to use: Add code to the bottom of the CSS file.

If the Web site is not using CSS, you can use the Global header HTML code in the page/templateAndInsert between:
Copy CodeNote:

1, some webmaster's website uses the above code did not take effect, is because the website page did not use the latest Web standard protocol

Copy CodePlease put the page at the head of theReplace with the above code to resolve.

2, some Web site Flash animation color can not be controlled by the CSS filter, flash code in theand theInsert between:

Copy CodeDiscuz Forum whole station changed to Gray method:

Method One (recommended): In the background--Global--seo settings--Other--Additional header information Add the following code:
Copy Code

1.jpg.thumb.jpg (201.19 KB, download count: $)

Download attachments

Gray Page Setup

2013-4-20 23:56 Upload


Method Two: In the Discuz template Template\default\common directory under the Common.css file inside the bottom of the add
    1. Html{filter:progid:dximagetransform.microsoft.basicimage (grayscale=1);-webkit-filter:grayscale (100%);}
Copy CodeMethod Three: In the Discuz template Template\default\common directory under the header_common.htm file inside the bottom of the add
Copy Code
Yaan
  • 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.