非常好的東西,有助於學習css慮鏡,轉msdn [1]

來源:互聯網
上載者:User
<HTML>
<HEAD>
<TITLE>DirectX Transform Filters Interactive Demo</TITLE>
<SCRIPT LANGUAGE="javascript">
var browserCapable = true;    // Prevents errors on downlevel browsers
var startImage = "/workshop/graphics/tigerstripe.jpg";
var endImage = "/workshop/graphics/metablob.jpg";
var featuresHeader = "<B>Features:</B><BR>"
function copy2Clipboard()
{
    // Copy currently displayed code to user's clipboard.
    textRange = document.body.createTextRange();
    textRange.moveToElementText(oCodeSpan);
    textRange.execCommand("Copy");
}
function highlightText(whatToHighlight) {
    oRng = document.body.createTextRange();
    oRng.moveToElementText(oCodePre);
    oRng.execCommand("RemoveFormat");
    oHL = document.body.createTextRange();
    oHL.moveToElementText(oCodePre);
    oHL.findText(whatToHighlight);
    oHL.execCommand("Bold");
}
function switchContent(obj) {
    oContentHolder.innerHTML=obj.innerHTML;
    oImg.src=startImage;
    if (obj==filterSection){
        changeFilter();
        updateFilterCode();
    }
    else {
        changeTrans();
        updateTransCode();
    }
}
function getControlObject(controlName) {
     for (x=0; x < document.all(controlName).length; x++) {
相關文章

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.