As agreed we worked on W3C validation of pmapper and  we are rady to
provide the code related to XHTML 1.0 Strict and CSS2 validation (if you
don't consider hacks for opacity).  Following you can find some
technical remarks; we  could also provide  a more detailed document with
the list of modified files, the meaning of every code change etcetera.
It is in italian language, if you are interested we could translate it
into English (unless you understand Italian language.... ) 
 
How can I provide the code? There is a cvs, ftp space or something like
that? It is less than 1Mb.

 

We did not made modifications related to "table" tag substitution with
div's (it is more an accessibility than not a validation issue, have a
great impact on code, especially for legend management and as far as I
understand from your e-mail you are not interested in this kind of
modifications.. ); we are discussing on the better way to handle this
issue. Could we develop it as another kind of legend? Could we assume
the interface between legend and other pmapper parts to be stable? 

 

We are trying to figure out a "fluid layout"; as you said, it's not an
easy task, especially if we want to have it implemented in a general way
or following a pre-existent "absolute" layout. So, we are thinking to
develop a new layout (probably with horizontal buttons and some other
changes, to simplify the problem), to submit it to you and the mailing
list users,  have your feedback and take further decisions

 

Best regards

 

Alessandro

 

 

 


Brief technical remarks


Now pages are valid XHTML 1.0 Strict and css are valid CSS2 if you don't
consider hacks for opacity.


There are warnings regarding css that are dependent on accessibility (it
could be a next step). It would be a good thing to take out all inline
style properties and put them into external .css files.


An example that we have worked on is the "height" property of the top
and bottom divs of the map.phtml page. Now that property is on the
default.css in the .FRAME1 class definition.


It was necessary, to maintain the application working, doing some
changes for functions that return us the position and dimension of an
object. Those functions are inside zoombox.js file:




function objLeft(obj) {     

    return parseInt(obj.style.left || obj.offsetLeft);

}

 

function objTop(obj) {

    return parseInt(obj.style.top || obj.offsetTop);

}

 

function objW(obj) {

      return parseInt( obj.style.width || obj.clientWidth );

}

 

function objH(obj) {       

    return parseInt( obj.style.height || obj.clientHeight);    

}

 

 


To validate html it has been necessary modify .php or .phtml files, and
.js files.


We have also corrected a bug of the swapping legend: checkbox were not
checked anymore after the swap.


At last, we have also improved the drawing of the polygon to calculate
area, adding the last dotted side.


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://faunalia.it/pipermail/pmapper-users/attachments/20060524/e537a9d2/attachment.htm
 

Reply via email to