PDA

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



Juli4ka
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.

jscheuer1
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.

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

http://www.goplasticpallet.com/index1.php?wd=995&ht=591#

jscheuer1
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.

Juli4ka
04-26-2007, 04:42 PM
Great!

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

jscheuer1
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.

Juli4ka
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.

Julia