Синхронизация настроек Sublime Text 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| window.onload= function() { | |
| document.getElementById('toggler').onclick = function() { | |
| openbox('box', this); | |
| return false; | |
| }; | |
| }; | |
| function openbox(id, toggler) { | |
| var div = document.getElementById(id); | |
| if(div.style.display == 'block') { | |
| div.style.display = 'none'; |
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
| <?php | |
| $recepient = "youmail@ya.ru"; | |
| $sitename = "Название сайта"; | |
| $name = trim($_GET["name"]); | |
| $phone = trim($_GET["phone"]); | |
| $text = trim($_GET["text"]); | |
| $pagetitle = "Новая заявка с сайта \"$sitename\""; |
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
| <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> | |
| function initialize() { | |
| // disable drag in small device | |
| var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); | |
| var isDraggable = w > 480 ? true : false; | |
| var mapOptions = { |
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
| $(document).ready(function() { | |
| function vHeight() { | |
| $(".class").css("min-height", $(window).height()); | |
| }; | |
| vHeight(); | |
| $(window).resize(function() { | |
| vHeight(); | |
| }); | |
| }); |