Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1 2  Previous   Next
Auto-change from front to back cover
Author Message
DVD Profiler Desktop and Mobile Registrantkdh1949
Have Gun Will Travel
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 2,394
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting icefyre:
Quote:
Quoting m.cellophane:
Quote:
Quoting kdh1949:
I don't know about that, but he did design movie pick


LOL... owned 

Anyway.. .i'd still like to see an improvement on the covers feature. Whether it auto cycles, or there's shortcuts, whatever... there's still huge room for improvement.

Stop putting words in my mouth -- or be more careful when you edit a quote. I didn't say
Quote:
I don't know about that, but he did design movie pick. 

Them was James' (m.cellophane's) words not mine.
Another Ken (not Ken Cole)
Badges? We ain't got no badges. We don't need no badges. I don't have to show you any stinking badges.
DVD Profiler user since June 15, 2001
DVD Profiler Desktop and Mobile RegistrantAgrare
Registered: May 22, 2007
Reputation: High Rating
United States Posts: 1,033
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting RHo:
Quote:
Quoting icefyre:
Quote:
A simple feature that will auto-change from front to back and vice versa, say every 5 seconds (even better, let us choose) would be awesome!

While I would not use that feature, it could be implemented with a HTML section in the current profiler.


here is such an html section. The background color of the window matches the color of the current cover image window in the default layout.

It actually does a little more than just swap the image, if you click on the image it will open it up full size in a new html window. That new window will also change every 5 seconds (or whater you set the interval to). If you switch to a new profile the new full size window will close. It behaves this way because I can't figure out how to get it change with the profile

Quote:

<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
var myWindow;
var swapTime = 5; // in seconds
function loadImage()
{
var mainImage = DP_ProgramPathImages + DP_UPC + "f.jpg";

document.MainImage.src = mainImage;

setInterval("swapImage()", 1000*swapTime);
}
function swapImage()
{
var mainImage = document.MainImage.src;

var i = mainImage.lastIndexOf(".");
if (i != -1)
{
var upc = mainImage.substring(0, i-1);
var fb = mainImage.substring(i-1, i);
var ext = mainImage.substring(i);
//alert(upc + " " + fb + " " + ext);
var bf;
switch (fb)
{
case "f":
fb = "b";
bf = "f";
break;
case "b":
default:
fb = "f";
bf = "b";
break;
}
mainImage = upc+fb+ext;
}
document.MainImage.src = mainImage;

if (myWindow != undefined)
{
myWindow.document.CoverImage.src = mainImage;
}

return false;
}
function openImage()
{
var quote = "\"";
myImage = new Image;
myImage.src = document.MainImage.src;

var h = myImage.height+25;
var w = myImage.width+20;

var html = "<HTML>\n<TITLE>Full Size Cover Image</TITLE>\n<HEAD>\n\n";
html += "</HEAD>\n<BODY BGCOLOR=" + quote + "DDECFE" + quote + ">\n";
html += "<IMG NAME=" + quote + "CoverImage" + quote + "SRC=" + quote + myImage.src + quote + ">\n</BODY>\n</HTML>\n";

myWindow = window.open("", 'Cover', "status=0, toolbar=0, location=0, menubar=0, resizable=0, scrollbars=0, height="+h+", width="+w);

myWindow.document.write(html);

return false;
}
function leavePage()
{
if (myWindow != undefined)
{
myWindow.close();
}
}
</SCRIPT>

</HEAD>
<BODY BGCOLOR="DDECFE" onload="loadImage();" onunload="leavePage();"  SCROLL="NO">

<DIV>
<IMG NAME="MainImage" border="0" onClick="openImage()" width="100%" style="position:absolute; top:0; left:0 z-index:0;">
</DIV>
</BODY>
</HTML>
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1 2  Previous   Next