jsymonkj / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Wrong layout #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open photo album page
2. Choose album with less then the "maxResults"

What is the expected output? What do you see instead?
See all the pictures with the no navigation bar below and all the rest off the 
css divs under it

What version of the product are you using? On what browser and version and 
operating system?
V1.3 on Firefox4, Chrome 10 and IE9

Please provide any additional information below.
When I open an album with less pictures then noted in the "maxResults" 
parameter there is missing an </div> I think. 
All my other divs are standing next to the pictures and not under them. When 
there are more pictures, so the navigation bar is shown there is no problem.

I added a screen shot from my page.

Original issue reported on code.google.com by mertens....@gmail.com on 13 Apr 2011 at 6:37

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello!!!

I managed to solve this problem.
There is no error in javascript, but it is a problem with CSS. The images are 
arranged by the float, so if there is an element used in the css to make it 
CLEAR will float alongside.

So at the end of the function "function album(j) {..."

add:

$scPhotos.append("<div style='clear: both;height:0px;'/>");

becomes:
"
function album(j) {
...
   $scPhotos.append("<div style='clear: both;height:0px;'/>");
}

function latest(j) {
"

I hope I could helped ...

PS: Sorry for bad English - "translated by GOOGLE"

see http://album.plenobirigui.com.br

Original comment by PlenoBir...@gmail.com on 31 May 2011 at 2:17

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for the replay.
Google did a good job with the translation.

Original comment by mertens....@gmail.com on 12 Jun 2011 at 11:41

GoogleCodeExporter commented 9 years ago
Implemented as described.

Original comment by borkh...@gmail.com on 1 Aug 2011 at 5:30