how can I change width with Jquery of a DIV container when another DIV is loaded inside (via PHP)?
This is my HTML code
Content 1
Now, I have a to populate dinamically the "container" for each page.
Another page may have this HTML code
Content 1
Content 2
Content 3
"item" has float:left;
I want all "items" in a row. How can I change the "container" width dynamically when a "item" is loaded inside?
I'm using a scrollbar Jquery plugin to scroll divs.
Please, help! Please set up an example at jsfiddle.net
以上就是Jquery - Dynamically resize container DIV width container when another DIV is loaded inside的详细内容,更多请关注web前端其它相关文章!