Jsou zobrazeny jen nové odpovědi. Zobrazit všechny
Předmět Autor Datum
Zobrazit zdrojový text ...
dsa 15.04.2018 15:02
dsa
Příklad takového formuláře je zde: http://kingdoms.travian-reports.net/ Ono to vypadá jako néjaký…
xycxy 15.04.2018 15:04
xycxy
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd… nový
dsa 15.04.2018 15:08
dsa
Cože to chceš? Souvislost dotazu s obrázkem jsem teda nepochopil.
Wikan 15.04.2018 15:03
Wikan
https://stackoverflow.com/questions/37667141/use-a-div-as-an-input nový
xycxy 15.04.2018 15:05
xycxy
Takže odpověď už sis našel sám. poslední
Wikan 15.04.2018 15:11
Wikan

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<link href="./css/style_new.css" type="text/css" rel="stylesheet" />

<!--<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>-->
<meta content="Travian,travian,raporty,reports,bitwa,battle,archiwum,gra,archiwe,logs,Kingdoms" http-equiv="keywords" />
<meta name="verify-v1" content="0xTS3Xml+mEl7yy0jHf5QGPNG8XAFZiyzZZSPiH9zOc=" />
<title>Travian Kingdoms - Reports Converter</title>

<script>

var defenderOption = false;
var attackerOption = false;

function nextStepAction() {
$("#nextStepDiv").hide();
$.post("generate_from_html.php", { report: $("#reportFrame").contents().find("#kingReport").html() })
.done(function (data) {
$("#reportPreview").html(data);
$("#hideFrame").slideUp(function () {
$("#reportPreview").slideDown();
$("#nextButtons").show();
});

});
return false;
}

function saveAction() {
$("#report").val( $("#reportFrame").contents().find("#kingReport").html() );
return true;
}

function updateAttackerAction() {
attackerOption = !attackerOption;
$.post("generate_from_html.php", {
report: $("#reportFrame").contents().find("#kingReport").html()
, hideAttacker: attackerOption
, hideDefender: defenderOption
})
.done(function (data) {
$("#reportPreview").html(data);
});
return false;
}

function updateDefenderAction() {
defenderOption = !defenderOption;

atd. .................................................................................. nevešlo se.

Zpět do poradny Odpovědět na původní otázku Nahoru