This concerns the behavior of the 3 boxes on the right (after <!-- BEGIN RIGHT COLUMN -->)
Presently, with the Info view window open, upon each choosing of an entry, box A opens. It does a "show" in the show/hide dance.
What I would like to change is ... if I have box B open and then click on a new dvdpedia entry, I wish it would remain showing me box B instead of closing box B and opening box A.
Here is the relevant code (as far as i know):
Head Tag:
Code: Select all
<script>
<!--
function HideContent(a) {
document.getElementById(a).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "";
}
function ReverseContentDisplay(a , b , c ) {
if(document.getElementById(a).style.display == "none") {
document.getElementById(a).style.display = "";
}
else
{ document.getElementById(a).style.display = "none"; }
document.getElementById(b).style.display = "none";
document.getElementById(c).style.display = "none";
}
-->
</script>
Code: Select all
<div class="columnRight" name="Film Details">
<div class="singleCol"><span class="title">Film Details </span><span class="text rightAlign"><a href="javascript:ReverseContentDisplay('A', 'B', 'C')">Show/Hide</a></span></div>
<div class="singleBox overflow" id="A" style="display:;">
Code: Select all
<div class="columnRight" name="Product Details">
<div class="singleCol"><span class="title">Product Information </span><span class="text rightAlign"><a href="javascript:ReverseContentDisplay('B', 'A', 'C')">Show/Hide</a></span></div>
<div class="singleBox overflow" id="B" style="display:none;">
Code: Select all
<div class="singleCol"><span class="title">Similar Products </span><span class="text rightAlign"><a href="javascript:ReverseContentDisplay('C', 'A', 'B')">Show/Hide</a></span></div>
<div class="singleBox overflow" id="C" style="display:none;">