![]() |
Roadmap - Questionaire Responses for AA CAMP 2004 |
Back to
index
(editors)
Back to
index
(techies/administrators)
Add new suggestion
(editors)
Add new suggestion
(techies/administrators)
1. Main problems and annoyances you encounter when using ActionApps
Lets say that I configure the Index view of a slice that has (or not) one image attached to it.
When the item has one image, ok, the image appears.
When the item does not have one image associated with it, ActionApps puts one 1x1 transparent gif (blank.gif) at the image place.
This can be a problem, as when we want to put some space between our image and the text, our text will have (when the image is missing) a annoying space before it.
(The blank.gif plus our little table causes some space between the picture and the text to appear)
Here follows the example:
What I have done to bypass the problem:
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
At the "Top HTML" of my Slice Index view:
<script language="JavaScript">
function AA_ImprimeFoto(myFotoURL, myFotoALT) {
document.write('<table summary=" " cellspacing="0" cellpadding="0" border="0" align="left">');
document.write('<tr>');
document.write('<td align="left" valign="top"><img src="'+myFotoURL+'" alt="'+myFotoALT+'" border="0"><br></td>');
document.write('<td align="left" valign="top"><img src="images/transp.gif" alt=" " width="5" height="1"></td>');
document.write('</tr>');
document.write('</table>');
}
function AA_VerificaFoto(myFotoURL, myFotoALT) {
if (!(myFotoURL.slice(-10) == '/blank.gif')) {
AA_ImprimeFoto(myFotoURL, myFotoALT);
}
}
</script>
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
At "Odd Rows" of my Slice Index View:
<tr>
<td>
<script language="JavaScript">AA_VerificaFoto('_#THUMBSRC', '_#IMAG_ALT');</script>
<p align="justify">
<span class="tituloChamada">Gaspar Vianna</span><br>
<a href="_#HDLN_URL" class="textoChamada">_#ABSTRACT</a></p>
</td>
</tr>
<tr>
<td align="left" valign="top" class="bgBody" height="20">
</td>
</tr>
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x
2. Features suggested for future development versions of ActionApps
I think that ActionApps could handle the "image problem" listed above.
I think that the easiest way would be to put a checkbox (Using different HTML code for items without images) and one textarea bellow this checkbox to put the alternative code without the image tags.
3. Comments About Usablility
Use PHPDoc to comment the code
4. General future development suggestions
Submited by:
Gaspar Vianna
|
![]() |
APC
ActionApps is a free software content management system initiated by
the Association for Progressive Communications (APC) APC - Internet and ICTs for social justice and development |