wewewe
wewe
Сообщений 1 страница 6 из 6
Поделиться22024-03-10 18:56:47
[hideprofile][html]
<table class="tbgen">
<tr>
<td width="50%">
<div class="zqprof">
<!-- Таблица для размещения форм ввода -->
<form id="form1">
<label for="text1">Анкета героя:</label>
<input class="input-prof" type="text" id="text1" name="text1" placeholder="Ссылка на анкету">
</form>
<form id="form2">
<label for="text2">Раса героя:</label>
<input class="input-prof" type="text" id="text2" name="text2" placeholder="Раса">
</form>
<form id="form3">
<label for="text3">Возраст героя:</label>
<input class="input-prof" type="text" id="text3" name="text3" placeholder="Возраст со словами лет/года (н/р, 15 лет)">
</form>
<form id="form4">
<label for="text4">Род деятельности:</label>
<input class="input-prof" type="text" id="text4" name="text4" placeholder="Деятельность героя, профессия, звание/титул">
</form>
<form id="form5">
<label for="text5">Магические умения:</label>
<input class="input-prof" type="text" id="text5" name="text5" placeholder="Все магические способности">
</form>
<!-- Кнопки и текстовое поле для вывода результата -->
<button class="zprofil" onclick="generateHTML()">Сгенерировать</button>
<textarea class="textarea-prof" id="output-prof" rows="10" cols="50" readonly></textarea>
<button class="zprofil" onclick="copyText()">Скопировать</button>
<button class="zprofil" onclick="clearText()">Очистить код</button>
</div>
</td>
<td width="50%">
<div class="zqprof">essdfsd fsd ыва ы</div>
</td>
</tr>
</table>
<script>
// JavaScript функции остаются без изменений
function generateHTML() {
var text1 = document.getElementById("text1").value;
var text2 = document.getElementById("text2").value;
var text3 = document.getElementById("text3").value;
var text4 = document.getElementById("text4").value;
var text5 = document.getElementById("text5").value;
if (text1 === '' || text2 === '' || text3 === '' || text4 === '' || text5 === '') {
document.getElementById("output-prof").value = "Для получения кода, пожалуйста, заполните все поля!";
} else {
var htmlCode = '<div>' + text1 + '</div>' + '<div>' + text2 + '</div>' + '<div>' + text3 + '</div>' + '<div>' + text4 + '</div>' + '\nАнкета: <div><span style="color: red;">' + text5 + '</span></div>';
document.getElementById("output-prof").value = htmlCode;
}
}
function copyText() {
var output = document.getElementById("output-prof");
output.select();
document.execCommand("copy");
}
function clearText() {
document.getElementById("output-prof").value = "";
}
</script>
[/html]Поделиться32024-03-10 20:37:25
[hideprofile][html]
<table class="tbgen">
<tr>
<td width="50%">
<div class="zqprof">
<!-- Таблица для размещения форм ввода -->
<form id="form1">
<label for="text1">Анкета героя:</label>
<input class="input-prof" type="text" id="text1" name="text1" placeholder="Ссылка на анкету">
</form>
<form id="form2">
<label for="text2">Раса героя:</label>
<input class="input-prof" type="text" id="text2" name="text2" placeholder="Раса">
</form>
<form id="form3">
<label for="text3">Возраст героя:</label>
<input class="input-prof" type="text" id="text3" name="text3" placeholder="Возраст со словами лет/года (н/р, 15 лет)">
</form>
<form id="form4">
<label for="text4">Род деятельности:</label>
<input class="input-prof" type="text" id="text4" name="text4" placeholder="Деятельность героя, профессия, звание/титул">
</form>
<form id="form5">
<label for="text5">Магические умения:</label>
<input class="input-prof" type="text" id="text5" name="text5" placeholder="Все магические способности">
</form>
<!-- Кнопки и текстовое поле для вывода результата -->
<button class="zprofil" onclick="generateHTML()">Сгенерировать</button>
<textarea class="textarea-prof" id="output-prof" rows="10" cols="50" readonly></textarea>
<button class="zprofil" onclick="copyText()">Скопировать</button>
<button class="zprofil" onclick="clearText()">Очистить код</button>
<script>
function generateHTML() {
var text1 = document.getElementById("text1").value;
var text2 = document.getElementById("text2").value;
var text3 = document.getElementById("text3").value;
var text4 = document.getElementById("text4").value;
var text5 = document.getElementById("text5").value;
if (text1 === '' || text2 === '' || text3 === '' || text4 === '' || text5 === '') {
document.getElementById("output-prof").value = "Для получения кода, пожалуйста, заполните все поля!";
} else {
var htmlCode = 'Анкета:\n<a href="' + text1 + '">Анкета</a>' + '\n\nЛист героя:\n<div class="prace">' + text2 + '</div>' + '<div class="age">' + text3 + '</div>' + '<div class="prof">' + text4 + '</div>' + '<div class="skills">' + text5 + '</div>';
document.getElementById("output-prof").value = htmlCode;
}
}
function copyText() {
var output = document.getElementById("output-prof");
output.select();
document.execCommand("copy");
}
function clearText() {
document.getElementById("output-prof").value = "";
}
</script>
</div>
</td>
<td width="50%">
<div class="zqprof">essdfsd fsd ыва ы</div>
</td>
</tr>
</table>
[/html]
Поделиться42024-03-19 21:57:19
<div class="ibuttons"> <div class="ibutt">Кнопка 1</div> <div class="ibutt">Кнопка 2</div> <div class="ibutt">Кнопка 3</div> <div class="ibutt">Кнопка 4</div> <div class="ibutt">Кнопка 5</div> <div class="ibutt">Кнопка 6</div> </div> <div class="news"> <p><b>04.09</b> Летнее голосование - <a href="https://alternativereality.mybb.ru/viewtopic.php?id=1741#p108550">ЗДЕСЬ</a>!</p> <p><b>03.05</b> Апрельское голосование - <a href="https://alternativereality.mybb.ru/viewtopic.php?id=1741#p101873">ТЫК</a>!</p> <p><b>02.04</b> Голосование в честь открытия - <a href="https://alternativereality.mybb.ru/viewtopic.php?id=1741#p98230">ТЫК</a>!</p> <p><b>01.04</b> ПРОЕКТ ОТКРЫТ! Подарки в профиле ;)</p> <p><b>14.03</b> МЫ СНОВА С ВАМИ! </p> <p>Честно, сами от себя не ожидали, но рискнули попробовать. Что из этого получится - узнаем вместе с вами. </p> <p>Сразу оговоримся, это «предперезапуск». Официально откроемся 1 апреля (нет, вовсе не шутка). Но уже сейчас можно регистрироваться, подавать анкету и даже играть. </p> <p>В общем, возвращайтесь, обживайтесь, а мы пока продолжим наводить здесь лоск. </p> </div>
Поделиться52024-07-28 16:19:06
<script>
$('.slide_button1').click(function() {
$('.slide_button1').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
});
</script>
<script>
$('.slide_button2').click(function() {
$('.slide_button2').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
});
</script>
<script>
$('.slide_button3').click(function() {
$('.slide_button3').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
});
</script>
<script>
$('.slide_button4').click(function() {
$('.slide_button4').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
});
</script>
<script>
$('.slide_button5').click(function() {
$('.slide_button5').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
});
</script>
<script>
$('.slide_button1').each(function() {
$(this).on('click', function() { $('.slide_button1').not($(this)).next().slideUp();
$(this).next().slideToggle();
}); });
</script>
<script>
$('.slide_button2').each(function() {
$(this).on('click', function() { $('.slide_button2').not($(this)).next().slideUp();
$(this).next().slideToggle();
}); });
</script>
<script>
$('.slide_button3').each(function() {
$(this).on('click', function() { $('.slide_button3').not($(this)).next().slideUp();
$(this).next().slideToggle();
}); });
</script>
<script>
$('.slide_button4').each(function() {
$(this).on('click', function() { $('.slide_button4').not($(this)).next().slideUp();
$(this).next().slideToggle();
}); });
</script>
<script>
$('.slide_button5').each(function() {
$(this).on('click', function() { $('.slide_button5').not($(this)).next().slideUp();
$(this).next().slideToggle();
}); });
</script>Поделиться62024-07-31 13:10:49
<script>
$(document).ready(function() {
$('.slide_button').click(function() {
$('.slide_button').not(this).removeClass('i_active');
$(this).toggleClass('i_active');
var targetBlock = $(this).next('.slide_block');
$('.slide_block').not(targetBlock).hide();
targetBlock.toggle();
});
});
</script>
<div class="slide_button">гостям</div>
<div class="slide_block slide_block1"><div>
<a href="https://fancy.rolka.me">сюжет игры</a>
<a href="https://fancy.rolka.me">расы мира</a>
</div>
</div>
<div class="slide_button">игрокам</div>
<div class="slide_block slide_block2"><div>
<a href="https://fancy.rolka.me">правила игры</a>
<a href="https://fancy.rolka.me">занятые внешности</a>
</div>
</div>












![de other side [crossover]](https://i.imgur.com/k6ccgyp.png)



