afterLoad: function(anchorLink, index) {
if(index == '4'){
if(window.ContactFlag==true)
$("#products-screens .fp-scrollable").animate({ scrollTop: $('#screen-contacts').position().top }, 600)
window.ContactFlag=false
}
}
window.ContactFlag=false;
$(document).on('click','.nav-link-contacts',function(event){
event.preventDefault()
window.ContactFlag=true
$.fn.fullpage.moveTo($(this).data('link'), 0)
return false
})
$(document).on('click',".footer-link",function(eventObject) {
$("#products-screens .fp-scrollable").animate({ scrollTop: $('#screen-contacts').position().top }, 600);
event.preventDefault()
$("#products-screens .fp-scrollable").animate({ scrollTop: $('#screen-contacts').position().top }, 600);
return false;
})
&:hover{
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(0%);
filter: grayscale(0%);
filter: none; /* IE 6-9 */
}
SELECT r.*, r.`seats`- COUNT(re.`id`) as seatsFree FROM `tours` as r
LEFT JOIN `requests` as re ON re.`tour_id`=r.`id` and re.`visible`=1 and re.`status`=3
WHERE 1
group by r.`id`
HAVING (seatsFree <=90)
ORDER BY r.`finished` DESC
LIMIT 0,2
SELECT COUNT(r.id) as num, r.`seats`- COUNT(re.`id`) as seatsFree FROM `tours` as r
LEFT JOIN `requests` as re ON re.`tour_id`=r.`id` and re.`visible`=1 and re.`status`=3 WHERE 1 group by r.`id` HAVING (seatsFree <=90) order by num desc
LIMIT 1
var birthday = {
'day':document.getElementById('birthdate-day').value,
'month':document.getElementById('birthdate-month').value,
'year':document.getElementById('birthdate-year').value
};
//ну и как то так использовать там alert- просто для примера
alert(birthday['day']);
$message = '
<table>
'.(isset($_POST['name'])&&trim($_POST['name'])!=''?'
<tr>
<td>Имя: '.$_POST["name"].'</td>
</tr>
':'').'
'.(isset($_POST['tel'])&&trim($_POST['tel'])!=''?'
<tr>
<td>Телефон '.$_POST["tel"].'</td>
</tr>
':'').'
'.(isset($_POST['date'])&&trim($_POST['date'])!=''?'
<tr>
<td>Дата '.$_POST["date"].'</td>
</tr>
':'').'
</table>
';
<svg width="420" height="80">
<defs>
<linearGradient id="MyGradient" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="rgb(239,40,87)" />
<stop offset="100%" stop-color="rgb(255,88,62)" />
</linearGradient>
<pattern id="p-stripes"
patternUnits="userSpaceOnUse"
width="420" height="80"
viewbox="0 0 420 80">
<rect width="420" height="80"
fill="url(#MyGradient)"/>
</pattern>
</defs>
<text x="0" y="97%">14 200 000</text>
</svg>