This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log('%cError: %O', 'color:red;', error.response) | |
| console.log("%c%s%c%s", "background:#444; color: white; border-radius: 2px 0 0 2px; padding: 3px; font-size: 10px;", "Joe", "background: #1c81c1; color: white; border-radius: 0 2px 2px 0; padding: 3px; font-size: 10px;", "Merk"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var oItems = {}; | |
| $('.rubricator').children('.controls').each(function () { | |
| var s = $(this).children('.accordion-link').text(); | |
| oItems[s] = Array(); | |
| $(this).children('.items').children().each(function () { | |
| oItems[s].push($(this).children('.accordion-link').text()); | |
| }) | |
| }) | |
| var res = JSON.stringify(oItems); | |
| console.log(res); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ol { | |
| list-style: none; | |
| counter-reset: counterItem; | |
| } | |
| ol > li { | |
| counter-increment: counterItem; | |
| } | |
| ol > li::before { | |
| content: counter(counterItem) '. '; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Redirect for dummi | |
| RewriteEngine on | |
| RewriteCond %{REQUEST_URI} !^/welcome.php$ | |
| RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|css|js)$ | |
| RewriteRule .* /welcome.php [L,R=302] | |
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div { | |
| position: relative; | |
| width: 100%; | |
| padding-bottom: 56.25%; // 16:9 or 75% to 4:3 | |
| } | |
| div iframe { | |
| width: 100%; | |
| height: 100%; | |
| position: absolute; | |
| top: 0; bottom: 0; left: 0; right: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <time | |
| datetime="<?$datetime = $arItem["DATE_CREATE"]; $arr = ParseDateTime($datetime, FORMAT_DATETIME); | |
| echo $arr["DD"]." ".ToLower(GetMessage("MONTH_".intval($arr["MM"])."_S"))." ".$arr["YYYY"];?>"> | |
| <? | |
| $datetime = $arItem["DATE_CREATE"]; | |
| $arr = ParseDateTime($datetime, FORMAT_DATETIME); | |
| echo "<span>".$arr["DD"]."</span>"."<span>".ToLower(GetMessage("MONTH_".intval($arr["MM"])."_S"))."</span>"."<span>".$arr["YYYY"]."</span>"; | |
| ?> | |
| </time> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('form input').tooltip({ | |
| trigger: 'manual', | |
| placement: 'bottom', | |
| container: 'body' | |
| }).on('shown.bs.tooltip', function (e) { | |
| $(e.target).on('focus', function () { | |
| $(e.target).tooltip('hide'); | |
| }) | |
| /*setTimeout(function () { | |
| $(e.target).tooltip('hide');//.removeAttr('data-original-title'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .overlay-loading { | |
| position: absolute; | |
| background: rgba(255, 255, 255, 0.59); | |
| z-index: 99999999; | |
| } | |
| .overlay-loading:before { | |
| content: '\21BB'; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row flex-row-reverse"> | |
| <div class="col-md-6 first"> | |
| <img src="http://placehold.it/350x150?text=first"> | |
| </div> | |
| <div class="col-md-6 second"> | |
| <img src="http://placehold.it/350x150?text=second"> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <picture> | |
| <source media="(min-width: 992px)" srcset="upload/header-bg.jpg"> | |
| <img src="upload/header-bg-sm.jpg"> | |
| </picture> |