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: Layouts and Reports Page: 1  Previous   Next
html: just one director, not a divider.
Author Message
DVD Profiler Unlimited RegistrantTheo B
Registered: March 15, 2007
Netherlands Posts: 14
Posted:
PM this userDirect link to this postReply with quote
I'm using a little html-window with some information about the movie.

I want to see only one director, but when the crew starts with a divider the window shows the divider instead of a director.

I avoided this problem by moving one director to the top, but I don't think that is a good solution. I'm also using goodguy's Credits Plus, so the first credit entry must be a divider.

Anywone who can help me with this problem?


This is what I'm using now:

<font size = 5pt>
<DP NAME="TITLE">
(<DP NAME="PRODYEAR"> )

<br>
<font size = 4pt>
<font color="#CCCCCC">
<DP NAME="CREW_DIRECTION" Detailed="NO" ColorNames="NO" MaxList="1">
(<DP NAME="COUNTRY_OF_ORIGIN"> )
<font size = 3pt>
<DP NAME="RUNTIME">
DVD Profiler Unlimited Registrantgoodguy
Sita Sings the Blues
Registered: March 14, 2007
Reputation: Superior Rating
Germany Posts: 1,029
Posted:
PM this userDirect link to this postReply with quote
Replace your <DP NAME="CREW_DIRECTION"> line with the following:

<SPAN id=idCrew><DP NAME="CREW_DIRECTION" Detailed="False" ColorNames="False" MaxList="3"></SPAN>
<SCRIPT language=javascript>
  var oElem = idCrew.all.tags("A")[0];
  if (oElem != null)
    idCrew.innerHTML = oElem.outerHTML;
  else
    idCrew.innerText = "";
</SCRIPT>

This uses MaxList=3 to account for at most two leading dividers and picks the first real entry in the directors list.
Matthias
DVD Profiler Unlimited RegistrantTheo B
Registered: March 15, 2007
Netherlands Posts: 14
Posted:
PM this userDirect link to this postReply with quote
Thanks Matthias!
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next