English > Scripts and Templates

Export template: HTML List (English + German)

<< < (7/37) > >>

svenne:
I had quite a lot of other things to do, so it took a little bit longer... Here is the first version of an HTML export template for printing purposes. Since I really didn't have much time, consider this alpha...
In Firefox you can choose between different print layouts: In the menu "View" go to "Page Styles" and you'll see a list to choose from. If your Database is huge it might take some time for the browser to reformat the whole thing (same with the browser's print preview). So be patient. Choosing different styles is possible in all common browsers and in IE8 or newer. It will work with IE7, too, but that'll need some javascript. I'm planning to add a menu to the exported HTML anyway, to make the different settings more obvious.

svenne:
It became quite tricky, because both Internet Explorer 7 and 8 are buggy. With IE8 at least you can choose between alternate stylesheets and they will be rendered on screen, but while printing the whole thing alternate stylesheets are ignored...  ::)
Ok, at last I found a workaround and now everything's fine in IE (as long as JavaScript is not deactivated, of course). Tested it with IE8, but with IE7 it should be ok, too, since problems of IE7 were the same.
Firefox is fine anyway.
Hope you like it...

rick.ca:
Nice! Thanks.

svenne:
I made some changes to the "HTML Print Layout" template:
- fixed some problems with the browsers refresh button
- in "no details"-view the information on genre now is ommitted. Replaced it with file properties (filesize, codec, languages)
- added "show/hide movie id" and "show/hide file properties" to the "Print Layout" dialog

rick.ca:
This is coming along nicely. Now I wonder what happened to all those who were looking for a "print" capability. ::)

The print layout control doesn't seem to work properly in the "no details" view (in Firefox, if that matters)...

* movie id appears whether selected or not
* selecting movie id causes genre to disappear
* show file properties doesn't work unless movie id is also selected
I think you should keep genre. It's still there, but your post implies you intended to remove it. It could be set apart from file properties by using a different font (or simply not italicizing)—should they both be selected.

It would also be nice if sequential numbers could be used instead of, or in addition to, id. A numbered "no detail" view could then be used as a table of contents for a detailed view.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version