I want to create a horizontal scroll gallery containing images.
i.e.
<ul class='fluid_ul'>
<li id='fluid_li'>
<img>
</li>
<li... etc etc
</ul>
The img’s are a percentage height/auto width. The li also have a margin-right for spacing.
Because of this the width I need the UL to be changes when the window is resized/loaded.
I found this previous post which looked promising but cannot get it to work at all in this context.
Any ideas/help for how to generate the UL width when the images resize would be amazing!
Ok,
html minor corrections to your example code
jquery