This file contains 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
Tabs: | |
[ | |
{"caption":"Info", "fields": [ | |
{"field":"title","caption":"Title"}, | |
{"field":"description","caption":"Description","inputTVtype":"richtext"} | |
]}, | |
{"caption":"Image", "fields":[ | |
{"field":"image","caption":"Image","inputTVtype":"image"} | |
]} | |
] |
This file contains 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
HTML: | |
<div class="wrapper"> | |
<div class="tabs"> | |
<span class="tab">Вкладка 1</span> | |
<span class="tab">Вкладка 2</span> | |
<span class="tab">Вкладка 3</span> | |
</div> | |
<div class="tab_content"> | |
<div class="tab_item">Содержимое 1</div> | |
<div class="tab_item">Содержимое 2</div> |
This file contains 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 | |
$method = $_SERVER['REQUEST_METHOD']; | |
//Script Foreach | |
$c = true; | |
if ( $method === 'POST' ) { | |
$project_name = trim($_POST["project_name"]); | |
$admin_email = trim($_POST["admin_email"]); |
This file contains 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
JS: | |
$(".accordeon dd").hide().prev().click(function() { | |
$(this).parents(".accordeon").find("dd").not(this).slideUp().prev().removeClass("active"); | |
$(this).next().not(":visible").slideDown().prev().addClass("active"); | |
}); | |
CSS: | |
.accordeon .active { color: red } | |
HTML: |
This file contains 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
html | |
<a href="#" rel="external">link</a> | |
js | |
$('a[rel=external]').attr('target','_blank'); |
This file contains 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
[[!FormIt? | |
&hooks=`recaptchav2,email` | |
&emailTpl=`sendEmail` | |
&emailSubject=`test` | |
&emailTo=`xxxxxxxxx@xxxxxxxxx` | |
&emailFrom=`xxxxxxxxxxx@xxxxxxxxxxx` | |
&redirectTo=`2` | |
&customValidators=`validFile,validPhone` | |
&validate=`name:required, | |
email:email:required, |
OlderNewer