sIFR.replace(诺伊特拉,{       选择器: '#nav礼',       CSS:[“一{颜色:#FFFFFF;文字修饰:无;字体大小:14px的}:悬停{颜色:#d75a60;文字修饰:下划线;}'],       WMODE: '透明',preventWrap:真,forceWidth:真,fitExactly:真,forceSingleLine:真,的offsetTop:0,offsetLeft:0,tuneWidth:0,tuneHeight:0,     });

和我需要的风格bspandiv ...我只是无法找到的方式,如果我再添sIFR.replace(等等...它不会工作,它弄乱有时其他替换:?... S任何好的参考由于事先

没有正确的解决方案

其他提示

我不知道为什么你有两个独立的.replace声明麻烦,但在任何情况下,我相信你可以使用一个逗号,这样它们链的单一声明中:

sIFR.replace(neutra, {
  selector: '#nav li, div span b',
  css:[ 'a { color: #ffffff; text-decoration:none; font-size:14px} a:hover { color: #d75a60; text-decoration:underline;}'],
  wmode: 'transparent', preventWrap: true ,forceWidth: true ,fitExactly: true ,forceSingleLine: true ,offsetTop: 0 ,offsetLeft: 0 ,tuneWidth: 0 ,tuneHeight: 0,
});

非常感谢,实际上我解决了这个使用

sIFR.replace(myfont, {
selector: '#right-column h1',
css: [ '.sIFR-root {color: #921c22;}' ]
}); 

.sIFR-root是关键!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top