Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][JavaScript][PHP]Auto start, Problem z auto uruchomieniem projektora na raspberry pi.
szymek1286
post 15.09.2023, 10:26:29
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 15.09.2023

Ostrzeżenie: (0%)
-----


<html><head>
<script src="jquery.min.js" type="text/javascript"></script>

<style type="text/css">
body { background-color: #fdfdfd; padding: 0 20px; color:#000; font: 13px/18px monospace; width: 800px; background-image: url("tlo.png");}
a { color: #360; }
h3 { padding-top: 20px; }
</style>

<!-- Load player theme -->
<link rel="stylesheet" href="themes/maccaco/projekktor.style.css" type="text/css" media="screen" />

<!-- Load jquery -->
<script type="text/javascript" src="jquery-1.9.1.min.js"></script>

<!-- load projekktor -->
<script type="text/javascript" src="projekktor-1.3.09.min.js"></script>

</head>[html][/html]
<body>

<style>
@font-face {
font-family: digital;
src: url(digital-7.ttf);
}

@font-face {
font-family: lato;
src: url(Lato-Regular.ttf);
}

@font-face {
font-family: latob;
src: url(Lato-Black.ttf);
}
</style>


<div style="margin-top:20px">
<img src="1900.png" width="290px"></div>


<div id="tableHolder"></div>
<div id="tableHolder_grafika"></div>





<script type="text/javascript">
$(document).ready(function(){
refreshTable();
});

function refreshTable(){
$('#tableHolder').load('kursy.php', function(){
setTimeout(refreshTable, 300000); /* 600000 10 minut */
});
}

$(document).ready(function(){
refreshTable_graf();
});

function refreshTable_graf(){
$('#tableHolder_grafika').load('grafika.php', function(){
setTimeout(refreshTable_graf, 7200000); /* 2 godziny */
});
}

</script>

</html>



Jak to zrobic na RPi żeby sie uruchomiło samo a nie żebym musiał klikać. Jak klikne na uruchomionym indexie.php to wszystko dziła jak należy.

Ten post edytował szymek1286 15.09.2023, 10:29:42
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 27.04.2024 - 15:18