added dinamic div
This commit is contained in:
parent
3e5ad12f70
commit
8bc02a60e3
24
index.html
24
index.html
|
@ -6,13 +6,21 @@
|
|||
<link rel="stylesheet" href="css/style.css">
|
||||
<script type="text/javascript" src="js/utils.js"></script>
|
||||
<script type="text/javascript" src="https://bundle.run/sparqljs@3.4.1"></script>
|
||||
<script type="text/javascript">
|
||||
function mostra() {
|
||||
document.getElementById("divContentId").style.display="block";
|
||||
}
|
||||
|
||||
function nascondi() {
|
||||
document.getElementById("divContentId").style.display="none";
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- partial:index.partial.html -->
|
||||
<body>
|
||||
<body onLoad="javascript:nascondi()">
|
||||
<h2>Linking Dante Search</h2>
|
||||
<!-- form -->
|
||||
|
||||
<form id='myform' onsubmit="return false">
|
||||
<table border="0" cellspacing="0" cellpadding="5px" class='queryform'>
|
||||
|
||||
|
@ -75,7 +83,15 @@
|
|||
</td>
|
||||
|
||||
<td>
|
||||
<a href="javascript:popupCategoria('0');" title="Configurazione categoria"><small>Categoria</small></a>
|
||||
<!-- <input type=”button” value=”Mostra” onclick="javascript:mostra()" />
|
||||
<input type=”button” value=”Nascondi” onclick="javascript:nascondi()" />-->
|
||||
<a href="#nomeancora" onclick="javascript:mostra()"><small>Categoria</small></a>
|
||||
<a name="nomeancora"> </a>
|
||||
<div id="divContentId">
|
||||
<small>tanato per fare una prova</small>
|
||||
</div>
|
||||
<!-- <a href="javascript:popupCategoria('0');" title="Configurazione categoria"><small>Categoria</small></a>
|
||||
<div>tanto per fare una prova</div> -->
|
||||
</td>
|
||||
|
||||
|
||||
|
@ -85,6 +101,8 @@
|
|||
<input type="hidden" name="catg0" value=".+" readonly="readonly">
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
|
|
@ -99,8 +99,6 @@ function gimmespqfromjson(form){
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
data21 = `{"verbovolgare": {"subject": {"termType": "Variable", "value":"form"}, "predicate": {"termType":"NamedNode", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"}, "object": {"termType": "NamedNode", "value": "http://dantenetwork.it/resource/ontology/ORL/FormaVerboVolgare"}},
|
||||
"sostantivovolgare": {"subject": {"termType": "Variable", "value":"form"}, "predicate": {"termType":"NamedNode", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"}, "object": {"termType": "NamedNode", "value": "http://dantenetwork.it/resource/ontology/ORL/FormaSostantivoVolgare"}},
|
||||
"aggettivovolgare": {"subject": {"termType": "Variable", "value":"form"}, "predicate": {"termType":"NamedNode", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"}, "object": {"termType": "NamedNode", "value": "http://dantenetwork.it/resource/ontology/ORL/FormaAggettivoVolgare"}},
|
||||
|
|
Loading…
Reference in New Issue