Faruton said:I just fixed the problem with allocation hours ago. I'll post a new version in just a moment.
The 64bit version is possible, but first I have to write a wrapper since the browser I'm embedding (chrome) is a 32bit program only.
I will get a test version of that out as soon as possible.
<html>
<head>
<style>
body {
background-color: rgba(0, 0, 0, 0.65);
white-space: nowrap;
overflow: hidden;
margin: 0px 0px 0px 0px;
}
p.ex1 {
font:22px arial, sans-serif;
color:rgb(255, 255, 255);
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
setInterval('read',3000);
function read(){
jquery.get('SongPlayback.txt',
function(data){$('.contents').html(data);}
)
}
</script>
</head>
<body>
<p class="ex1">
Now Playing:<br>
<div id="contents"></div>
</p>
</body>
</html>
Faruton said:Not a problem :-)I have another example that animates a div from the bottom with easing if that might be useful for you?
I'm on vacation at the moment so I don't have access to the computer that had everything so you would have to wait a couple days
Let me know if you have any problems
<html>
<head>
<style>
body {
background-color: rgba(0, 0, 0, 0.65);
margin: 0px 0px 0px 0px;
}
p.ex1 {
font:18px arial, sans-serif;
color:rgb(255, 255, 255);
margin: 0px 0px 0px 0px;
}
</style>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
var previousData;
function loadText() {
$.ajax({
url: 'SongPlayback.json',
beforeSend: function(xhr) {
if (xhr.overrideMimeType) {
xhr.overrideMimeType("application/json");
}
},
dataType: 'json',
success: function(data) {
$.each(data, function(key, val) {
if (key == 'input') {
if (val != previousData) {
previousData = val;
$('#responsecontainer')
.animate({opacity:0})
.queue(function(){
$(this).text(previousData).dequeue()
})
.animate({opacity:1});
}
}
});
}
});
}
setInterval(loadText, 500);
</script>
</head>
<body>
<p class="ex1">Now Playing:<br>
</p>
<marquee direction="left" scrollamount="4">
<p class="ex1" style="white-space:nowrap; height:25; width:200; margin:0px 0px 0px 0px;" id="responsecontainer"></p>
</marquee>
</body>
</html>
{ "input": "$if($and(%artist%,%title%),%artist% - %title%)$if($and(%title%,$not(%artist%)), %title% )" }
-----
Output to a file named: "SongPlayback.json"