위젯은 다음 언어로 번역될 수 있습니다.
언어 | culture-slug |
---|---|
한국어 | en |
위젯에서 언어를 변경할 때 다음 템플릿에 따라 iframe의 소스를 변경합니다.
https://pc-builds.com/{culture-slug}/embed/{widget-type} // For example {culture-slug} is replaced with "es" for Spanish
이 코드를 사용하여 병목 현상 계산기를 포함합니다.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-bottleneck-calculator");
if(e.data[0] == 'setFrameHeight-bottleneck-calculator') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/bottleneck-calculator"
id="pc-builds-bottleneck-calculator"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
이 코드를 사용하여 초당 프레임 계산기를 포함합니다.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-fps-calculator");
if(e.data[0] == 'setFrameHeight-fps-calculator') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/fps-calculator"
id="pc-builds-fps-calculator"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
이 코드를 사용하여 게임 병목 현상 계산기를 포함합니다.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-games-bottleneck-calculator");
if(e.data[0] == 'setFrameHeight-games-bottleneck-calculator') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/games-bottleneck-calculator"
id="pc-builds-games-bottleneck-calculator"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
이 코드를 사용하여 전원 공급 장치 계산기를 포함합니다.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-psu-calculator");
if(e.data[0] == 'setFrameHeight-psu-calculator') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/psu-calculator"
id="pc-builds-psu-calculator"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
이 코드를 사용하여 프로세서 비교를 위해 보기를 포함합니다.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-compare-processors");
if(e.data[0] == 'setFrameHeight-compare-processors') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/compare-processors"
id="pc-builds-compare-processors"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
이 코드를 사용하여 그래픽 카드 비교를 위한 내장 뷰.
<script>
window.addEventListener('message', function(e) {
let pcb_iframe = document.getElementById("pc-builds-compare-graphic-cards");
if(e.data[0] == 'setFrameHeight-compare-graphic-cards') { pcb_iframe.style.height = e.data[1] + 'px'; }
}, false);
</script>
<iframe loading="lazy"
src="https://pc-builds.com/ko/embed/compare-graphic-cards"
id="pc-builds-compare-graphic-cards"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>