View Full Version : Is it possible to have images in the scrolling window

04-26-2007, 12:18 PM
1) Script Title: Dynamic Ajax Content script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
3) Describe problem: Is it possible to have images in the scrolling window, or is it text only? I need a mini scrollable "window" contents images in left column in Dynamic Ajax Content script. Any help would be great. Thanks.

04-26-2007, 02:27 PM
There is no scrolling window in the script. If you are combining a script that has scrolling images, yes but that additional script should be on the 'top' page and may need to be initialized each time its content is fetched via AJAX. If you simply want scrollable images (moved by the user with a scroll bar) that would be even easier but, the stylesheet (if any) for that would go on the 'top' page.

There could be other problems.

04-26-2007, 03:49 PM
Thanks for replay but
I need the similar like on this page


04-26-2007, 04:01 PM
For something like that, you need a defined height, width and auto overflow for the 'contentarea':

<div id="contentarea" style="height:395px;width:800px;overflow:auto;"></div>

Then, just put your image tags on the external page.

04-26-2007, 04:42 PM

It is working, but now the right column jump below. And I like it be on the same row. If you you can help me, pls

04-26-2007, 04:49 PM
Most likely, you need to either make the contentarea wider or the external page narrower. So, it will all fit without wrapping.

If that doesn't fix it for you, I'd probably need a link to your page to see the problem more clearly.

04-26-2007, 05:05 PM
Thank you very much!
I change only the word "contentarea" to the word "leftcolumn" and now it is ok. thanks again.