a grid rather than a row

View: New views
5 Messages — Rating Filter:   Alert me  

a grid rather than a row

by bw1984 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i want to be able to display a grid of photos rather than a single row. For example 16 photos in a 4x4 grid.

scrolling next or previous would then show the next/previous 16 (still in a grid)

no matter what i try i can't get the carousel to wrap the li items. I think its something to do with the styles getting inserted dynamically by the javascript, but i cant seem to alter them without breaking the whole workings.

any suggestions on how i could get this to work?

Re: a grid rather than a row

by Jan Sorgalla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


pwnw31842 wrote:
i want to be able to display a grid of photos rather than a single row. For example 16 photos in a 4x4 grid.

scrolling next or previous would then show the next/previous 16 (still in a grid)

no matter what i try i can't get the carousel to wrap the li items. I think its something to do with the styles getting inserted dynamically by the javascript, but i cant seem to alter them without breaking the whole workings.

any suggestions on how i could get this to work?
Just put the grid with 16 images into one <li> element.

Jan

Re: a grid rather than a row

by bw1984 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i'm using example_dynamic_ajax.html as a basis on which to construct it, pulling image references from the txt file.

But If i'm automatically pulling the images from flickr or a txt file how do i prevent it from putting each image in an LI?

it seems like theres an overflow:hidden somewhere maybe which is preventing the height attribute from being effective.

Re: a grid rather than a row

by Jan Sorgalla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

pwnw31842 wrote:
i'm using example_dynamic_ajax.html as a basis on which to construct it, pulling image references from the txt file.

But If i'm automatically pulling the images from flickr or a txt file how do i prevent it from putting each image in an LI?

it seems like theres an overflow:hidden somewhere maybe which is preventing the height attribute from being effective.
You can put whatever you want inside a <li>. It can be a single image or a table of 16 images. Just customize the getItemHTML() function.

Jan

Re: a grid rather than a row

by maikel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan (or anyone else),

I'm trying to get the images into a grid, but I can't figure out how to do it. Could you please help out? How do you push 6 images into a single LI?

Maik

Jan Sorgalla wrote:
pwnw31842 wrote:
i'm using example_dynamic_ajax.html as a basis on which to construct it, pulling image references from the txt file.

But If i'm automatically pulling the images from flickr or a txt file how do i prevent it from putting each image in an LI?

it seems like theres an overflow:hidden somewhere maybe which is preventing the height attribute from being effective.
You can put whatever you want inside a <li>. It can be a single image or a table of 16 images. Just customize the getItemHTML() function.

Jan
LightInTheBox - Buy quality products at wholesale price