modification logo dans about.php
This commit is contained in:
18
about.php
18
about.php
@@ -24,6 +24,8 @@
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
setInterval(changeGargoyle,10000);
|
||||
|
||||
getMyAdressInfos();
|
||||
|
||||
$('#myNavbar').on('show.bs.collapse', function () {
|
||||
@@ -63,12 +65,20 @@
|
||||
if (pos < winTop + 600) {
|
||||
$(this).addClass("slide");
|
||||
}
|
||||
d = new Date();
|
||||
$("#gargoyle").attr("src", "images/logo.php?ts="+d.getTime());
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
* Faire varier l'image de la gargouille
|
||||
*
|
||||
*/
|
||||
function changeGargoyle()
|
||||
{
|
||||
d = new Date();
|
||||
$("#gargoyle").attr("src", "images/logo.php?ts="+d.getTime());
|
||||
}
|
||||
|
||||
/*
|
||||
* Récupéer les taux de change actuels
|
||||
* https://blockchain.info/ticker?cors=true
|
||||
@@ -136,7 +146,9 @@
|
||||
<p class="text-justify">I like <b>surfing</b> and sailing on the ocean. But during longs winter nights, computing is fun. I'm interested into <b>cryptocurrencies</b>, computationnal art, datavisualisation. I know that <b>42</b> is the answer to <b>the Life, Universe and Everything Else</b>. As <b>Eto Demerzel</b> said to me, the <b>Seldon's Plan</b> will save the Galaxy. My favorites books are the <b>House of leaves</b>, the <b>Necronomicron</b> and the <b>DarkHold</b>. I also know that <b>great power comes with great responsibility</b>. I'm still in <b>the search of Captain Zero</b>, because <b>the Truth is out there</b>.</p>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<img id="gargoyle" src="images/logo.php" alt="avatar dragon gargoyle" width="100%; height: auto"></img>
|
||||
<div style="background-image:url(images/topisto_vert_tr.png);background-repeat: no-repeat;background-position:center top;background-size: 100% auto;">
|
||||
<img id="gargoyle" src="images/logo.php" alt="avatar dragon gargoyle" width="100%; height: auto" style="opacity:0.4"></img>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
$alea=rand(0,100);
|
||||
|
||||
$logo='topisto_vert.png';
|
||||
$logo='topisto_vert_tr.png';
|
||||
|
||||
if ($alea > 30)
|
||||
if ($alea > 5)
|
||||
{
|
||||
$files = glob('logo/medium/*/topisto_vert.png');
|
||||
usort($files, function($a, $b) {
|
||||
|
||||
BIN
images/logo/medium/transparent.png
Normal file
BIN
images/logo/medium/transparent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
8
images/logo/medium/transparent.sh
Normal file
8
images/logo/medium/transparent.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
convert \
|
||||
topisto_vert.png \
|
||||
-channel rgba \
|
||||
-matte \
|
||||
-fuzz 40% \
|
||||
-fill "rgba(255,255,255,0.5)" \
|
||||
-opaque "rgb(255,255,255)" \
|
||||
semi_transparent.png
|
||||
BIN
images/topisto_vert_tr.png
Normal file
BIN
images/topisto_vert_tr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -37,8 +37,6 @@ blockchainListener = function(){
|
||||
}
|
||||
}
|
||||
}, "json" );
|
||||
|
||||
setTimeout(_lastBlockTrigger, 30000);
|
||||
};
|
||||
|
||||
function _addBlockHook(addBlockHook){
|
||||
@@ -56,7 +54,7 @@ blockchainListener = function(){
|
||||
|
||||
function _init(){
|
||||
_addBlockHook(_logBlockHash);
|
||||
_lastBlockTrigger();
|
||||
setTimeout(_lastBlockTrigger, 30000);
|
||||
};
|
||||
|
||||
return {init: _init, addBlockHook: _addBlockHook};
|
||||
|
||||
Reference in New Issue
Block a user