Answer the question
In order to leave comments, you need to log in
The print button does not work, what should I do?
opening code, has been copied
$(document).ready(function(){
print_my = function(tar)
{
window.open('/?action=print&topic=contacts&tid='+tar);
};
print_popup = function(topic)
{
window.open('/?action=print&topic='+topic);
};
});
<div style="display: none;"> <!-- для pop-up -->
<div id="popup_reference_sale" class="hidden">
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" style="padding: 7px 10px;position: relative;">
<span class="ui-dialog-title" id="ui-dialog-title-DLE" style="color: #FFFFFF;float: left;font-family: Arial;font-size: 16px;margin: 0.1em 16px 0.1em 0;">КУПОН НА СКИДКУ</span>
<a onclick="closePopup(); return false;" class="close" class="ui-dialog-titlebar-close ui-corner-all" role="button" style="height: 18px;margin: -10px 0 0;padding: 1px;position: absolute;right: 0.3em;top: 50%;width: 19px;"><span class="ui-icon ui-icon-closethick">close</span></a>
</div>
<div style="width: 460px;" class="reference">
<div style="width: 460px; text-align: left;"><br />
<table style="BORDER-BOTTOM: rgb(0,0,0) 1px dashed; BORDER-LEFT: rgb(0,0,0) 1px dashed; WIDTH: 460px; BORDER-TOP: rgb(0,0,0) 1px dashed; BORDER-RIGHT: rgb(0,0,0) 1px dashed">
<tbody>
<tr>
<td width="7"> </td>
<td><img alt="Экспресс Регистратор" border="0" style="MARGIN-TOP: 14px; WIDTH: 200px; MARGIN-BOTTOM: 0px; FLOAT: left; MARGIN-LEFT: 8px" src="/images/logo_sale.png" /><span style="MARGIN-TOP: 15px; FONT-FAMILY: 'Arial narrow', Arial, sans-serif; FLOAT: right; COLOR: rgb(182,0,2); FONT-SIZE: 28px; MARGIN-RIGHT: 30px"> Купон на скидку</span> </td>
</tr>
<tr style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: rgb(235,235,235); BACKGROUND-ATTACHMENT: scroll; BACKGROUND-POSITION: 0px 0px; BORDER-TOP: rgb(187,187,187) 1px solid">
<td colspan="2">
<p align="center"><br /><span style="COLOR: rgb(255,0,0); FONT-SIZE: 32px"><strong>500 рублей </strong></span><br /><br /><span style="FONT-SIZE: 16px"><strong>скидка на услугу "Открытие расчетного счета"</strong></span></p></td>
</tr>
<tr style="BACKGROUND-IMAGE: none; BACKGROUND-COLOR: rgb(235,235,235); BACKGROUND-ATTACHMENT: scroll; BACKGROUND-POSITION: 0px 0px">
<td> </td>
<td>
<p align="left" style="FONT-SIZE: 14px">Для получения скидки по акции распечатайте купон и предъявите его юристу при оформлении заказа.</p>
<p align="center" style="FONT-SIZE: 14px"><strong><span style="COLOR: rgb(255,0,0)">скидка действительна до 30 сентября 2015 года</span></strong></p>
<p align="left" style="FONT-SIZE: 14px"><strong>Наш адрес:</strong> г. Москва, Походный проезд, 4 стр.1, офис 209 <br />(напротив 46 ИФНС)<br /><strong>Телефон:</strong> <span class="ya-phone">+7 (499) 77-888-00</span></p></td>
</tr>
</tbody>
</table>
<a href="javascript:(print_popup('kupon_sale'));" >
<div id="print_b" style="margin: 0 auto;width: 143px;"></div></a>
</div>
</div>
</div> <!-- ////////// -->
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question