一聚教程网:一个值得你收藏的教程网站

热门教程

非常好的东西,有助于学习css虑镜,转msdn [1]

时间:2022-06-30 09:49:24 编辑:袖梨 来源:一聚教程网

>

DirectX Transform Filters Interactive Demo
T LANGUAGE="javascript">
var browserCapable = true;    // Prevents errors on downlevel browsers
var startImage = "/workshop/graphics/tigerstripe.jpg";
var endImage = "/workshop/graphics/metablob.jpg";
var featuresHeader = "Features:
"
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++) {

热门栏目