Commit 169c8dd463b331a79dc04e0eb72b5e2021c327e9
1 parent
46f509c9
....
Showing
1 changed file
with
213 additions
and
0 deletions
Show diff stats
| 1 | +<div id="content"> | |
| 2 | +<div class="contacts"> | |
| 3 | +<div class="breadcrumbs"> | |
| 4 | + <div class="inner"> | |
| 5 | + <div class="order_menu_shadow"></div> | |
| 6 | + <ul class="clearfix"> | |
| 7 | + <li itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="float"><a href="<?= $this->seoUrl->setUrl('/')?>" title="<?= $t->_("main_page") ?>" itemprop="url"><span itemprop="title"><?= $t->_("main_page") ?></span></a></li> | |
| 8 | + <li class="float more"><img src="/images/breadcrumbs_arrow.png" alt="" height="7" width="7" /></li> | |
| 9 | + <li itemtype="http://data-vocabulary.org/Breadcrumb" itemscope="" class="float"><a href="<?= $this->seoUrl->setUrl('/faq') ?>" title="<?= $t->_("faq") ?>" class="breadcrumbs_last" itemprop="url"><span itemprop="title"><?= $t->_("faq") ?></span></a></li> | |
| 10 | + </ul> | |
| 11 | + </div> | |
| 12 | +</div> | |
| 13 | + | |
| 14 | +<div class="inner contacts_wrapper"> | |
| 15 | + <!--- | |
| 16 | + тест --> | |
| 17 | + | |
| 18 | + | |
| 19 | +<div class="inner clearfix"> | |
| 20 | + <div class="style"> | |
| 21 | + <div class="title_questions_ style"><?= $t->_("faq") ?></div> | |
| 22 | + <ul class="questions_ style"> | |
| 23 | + <li> | |
| 24 | + <span class="nav">1</span> | |
| 25 | + <div class="questions_a"> | |
| 26 | + <a href="#"><?= $t->_("faq_a_tit") ?></a> | |
| 27 | + </div> | |
| 28 | + <div class="questions_hide style"> | |
| 29 | + <div class="questions_answer style"> | |
| 30 | + <p> | |
| 31 | + <?= $t->_("faq_a_text1") ?> | |
| 32 | + </p> | |
| 33 | + </div> | |
| 34 | + | |
| 35 | + <div class=" pic_wr_ style"> | |
| 36 | + <div class="pic_txt"><?= $t->_("faq_pic") ?> 1</div> | |
| 37 | + <div class="pic_img"><img src="<?= $t->_("faq_img1") ?>" width="745" height="350" alt=""></div> | |
| 38 | + </div> | |
| 39 | + | |
| 40 | + <div class=" pic_wr_ style"> | |
| 41 | + <div class="pic_txt"><?= $t->_("faq_pic") ?> 2</div> | |
| 42 | + <div class="pic_img"><img src="<?= $t->_("faq_img2") ?>" width="740" height="347" alt=""></div> | |
| 43 | + </div> | |
| 44 | + </div> | |
| 45 | + </li> | |
| 46 | + <li> | |
| 47 | + <span class="nav">2</span> | |
| 48 | + <div class="questions_a"> | |
| 49 | + <a href="#"><?= $t->_("faq_b_tit") ?></a> | |
| 50 | + </div> | |
| 51 | + <div class="questions_hide style"> | |
| 52 | + <div class="questions_answer style"> | |
| 53 | + <p> | |
| 54 | + <?= $t->_("faq_b_text1") ?> | |
| 55 | + </p> | |
| 56 | + </div> | |
| 57 | + </div> | |
| 58 | + </li> | |
| 59 | + <li> | |
| 60 | + <span class="nav">3</span> | |
| 61 | + <div class="questions_a"> | |
| 62 | + <a href="#"><?= $t->_("faq_c_tit") ?></a> | |
| 63 | + </div> | |
| 64 | + <div class="questions_hide style"> | |
| 65 | + <div class="questions_answer style"> | |
| 66 | + <p> | |
| 67 | + <?= $t->_("faq_c_text1") ?> | |
| 68 | + </p> | |
| 69 | + </div> | |
| 70 | + <div class=" pic_wr_ style"> | |
| 71 | + <div class="pic_txt"><?= $t->_("faq_pic") ?> 3</div> | |
| 72 | + <div class="pic_img"><img src="<?= $t->_("faq_img3") ?>" width="989" height="168" alt=""></div> | |
| 73 | + </div> | |
| 74 | + | |
| 75 | + <div class=" pic_wr_ style"> | |
| 76 | + <div class="pic_txt"><?= $t->_("faq_pic") ?> 4</div> | |
| 77 | + <div class="pic_img"><img src="<?= $t->_("faq_img4") ?>" width="993" height="610" alt=""></div> | |
| 78 | + </div> | |
| 79 | + </div> | |
| 80 | + </li> | |
| 81 | + <li> | |
| 82 | + <span class="nav">4</span> | |
| 83 | + <div class="questions_a"> | |
| 84 | + <a href="#"><?= $t->_("faq_d_tit") ?></a> | |
| 85 | + </div> | |
| 86 | + <div class="questions_hide style"> | |
| 87 | + <div class="questions_answer style"> | |
| 88 | + <p> | |
| 89 | + <?= $t->_("faq_d_text1") ?> | |
| 90 | + </p> | |
| 91 | + </div> | |
| 92 | + </div> | |
| 93 | + </li> | |
| 94 | + <li> | |
| 95 | + <span class="nav">5</span> | |
| 96 | + <div class="questions_a"> | |
| 97 | + <a href="#"><?= $t->_("faq_e_tit") ?></a> | |
| 98 | + </div> | |
| 99 | + <div class="questions_hide style"> | |
| 100 | + <div class="questions_answer style"> | |
| 101 | + <p> | |
| 102 | + <?= $t->_("faq_e_text1") ?> | |
| 103 | + </p> | |
| 104 | + </div> | |
| 105 | + </div> | |
| 106 | + </li> | |
| 107 | + <li> | |
| 108 | + <span class="nav">6</span> | |
| 109 | + <div class="questions_a"> | |
| 110 | + <a href="#"><?= $t->_("faq_f_tit") ?></a> | |
| 111 | + </div> | |
| 112 | + <div class="questions_hide style"> | |
| 113 | + <div class="questions_answer style"> | |
| 114 | + <p> | |
| 115 | + <?= $t->_("faq_f_text1") ?> | |
| 116 | + </p> | |
| 117 | + </div> | |
| 118 | + </div> | |
| 119 | + </li> | |
| 120 | + <li> | |
| 121 | + <span class="nav">7</span> | |
| 122 | + <div class="questions_a"> | |
| 123 | + <a href="#"><?= $t->_("faq_g_tit") ?></a> | |
| 124 | + </div> | |
| 125 | + <div class="questions_hide style"> | |
| 126 | + <div class="questions_answer style"> | |
| 127 | + <p><?= $t->_("faq_g_text1") ?></p> | |
| 128 | + <p><?= $t->_("faq_g_text2") ?></p> | |
| 129 | + <p><?= $t->_("faq_g_text3") ?></p> | |
| 130 | + <p><?= $t->_("faq_g_text4") ?></p> | |
| 131 | + </div> | |
| 132 | + </div> | |
| 133 | + </li> | |
| 134 | + <li> | |
| 135 | + <span class="nav">8</span> | |
| 136 | + <div class="questions_a"> | |
| 137 | + <a href="#"><?= $t->_("faq_h_tit") ?></a> | |
| 138 | + </div> | |
| 139 | + <div class="questions_hide style"> | |
| 140 | + <div class="questions_answer style"> | |
| 141 | + <p> | |
| 142 | + <?= $t->_("faq_h_text1") ?> | |
| 143 | + </p> | |
| 144 | + </div> | |
| 145 | + </div> | |
| 146 | + </li> | |
| 147 | + <li> | |
| 148 | + <span class="nav">9</span> | |
| 149 | + <div class="questions_a"> | |
| 150 | + <a href="#"><?= $t->_("faq_i_tit") ?></a> | |
| 151 | + </div> | |
| 152 | + <div class="questions_hide style"> | |
| 153 | + <div class="questions_answer style"> | |
| 154 | + <p> | |
| 155 | + <?= $t->_("faq_i_text1") ?> | |
| 156 | + </p> | |
| 157 | + </div> | |
| 158 | + </div> | |
| 159 | + </li> | |
| 160 | + <li> | |
| 161 | + <span class="nav">10</span> | |
| 162 | + <div class="questions_a"> | |
| 163 | + <a href="#"><?= $t->_("faq_j_tit") ?></a> | |
| 164 | + </div> | |
| 165 | + <div class="questions_hide style"> | |
| 166 | + <div class="questions_answer style"> | |
| 167 | + <p> | |
| 168 | + <?= $t->_("faq_j_text1") ?> | |
| 169 | + </p> | |
| 170 | + </div> | |
| 171 | + </div> | |
| 172 | + </li> | |
| 173 | + | |
| 174 | + </ul> | |
| 175 | + <script> | |
| 176 | + $(document).ready(function () { | |
| 177 | + $('ul.questions_ li .questions_a a').click(function (e) { | |
| 178 | + e.preventDefault() | |
| 179 | + $('ul.questions_ li').removeClass('active') | |
| 180 | + $(this).parent().parent().addClass('active') | |
| 181 | + $(this).find('.title_new').remove() | |
| 182 | + var thisOffset = $(this).parent().parent().offset().top | |
| 183 | + $('body, html').animate({scrollTop: thisOffset},400); | |
| 184 | + }) | |
| 185 | + var longQuestions = $('.questions_ li .questions_a a') | |
| 186 | + for (var i=0; i<longQuestions.length; i++) { | |
| 187 | + if(($(longQuestions[i]).html().length)>=118) { | |
| 188 | + $(longQuestions[i]).parent().addClass('long_') | |
| 189 | + $(longQuestions[i]).attr('data-title',$(longQuestions[i]).text()) | |
| 190 | + } | |
| 191 | + } | |
| 192 | + $('ul.questions_ li .questions_a.long_ > a').hover(function () { | |
| 193 | + var newTitle = $(this).attr('data-title') | |
| 194 | + $(this).parent().parent().append('<div class=\"title_new\">'+newTitle+'</div>') | |
| 195 | + },function () { | |
| 196 | + $(this).parent().parent().find('.title_new').remove() | |
| 197 | + }) | |
| 198 | + }) | |
| 199 | + </script> | |
| 200 | + </div> | |
| 201 | +</div> | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | +<?= $this->partial('partial/share'); ?> | |
| 207 | + | |
| 208 | +</div> | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | +</div> | |
| 213 | +</div> | |
| 0 | 214 | \ No newline at end of file | ... | ... |