[thelist] Non-Rectangular Viewport

Paul Bennett Paul.Bennett at mch.govt.nz
Wed Apr 1 14:52:49 CDT 2009

ack! That sounds awful...

What about Flash? You could set up a small .swf to read in two images
dynamically and then display them. This would take the headache out of
trying to coerce html / css (which really deals with squares and
rectangles) to do something it wasn't really designed for...

My 2c...


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Fred Jones
Sent: Thursday, 2 April 2009 8:48 a.m.
To: thelist at lists.evolt.org
Subject: [thelist] Non-Rectangular Viewport

A designer has given me a design with two spaces. Into these spaces I
will put images. Which image goes there is dynamic (upcoming class
type of thing). This part is not hard. :)

The issue is that the spaces are not rectangular--I believe they are
quadrilaterals and one is trapezium. To further complicate the issue,
they are adjacent. To simplify this geometrical discourse, I prepared
an image:


You see there that there are two spaces--the top and bottom and a red
line separates them. That red line is supposed to be visible after the
boxes are full. To fill in one of these boxes I could do, by making
either the image or the "background" transparent and then putting the
transparent one on top of the 'regular' one.

But The problem is that the two images actually overlap slightly--what
I mean is that the lower right part of the top image (were it
rectangular) overlaps the top right of the bottom one.

I am coming up with all sorts of wacky ideas about requiring a
triangular-shaped transparent section in each image or other potential
ideas. Does anyone have an intelligent way to handle this? (Aside from
firing the designer of course.)


* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

www.mch.govt.nz  -  www.teara.govt.nz  -  www.nzhistory.net.nz  -  www.nzlive.com

The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it.


More information about the thelist mailing list