Blame view

html/Generateur/Menus/Func4/form_func4.php 543 Bytes
c825216f   lwadbled   feat(main.php): R...
1
2
3
4
5
6
7
8
9
10
11
12
13
  <html>
  	<form method="post" action="main.php">
  		<input type="button" id="func4" name="func4" class="func-button" value="" onclick="this.form.submit()"/>
  		<input type="hidden" id="func4" name="func4" value="FUNC4" class="btn-outline-danger"/>
  	</form>
  	<script type='text/javascript'>
  		var elem = document.getElementById('cam<?php echo $i ?>');
  		var pos = elem.getBoundingClientRect();
  		var btn = document.getElementById('func4');
  		var pos_x = pos.x+240;
  		btn.style = "top : "+(pos.bottom)+"px; left : "+(pos_x)+"px";
  	</script>
  </html>