[FR] template2 full : probleme sous opera 7.5x

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
KenoKles

[FR] template2 full : probleme sous opera 7.5x

Post by KenoKles »

Dans le template template2 full, j'ai remarque un petit probleme avec le height de l'iframe sous opera.

Pour resoudre ce probleme, il suffit d'ajouter height="100%" dans les attributs de la table principale. Ceci oblige opera a redifinir le height de la table au lieu de garder la valeur par defaut
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

J'avais déjà dû rajouter un height pour l'iframe à cause d'un bug d'IE :D

C'est pas très logique de mettre cette valeur height pour la table... Elle peut très bien faire moins de 100% ou faire beaucoup plus...
KenoKles

Post by KenoKles »

Les navigateurs web ont leurs raisons... que la raison ignore ! :D
KenoKles

Post by KenoKles »

[francais]
J'ai modifie un peu "template2 full" pour rajouter une scrollbar dans la partie de gauche avec la liste des titres. cette version affiche aussi la note plutot que le numero du film (choix personnel)... et elle marche mieux sous Opera. J'ai pense que ca pourrait interresser des gens.

[english]
I have modified a little "template2 full" to add a scrollbar on the left part with the movies titles list. I have also change the movie number by the movie appreciation. And this version will work better under Opera. Maybe some people will be interrested by this feature.

PS : Merci beaucoup d'avoir developpe un logiciel com AMC et de le distribuer sous GPL. Longue vie a Antp et a sa descendance ! :wink:

Code: Select all

<html><head>
<style TYPE="text/css">
  text,p,div,span,th,td,ul,li { FONT-SIZE: 10pt; FONT-FAMILY: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; color: black; background: white; }
  A:link { COLOR: #003399; background: white; text-decoration: none; }
  A:visited { COLOR: #003399; background: white; text-decoration: none; }
  A:hover { COLOR: #CC0000; background: white; text-decoration: underline; }
  A:active { COLOR: #CC0000; background: white; text-decoration: underline; }
  td.blk { color: white; background: black; border: solid; border-color: black; }
  table.blk { color: white; background: black; border: solid; border-color: black; border-width: thin; }
  table.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; }
  td.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; }
</style></head>
<body>
<table height="100%" border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td align="center" COLSPAN="2" height="20" style="border:none">
    <p>Catalog created on $$DATE with <a href="http://www.ant.be.tf/moviecatalog/" target="_blank">Ant Movie Catalog</a>.</p>
 	</td>
</tr>
<tr>
<td class="blk" width="33%" valign="top">
  <div style="overflow:auto;height:100%">
    <table height="100%" border="0" cellspacing="0" cellpadding="5"><tr>
      <td class="blk" nowrap width="50">Note</td>
      <td class="blk" nowrap>Title</td>
      </tr>$$ITEM_BEGIN<tr>
      <td class="lgt"><strong> $$ITEM_APPRECIATION</strong></td>
      <td class="lgt"><a href="$$ITEM_FILEINDIV" target="rightfr">$$ITEM_FORMATTEDTITLE2</a></td>
      </tr>$$ITEM_END
    </table>
  </div>
</td>
<td valign="top" height="100%" class="blk">
  <iframe height="100%" width="100%" src="" class="blk" name="rightfr" frameborder="no" borderwidth="0"></iframe>
<<tr>
<td COLSPAN="2" height="20" align="right">
<p><strong>Total: 122 movies</strong></p></body></html>
</td>
</tr>
</table>
</body></html>
Post Reply