<³»¿ë ¼öÁ¤> html asia ÀÌ¿ëÇÑ tab »ý¼º ¹®ÀÇ µå¸³´Ï´Ù.

wingback   
   Á¶È¸ 1738   Ãßõ 0    

 안녕하세요


html 공부 중에 어느 사이트에서 tab 기능이 마음에 들어 공부 해서 써먹어 보려고 긁어 왔는데 

동작이 잘 되지 않아 문의 드립니다.


초보인 제가 보기에 문제는 없어 보이는데 뭐가 빠진건지 탭이 클릭이 되지 않네요...

고수님들 확인 한번 부탁 드립니다.ㅠㅠ


html 을 첨부파일로 올리겠습니다.

제가 너무 생각 없이 업로드를 한 것 같습니다.

소스만 다시 올려 드립니다.


aria 부분만 확인 부탁드립니다. 클릭이 안되는 이유가 뭘까요?

 

<head>

<style type="text/css">

/*  Tabby Responsive Tabs: cubecolour.co.uk/tabby-responsive-tabs-customiser */

.responsive-tabs .responsive-tabs__heading {display: none;}.responsive-tabs .responsive-tabs__list__item {display: inline;cursor: pointer;}.responsive-tabs-wrapper {clear: both;margin-bottom: 20px;zoom: 1;}.responsive-tabs-wrapper:before,.responsive-tabs-wrapper:after {content: "";display: table;}.responsive-tabs-wrapper:after {clear: both;}.responsive-tabs .responsive-tabs__heading:focus,.responsive-tabs .responsive-tabs__list__item:focus {outline: 1px solid transparent;}.responsive-tabs .responsive-tabs__heading--active:focus,.responsive-tabs .responsive-tabs__list__item--active:focus {outline: none;}.responsive-tabs ul.responsive-tabs__list {font-size: 18px;line-height: 18px;margin: 20px 0 0 12px;padding: 0;}.responsive-tabs .responsive-tabs__list__item {background: transparent;border: 1px solid transparent;border-bottom: none;-webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;border-top-left-radius: 3px;border-top-right-radius: 3px;color: #999999;font-size: 18px;line-height: 19px;text-transform: inherit;margin: 1px 12px 0 0;padding: 10px 12px 10px;white-space: nowrap;float: left;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.responsive-tabs .responsive-tabs__list__item .fa {margin-right: 8px;line-height: 0.8;}.responsive-tabs .responsive-tabs__list__item:hover {color: #333333;background: transparent;}.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {background: #ffffff;border-color: #dddddd;color: #666666;padding-bottom: 11px;margin-top: 0;position: relative;top: 1px;}.responsive-tabs .responsive-tabs__panel {background: #ffffff;border: 1px solid #dddddd;border-top: 1px solid #dddddd;-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;-webkit-border-top-left-radius: 0px;-moz-border-radius-topleft: 0px;border-top-left-radius: 0px;clear: left;margin-bottom: 0;padding: 20px 20px 0;word-wrap: break-word;}.responsive-tabs .responsive-tabs__panel:after { content: "";display: block; height: 0; clear: both;}.responsive-tabs__list .fa {display:none;}@media (min-width: 732px) {.responsive-tabs .responsive-tabs__panel--closed-accordion-only {display: block;}}@media (max-width: 731px) {.responsive-tabs .responsive-tabs__list {display: none;}.responsive-tabs .responsive-tabs__heading {display: block;cursor: pointer;}.responsive-tabs-wrapper {border-top: 1px solid #cccccc;}.responsive-tabs .responsive-tabs__heading {background: #ffffff;border: 1px solid #cccccc;border-top: none;color: #777777;font-size: 18px;font-weight: normal;text-transform: inherit;margin: 0;padding: 10px 0;padding-left: 20px;position: relative;}.responsive-tabs .responsive-tabs__heading .fa {margin-right: 8px;display:none;}.responsive-tabs .responsive-tabs__heading:after {border-left: 6px solid transparent;border-right: 6px solid transparent;border-top: 6px solid #777777;content:"";display: block;position: absolute;right: 20px;top: 20px;height: 0; width: 0; }.responsive-tabs .responsive-tabs__heading:hover {background: #eeeeee;color: #777777;}.responsive-tabs .responsive-tabs__heading:hover:after {border-top: 6px solid #777777;}.responsive-tabs .responsive-tabs__heading--active,.responsive-tabs .responsive-tabs__heading--active:hover {background: #cccccc;color: #ffffff;}.responsive-tabs .responsive-tabs__heading--active:after,.responsive-tabs .responsive-tabs__heading--active:hover:after {border-bottom: 6px solid #ffffff;border-top: 0;top: 18px;}.responsive-tabs .responsive-tabs__panel {background: #ffffff;border: 1px solid #cccccc;-webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;border-top: none;margin: 0;padding: 0 20px;padding-top: 20px;}}</style>


<style type="text/css">

/*  Tabby Responsive Tabs: cubecolour.co.uk/tabby-responsive-tabs-customiser */

.responsive-tabs .responsive-tabs__heading {display: none;}.responsive-tabs .responsive-tabs__list__item {display: inline;cursor: pointer;}.responsive-tabs-wrapper {clear: both;margin-bottom: 20px;zoom: 1;}.responsive-tabs-wrapper:before,.responsive-tabs-wrapper:after {content: "";display: table;}.responsive-tabs-wrapper:after {clear: both;}.responsive-tabs .responsive-tabs__heading:focus,.responsive-tabs .responsive-tabs__list__item:focus {outline: 1px solid transparent;}.responsive-tabs .responsive-tabs__heading--active:focus,.responsive-tabs .responsive-tabs__list__item--active:focus {outline: none;}.responsive-tabs ul.responsive-tabs__list {font-size: 18px;line-height: 18px;margin: 20px 0 0 12px;padding: 0;}.responsive-tabs .responsive-tabs__list__item {background: transparent;border: 1px solid transparent;border-bottom: none;-webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;border-top-left-radius: 3px;border-top-right-radius: 3px;color: #999999;font-size: 18px;line-height: 19px;text-transform: inherit;margin: 1px 12px 0 0;padding: 10px 12px 10px;white-space: nowrap;float: left;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.responsive-tabs .responsive-tabs__list__item .fa {margin-right: 8px;line-height: 0.8;}.responsive-tabs .responsive-tabs__list__item:hover {color: #333333;background: transparent;}.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {background: #ffffff;border-color: #dddddd;color: #666666;padding-bottom: 11px;margin-top: 0;position: relative;top: 1px;}.responsive-tabs .responsive-tabs__panel {background: #ffffff;border: 1px solid #dddddd;border-top: 1px solid #dddddd;-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;-webkit-border-top-left-radius: 0px;-moz-border-radius-topleft: 0px;border-top-left-radius: 0px;clear: left;margin-bottom: 0;padding: 20px 20px 0;word-wrap: break-word;}.responsive-tabs .responsive-tabs__panel:after { content: "";display: block; height: 0; clear: both;}.responsive-tabs__list .fa {display:none;}@media (min-width: 732px) {.responsive-tabs .responsive-tabs__panel--closed-accordion-only {display: block;}}@media (max-width: 731px) {.responsive-tabs .responsive-tabs__list {display: none;}.responsive-tabs .responsive-tabs__heading {display: block;cursor: pointer;}.responsive-tabs-wrapper {border-top: 1px solid #cccccc;}.responsive-tabs .responsive-tabs__heading {background: #ffffff;border: 1px solid #cccccc;border-top: none;color: #777777;font-size: 18px;font-weight: normal;text-transform: inherit;margin: 0;padding: 10px 0;padding-left: 20px;position: relative;}.responsive-tabs .responsive-tabs__heading .fa {margin-right: 8px;display:none;}.responsive-tabs .responsive-tabs__heading:after {border-left: 6px solid transparent;border-right: 6px solid transparent;border-top: 6px solid #777777;content:"";display: block;position: absolute;right: 20px;top: 20px;height: 0; width: 0; }.responsive-tabs .responsive-tabs__heading:hover {background: #eeeeee;color: #777777;}.responsive-tabs .responsive-tabs__heading:hover:after {border-top: 6px solid #777777;}.responsive-tabs .responsive-tabs__heading--active,.responsive-tabs .responsive-tabs__heading--active:hover {background: #cccccc;color: #ffffff;}.responsive-tabs .responsive-tabs__heading--active:after,.responsive-tabs .responsive-tabs__heading--active:hover:after {border-bottom: 6px solid #ffffff;border-top: 0;top: 18px;}.responsive-tabs .responsive-tabs__panel {background: #ffffff;border: 1px solid #cccccc;-webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;border-top: none;margin: 0;padding: 0 20px;padding-top: 20px;}}</style>


</head>



<div class="responsive-tabs-wrapper">

<div class="responsive-tabs responsive-tabs--enabled"><ul class="responsive-tabs__list" role="tablist">

<li class="responsive-tabs__list__item responsive-tabs__list__item--active" id="tablist1-tab1" aria-controls="tablist1-panel1" role="tab" tabindex="0">Configurations</li>

<li class="responsive-tabs__list__item" id="tablist1-tab2" aria-controls="tablist1-panel2" role="tab" tabindex="0">Branch</li>

<li class="responsive-tabs__list__item" id="tablist1-tab3" aria-controls="tablist1-panel3" role="tab" tabindex="0">HQ</li>

<li class="responsive-tabs__list__item" id="tablist1-tab4" aria-controls="tablist1-panel4" role="tab" tabindex="0">P</li>

<li class="responsive-tabs__list__item" id="tablist1-tab5" aria-controls="tablist1-panel5" role="tab" tabindex="0">PE1</li>

<li class="responsive-tabs__list__item" id="tablist1-tab6" aria-controls="tablist1-panel6" role="tab" tabindex="0">PE2</li></ul>

<p class="tabtitle responsive-tabs__heading" tabindex="0">Configurations</p>

<div class="tabcontent responsive-tabs__panel responsive-tabs__panel--closed-accordion-only" aria-hidden="false" role="tabpanel" aria-labelledby="tablist1-tab1" id="tablist1-panel1" style="display: none;">

<p></p>

<p>Want to take a look for yourself? Here you will find the final configuration of each device.</p>


</div><p class="tabtitle responsive-tabs__heading" tabindex="0">Branch</p>

<div class="tabcontent responsive-tabs__panel" aria-hidden="true" role="tabpanel" aria-labelledby="tablist1-tab2" id="tablist1-panel2" style="display: none;">


<pre><code>hostname Branch

!

ip cef

!

interface FastEthernet0/0

 ip address 172.16.1.2 255.255.255.0

!

interface FastEthernet0/1

 no ip address

!

end</code></pre>


</div><p class="tabtitle responsive-tabs__heading" tabindex="0">HQ</p>

<div class="tabcontent responsive-tabs__panel" aria-hidden="true" role="tabpanel" aria-labelledby="tablist1-tab3" id="tablist1-panel3" style="display: none;">


<pre><code>hostname HQ

!

ip cef

!

interface FastEthernet0/0

 ip address 172.16.1.1 255.255.255.0

!

login

transport input all

!

end</code></pre>


</div><p class="tabtitle responsive-tabs__heading" tabindex="0">P</p>

<div class="tabcontent responsive-tabs__panel" aria-hidden="true" role="tabpanel" aria-labelledby="tablist1-tab4" id="tablist1-panel4" style="display: none;">


<pre><code>hostname P

!

ip cef

!

interface Loopback0

 ip address 2.2.2.2 255.255.255.255

!

interface FastEthernet0/0

 ip address 192.168.12.2 255.255.255.0

 mpls ip 

!

interface FastEthernet0/1

 ip address 192.168.23.2 255.255.255.0

 mpls ip

!

router ospf 1

 network 192.168.12.0 0.0.0.255 area 0

 network 192.168.23.0 0.0.0.255 area 0

 network 2.2.2.2 0.0.0.0 area 0

!

end</code></pre>


</div><p class="tabtitle responsive-tabs__heading" tabindex="0">PE1</p>

<div class="tabcontent responsive-tabs__panel" aria-hidden="true" role="tabpanel" aria-labelledby="tablist1-tab5" id="tablist1-panel5" style="display: none;">


<pre><code>hostname PE1

!

ip cef

!

interface Loopback0

 ip address 1.1.1.1 255.255.255.255

!

interface FastEthernet0/0

 no ip address

 xconnect 3.3.3.3 13 encapsulation mpls

!

interface FastEthernet0/1

 ip address 192.168.12.1 255.255.255.0

 mpls ip

!

router ospf 1

 network 1.1.1.1 0.0.0.0 area 0

 network 192.168.12.0 0.0.0.255 area 0

!

end</code></pre>


</div><p class="tabtitle responsive-tabs__heading" tabindex="0">PE2</p>

<div class="tabcontent responsive-tabs__panel" aria-hidden="true" role="tabpanel" aria-labelledby="tablist1-tab6" id="tablist1-panel6" style="display: none;">


<pre><code>hostname PE2

!

ip cef

!

interface Loopback0

 ip address 3.3.3.3 255.255.255.255

!

interface FastEthernet0/0

 ip address 192.168.23.3 255.255.255.0

 mpls ip 

!

interface FastEthernet0/1

 no ip address

 xconnect 1.1.1.1 13 encapsulation mpls

!

router ospf 1

 network 192.168.23.0 0.0.0.255 area 0

 network 3.3.3.3 0.0.0.0 area 0

!

end</code></pre>

<p></p></div></div></div>








ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
¹Þ¾Æ¼­ ¿­¾îº¼»· Ç߳׿ä..
¼Ò½º·Î ¿Ã·ÁÁÖ¼¼¿ä..
È­¶õ 2021-12
/*  Tabby Responsive Tabs: cubecolour.co.uk/tabby-responsive-tabs-customiser */
.responsive-tabs .responsive-tabs__heading {display: none;}.responsive-tabs .responsive-tabs__list__item {display: inline;cursor: pointer;}.responsive-tabs-wrapper {clear: both;margin-bottom: 20px;zoom: 1;}.responsive-tabs-wrapper:before,.responsive-tabs-wrapper:after {content: "";display: table;}.responsive-tabs-wrapper:after {clear: both;}.responsive-tabs .responsive-tabs__heading:focus,.responsive-tabs .responsive-tabs__list__item:focus {outline: 1px solid transparent;}.responsive-tabs .responsive-tabs__heading--active:focus,.responsive-tabs .responsive-tabs__list__item--active:focus {outline: none;}.responsive-tabs ul.responsive-tabs__list {font-size: 18px;line-height: 18px;margin: 20px 0 0 12px;padding: 0;}.responsive-tabs .responsive-tabs__list__item {background: transparent;border: 1px solid transparent;border-bottom: none;-webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;border-top-left-radius: 3px;border-top-right-radius: 3px;color: #999999;font-size: 18px;line-height: 19px;text-transform: inherit;margin: 1px 12px 0 0;padding: 10px 12px 10px;white-space: nowrap;float: left;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.responsive-tabs .responsive-tabs__list__item .fa {margin-right: 8px;line-height: 0.8;}.responsive-tabs .responsive-tabs__list__item:hover {color: #333333;background: transparent;}.responsive-tabs .responsive-tabs__list__item--active, .responsive-tabs .responsive-tabs__list__item--active:hover {background: #ffffff;border-color: #dddddd;color: #666666;padding-bottom: 11px;margin-top: 0;position: relative;top: 1px;}.responsive-tabs .responsive-tabs__panel {background: #ffffff;border: 1px solid #dddddd;border-top: 1px solid #dddddd;-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;-webkit-border-top-left-radius: 0px;-moz-border-radius-topleft: 0px;border-top-left-radius: 0px;clear: left;margin-bottom: 0;padding: 20px 20px 0;word-wrap: break-word;}.responsive-tabs .responsive-tabs__panel:after { content: "";display: block; height: 0; clear: both;}.responsive-tabs__list .fa {display:none;}@media (min-width: 732px) {.responsive-tabs .responsive-tabs__panel--closed-accordion-only {display: block;}}@me


¼Ò½º°¡ ÀÌ·¯¸é ´äÇØÁÙ ºÐ °ÅÀÇ ¾øÀ»ÅÙµ¥¿ä...
±× ȨÆäÀÌÁö ÁÖ¼Ò¸¦ ¸ô¶ó¼­ ÀÚ½ÅÀº ¾ø´Âµ¥...
¿ØÁö¸ð¸£°Ô Shiny·Î ±¸ÇöÇÑ °Í °°½À´Ï´Ù.
NaN 2021-12
js ·Î ÇØ´çÇÏ´Â ÅÇÀÇ divÀÇ display:none°ªÀ» display:blockµî º¸ÀÌ°Ô ¸¸µé¾îÁÖ´Â°Í °°³×¿ä.
º¸³»Áֽżҽº¿¡¼­ µüÈ÷ ÅÇÀ» ³ëÃâ½ÃÄÑÁÖ´Â ±â´ÉÀÌ ¾ø³×¿ä..
NaN 2021-12
±×³É ´Ù¸¥»çÀÌÆ® Ä«ÇÇÇϽô°͵µ Àß µð¹ö±ëÀ̾ȵǽô°ź¸´Ï.. Ãʺ¸½Å°Í°°Àºµ¥ ±×³É jQuery tab widget»ç¿ëÇϼż­ CSS¸¸ ¼öÁ¤Çϼż­ »ç¿ëÇÏ½Ã´Â°Ô ºü¸£Áö ¾ÊÀ»±î... Àǰߵ帳´Ï´Ù..
https://jqueryui.com/tabs/


QnA
Á¦¸ñPage 590/5687
2015-12   1524307   ¹é¸Þ°¡
2014-05   4988306   Á¤ÀºÁØ1
2003-02   10045   ±èÀçÇö
2003-06   8640   ÀÌ¿øº¹
2007-05   4686   ÀåÁ¾¸í
2007-06   4590   ÇѸíÈÆ
2002-05   16392   ÀÓº´±â
2006-02   7718   ±èÃá½Ä
2006-04   5696   ±è¿ë¾ð
2006-06   4691   ½Å¿ì¼·
2006-07   5745   ¼­ÅÂÈñ
2004-05   7614   ±èÇпµ
2007-05   4556   ¸Í½Â¼·
2007-10   5403   µµ¼®¸²
2002-06   17905   À¯Ã¢Çö
2003-05   10700   ÀÌ»ó¿ø
2008-06   5032   ±ÇÁ¾ÀÏ
2008-08   5749   ±è°Ç¿ì
2005-05   6434   Çѵ¿ÈÆ
2003-09   9522   °­°æº¸
2006-09   6071   È«¿µÇ¥
2004-09   7850   ·ùÀåÈ£