PDA

View Full Version : Monitor Gamma Chart


UweB
21st of October 2007 (Sun), 13:43
I made myself a crude monitor gamma chart which shows up in the header if EE2.

I do think that the code is very rudimentary but then, i'm not really a programmer. But it helps to regulate the monitor to adjust brightness and so on... many monitors loose the very dark or bright shades so that details get lost...

I would like to know how i can put this gamma chart right on the very top of the header just as the other text is. Now it hangs down a bit and looks a bit displaced. I simply clould not find out how this is possible.

Then i would be glad to get a bit of help to make the code smaler and easier to integrate into the existing header.php file and alos for other installed languages...

What do you think about this idea of having this chart right there?

Overshot
22nd of October 2007 (Mon), 11:55
You could turn your gamma chart table into a single image like this sample made from a screen capture from your site with the % text removed..

http://www.classicrally.org.uk/pictures/gamma.gif

Then modify the header.php code as below to keep the header links in a separate div floated left with the gamma chart in its own div floated right... I'm not sure how happy you are with modifying Pekka's EE code. You'll see the added style="float:left" in the navigationheader div. You might be able to include this in the ee_css_header_small class but there may be a knock on effect somewhere else.
There are several other ways to achieve what you ask.

<div class="navigationheaderholder">
<div class="navigationheader ee_css_header_small" style="float:left">
&nbsp;&nbsp;<a href="./index.php" class="ee_css_hyperlink">INDEX</a> | <a href="./sitemap.php" class="ee_css_hyperlink">GALLERY MAP</a> | <a href="./comments.php" class="ee_css_hyperlink">VIEWER COMMENTS</a> | <a href="./rss.php" class="ee_css_hyperlink">RSS</a> | <a href="./guestbook.php" class="ee_css_hyperlink">GUESTBOOK</a> | <a href="./gear.php" class="ee_css_hyperlink">GEAR NOTES</a> |
</div>
<div style="float:right"><img src="pictures/gamma.gif" alt="gamma chart" /></div>
</div>

UweB
22nd of October 2007 (Mon), 14:16
Thank you for this Idea... it looks much nicer now :-)

And ee_css_header_small class would be the template for the header?

Well, i hope it is something useful for others too...