2009-03-04 4 views
2

첫 번째로 여기에 "sifr3-r436"빌드를 사용하세요.SIFR : 얼마 가량입니까?

저는 회사의 웹 사이트에서 일하고 있으며 SIFR 기술을 도입 할시기가되었다고 결정했습니다. 지금까지 한 두 가지 질문을 제외하고는 아주 쉽게 이해할 수있었습니다. 기본적으로 저는 두 가지 불타는 질문에 답을하고 싶습니다.

1) SIFR이 "확인"된 것으로 간주되는 정도는 무엇입니까? 헤드 라인에 대해서만 SIFR을 사용하고 있지만 FAQ/워크 쓰루의 권장 사항에 따라 SIFR로 변환하고 싶은 내용이 많이 남아 있습니다. 사용중인 SIFR의 양 (Rockwell 글꼴 헤드 라인과 부제목)을 보려면 the website을 확인하십시오. 너무 많습니까?

2) SIFR로 글꼴 색을 제어하는 ​​방법은 무엇입니까? 분명히 당신이 'sifr-config.js'파일 안에 설정할 수 있다는 것을 알고 있습니다. 당신이 볼 수 있듯이, 지금은 다른 일을 할 수 있었다 유일한 방법

sIFR.replace(rockwell, { 
selector: '.h3_sifr', css: '.sIFR-root { font-size: 18px; background-color: #a63f03; color: #bf7e04;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_green', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #597704;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_maroon', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #330000;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_blue', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #005995;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_cruise', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #016EA1;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_australia', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #277c5d;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_intl', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #1b2f15;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_us', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #32588b;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_hawaii', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #4a1e52;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_rail', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #304c2a;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_canada', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #0a2754;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_alaska', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #083c4b;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_sadc', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #630002;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_easternus', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #8b3100;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_lightgray', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #999999;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_medgray', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #666666;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_darkgray', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #333333;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_extended', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #175700;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 
sIFR.replace(rockwell, { 
selector: '.h3_sifr_orange', css: '.sIFR-root { font-size: 18px; background-color: #FFFFFF; color: #a63f03;}', forceSingleLine: true, wmode: 'transparent', tuneHeight: -5, 
}); 

: 그러나, 내가 사용하고자하는 많은 다른 색깔의 헤드 라인을 가지고 ... 나는 현재 이런 식으로하고 있어요 색상은 각 색상마다 별도의 대체 설명을 통해 이루어집니다. '인라인'(예 : <span class="h3_sifr" style="color:#123456></span>)의 색상을 변경해 보았지만 작동하지 않습니다. 어떤 팁?

답변

1

나는 당신이 너무 많은 sIFR을 사용하고 있다고 생각합니다. 링크를 주 헤더로만 제한하고 링크를 바꾸지 마십시오.

CSS 문제는 약간의 피클이지만 쉬운 대답은 아닙니다. 하지만 다른 공유 속성을 rockwell 개체에 복사 할 수 있으므로 다시 공유 할 필요가 없습니다.

투명성을 사용하지 않으려 고 시도하면 forceSingleLine을 사용할 필요가 없습니다.

+0

교체 할 때 sifr 텍스트가 두 번째 줄로 떨어 지므로 forceSingleLine을 사용하고 있습니다. 이 속성을 사용하지 않고이 문제를 해결하는 방법을 알 수 없습니다. 어떤 팁? 나는 SIFR의 사용법을 다듬을 것이다. 나의 직감은 내가 어쨌든 너무 많이 사용하고 있다는 것이었다. 응답 해 주셔서 감사합니다. –

+0

아마 플래시 글꼴이 레이아웃에 문제를 일으키는 HTML 글꼴보다 넓습니다. '.sIFR-active *'스타일에서'letter-spacing'을 사용하여 HTML 텍스트를 더 넓게 만드십시오. –