我正在尝试在我的菜单和标题上使用sIFR ......但只有一个调用有效......我放的其他调用永远不会出现:(...
有人能帮助我吗?
注意:我使用的是r436,以下是我的代码...
var segoe = {
src: 'pathto/segoe.swf',
ratios: [7, 1.58, 8, 1.49, 10, 1.5, 11, 1.45, 16, 1.46, 21, 1.44, 22, 1.41, 27, 1.42, 30, 1.41, 32, 1.4, 35, 1.41, 36, 1.4, 38, 1.39, 41, 1.4, 58, 1.39, 65, 1.38, 66, 1.39, 102, 1.38, 104, 1.37, 106, 1.38, 107, 1.37, 108, 1.38, 109, 1.37, 110, 1.38, 112, 1.37, 114, 1.38, 120, 1.37, 121, 1.38, 1.37]
};
sIFR.activate(segoe);
sIFR.replace(segoe, {
selector: '#header ul li a span.title',
css: ['.sIFR-root { text-align: center; font-size:13px; letter-spacing:2; font-weight: bold; text-transform:uppercase; cursor: pointer; color:#FFFFFF; background-color:#0C2C39; margin:0 3px; }'],
wmode: 'transparent'
});
sIFR.replace(segoe, {
selector: 'h1',
css: ['.sIFR-root { text-align: center; font-size:13px; letter-spacing:2; font-weight: bold; text-transform:uppercase; cursor: pointer; color:#000; background-color:#fff; margin:0 3px; }']
});
答案 0 :(得分:0)
好吧,我现在感觉很蠢......
我没有正确调用“sifr-config.js”文件......
抱歉!