@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) { ...}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {...}
if (location.hash !== '') {
$('.nav-tabs a[href="' + location.hash.replace('tab_','') + '"]').tab('show');
} else {
$('.nav-tabs a:first').tab('show');
}
$('.nav-tabs a[data-toggle="tab"]').on('shown.bs.tab', function(e) {
window.location.hash = 'tab_'+ e.target.hash.substr(1) ;
return false;
});
<?
$create_user=$arResult["CREATED_BY"];
$GLOBALS['users'] = array("CREATED_BY" => $create_user);
$userid= $create_user;
$rsUser = CUser::GetByID($userid);
$arUser = $rsUser->Fetch();
?>
<? echo $arUser["NAME"];?>
<? echo $arUser["EMAIL"];?>
<? echo $arUser["WORK_COMPANY"];?>
<? echo CFile::ShowImage($arUser['PERSONAL_PHOTO'], 98, 98, 'border=0', '', true); ?>
$('#ow-carousel > div > .button a').on('click',function () {
$.ajax({
url: "ajax/more"+scount+".html",
cache: false,
beforeSend: function() {
$(this).hide().before('<img src="image/load.gif" alt="load" />');
},
success: function(html){
$('#ow-carousel > div > .button').before(html);
$('#ow-carousel > div > .button > img').remove();
$('#ow-carousel div.portion:hidden').fadeIn();
scount -= 1;
if(scount) {
$(this).show();
} else {
$('#ow-carousel > div > .button').remove();
}
}
});
});