테스트 사이트 - 개발 중인 베타 버전입니다

이미지맵 + 슬라이더연동(bxslider) 코드질문입니다. 채택완료

링굥호 5년 전 조회 2,956

상단에 이미지맵으로 13개의 이미지맵 링크가 있고,

링크 클릭시 해당하는 이미지가 그 아래 bxslider에서 이미지가 나오도록 코드를 작성하였는데..

 

아무리 고민해도 답이 안나옵니다..

https://sir.kr/qa/102359?sfl=mb_id%2C1&lstx=kshajiny">https://sir.kr/qa/102359?sfl=mb_id%2C1&lstx=kshajiny

예전에 작성된 위의 글과 댓글들을 참조하여 작성하였으나 도무지 진전이 없어 질문을 올립니다..

여기까지 작성된 코드를 어떻게 수정하면 좋을까요?

 

</p>

<p><div class="product_area"></p>

<p> <img src="<?=G5_THEME_URL?>/img/product/01/layout.jpg" width="100%" usemap="#product01_01"></p>

<p>  <map name="product01_01"></p>

<p>   <area shape="rect" coords="52, 462, 79, 488" href="javascript:custom_function(0);"></p>

<p>   <area shape="rect" coords="133, 462, 161, 488" href="javascript:custom_function(1);"></p>

<p>   <area shape="rect" coords="461, 462, 490, 488" href="javascript:custom_function(2);"></p>

<p>   <area shape="rect" coords="494, 462, 522, 488" href="javascript:custom_function(3);"></p>

<p>   <area shape="rect" coords="532, 462, 556, 488" href="javascript:custom_function(4);"></p>

<p>   <area shape="rect" coords="858, 462, 888, 488" href="javascript:custom_function(5);"></p>

<p>   <area shape="rect" coords="937, 462, 966, 488" href="javascript:custom_function(6);"></p>

<p>   <area shape="rect" coords="983, 462, 1012, 488" href="javascript:custom_function(7);"></p>

<p>   <area shape="rect" coords="1032, 462, 1063, 488" href="javascript:custom_function(8);"></p>

<p>   <area shape="rect" coords="1072, 462, 1098, 488" href="javascript:custom_function(9);"></p>

<p>   <area shape="rect" coords="1136, 462, 1163, 488" href="javascript:custom_function(10);"></p>

<p>   <area shape="rect" coords="263, 72, 287, 94" href="javascript:custom_function(11);"></p>

<p>   <area shape="rect" coords="729, 72, 756, 94" href="javascript:custom_function(12);"></p>

<p>  </map></p>

<p> </p>

<p> <div class="slider"></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/01.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/02.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/03.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/04.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/05.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/06.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/07.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/08.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/09.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/10.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/11.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/12.jpg" width="100%"></div></p>

<p>  <div><img src="<?=G5_THEME_URL?>/img/product/01/12.jpg" width="100%"></div></p>

<p> </div></p>

<p> </p>

<p><script></p>

<p>$(function(){</p>

<p>$('.slider').bxSlider({</p>

<p>mode: 'fade',</p>

<p>captions: true,</p>

<p>});</p>

<p>});</p>

<p></script></p>

<p></div></p>

<p>

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

흠... 답답 합니다.

소스를 구성 해드릴수는 없습니다.

 

img src="" id="변수" 를 전달 할 수 있습니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인