Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
увы. данная фраза напрочь лишена смыслакагда я отмечу checkbox в админке виводилос BMW. FORD. и малеркая картинка перед ним
<form name="form1" method="post" action="add_post.php">
<p>
<label>
<input name="auto_s" type="checkbox" value="auto_s">
ავტოსადგომი
</label>
</p>
<p>
<label>
<input name="cards" type="checkbox" value="cards">
პლასტიკური ბარათები
</label>
</p>
<p>
<label>
<input name="restoran" type="checkbox" value="restoran">
რესტორანი
</label>
</p>
<p>
<label>
<input type="submit" name="submit" id="submit" value="Submit">
</label>
</p>
<p> </p>
</form>
`id` int(5) NOT NULL auto_increment,
`auto_s` varchar(255) NOT NULL default '',
`cards` varchar(255) NOT NULL default '',
`restoran` varchar(255) NOT NULL default '',
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<script type="text/javascript">
/*
function hideshow - hide, show second and third checkbox 's and image then we click on first checkbox
params -
first - first checkbox id
first - first checkbox id: type - string
second - second checkbox id: type - string
third - third checkbox id: type - string
img - img id: type - string
return - nothing
*/
function hideshow(first,second,third,img){
fchk = document.getElementById(first);
schk = document.getElementById(second);
thchk = document.getElementById(third);
fim = document.getElementById(img);
if(fchk&&schk&&thchk&&fim){
if(fchk.checked == true){
schk.style.display = '';
thchk.style.display = '';
fim.style.display = '';
schk.checked = 'true';
thchk.checked = 'true';
} else {
schk.style.display = 'none';
thchk.style.display = 'none';
fim.style.display = 'none';
}
}
}
</script>
</head>
<body onload="hideshow('auto_s','cards','restoran','ford');">
<form name="form1" method="post" action="add_post.php">
<label>
<input name="auto_s" id="auto_s" type="checkbox" value="auto_s" onclick="hideshow('auto_s','cards','restoran','ford');">
</label>
<label>
<input name="cards" id="cards" type="checkbox" value="cards" style="display:none">
</label>
<label>
<input name="restoran" id="restoran" type="checkbox" value="restoran" style="display:none">
<img id="ford" src="ford.jpg" style="display:none"/>
</label>
</form>
</body>
</html>