Sure is it nice. I've changed some little things on your templete. Maybe there is an idea for you.
1.
Code: Select all
<th><a href="javascript:sortBy('title')" class="tHead"><b>Titel</b></a></th>
<th width="200" nowrap="true"><a href="javascript:sortBy('category')" class="tHead"><b>Genre</b></a></th>
<th width="80"><a href="javascript:sortBy('media')" class="tHead"><b>gesehen</b></a></th>
<th width="80"><a href="javascript:sortBy('cdanzahl')" class="tHead"><b>CD Anzahl</b></a></th>
<th width="80"><a href="javascript:sortBy('year')" class="tHead"><b>Jahr</b></a></th>
<media> shows me a 'Yes' if I've seen this movie, or 'No' if not
The stars, I dont need, because thats not MY rating of the movie.
2.
Code: Select all
<xsl:when test="$search = 'true'">...
<xsl:sort select="*[name() = 'year']" order="{$sort_order}" data-type="{$sort_data_type}" />
If I search for an actor I want to see the table in an order by year. So I can see the first film of this actor... Also better by searching for movies like Star Trek or James Bond. So you can see the oldest movie on top and so on.
3.
Code: Select all
<xsl:template match="movie" mode="normal_view">...
<xsl:number value="number"/>.
So I can see on one view the number of the movie and I search for the film by the movie number in my movie rack.
4.
Code: Select all
<td valign="top" class="infoViewTable">...
<p class="infoView">
<b>Nummer:</b> <xsl:value-of select="number" />
<br class="infoViewTable" />
<b>Genre:</b> <xsl:value-of select="category" />
<br class="infoViewTable" />
<b>gesamt:</b> <xsl:value-of select="filmegesamt" />
<br class="infoViewTable" />
<b>Jahr:</b> <xsl:value-of select="year" />
<br class="infoViewTable" />
<b>Länge:</b> <xsl:value-of select="length" /> min
<br class="infoViewTable" />
<b>Grösse:</b> <xsl:value-of select="bigness" /> MB
<br class="infoViewTable" />
<b>Regisseur:</b> <xsl:value-of select="director" />
</p><p class="infoView">
<b>Schauspieler:</b><br />
the infpviewtable is a little bit extended.
5. Now the style sheet:
Code: Select all
td.contentTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: center;
color: #333333;
cursor: hand;
}
td.titleTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
border-left: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: left;
color: #333333;
cursor: hand;
}
td.yearTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
border-right: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: center;
color: #333333;
cursor: hand;
}
td.genreTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: left;
color: #333333;
cursor: hand;
}
Now I have a border on left and right. Also the title and genre-align is on left the align of the others is in centre. Oh, well terrible english. If you want I can make a screenshot. By that way: thx
