View Full Version : Help with Ajax Rotating Includes Script

11-02-2007, 07:21 PM
1) Script Title: Ajax Rotating Includes Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxrotate.htm

3) Describe problem:

I do have this script working, however it throws off the rest of my page elements. Is there a reason for this and how do I stop it? The red bar should be at the top of the page.

Here is the page it's on: http://stuwww.hsu.edu/kswh/assets/novembernewindex.html

Thanks for your time!

11-02-2007, 11:18 PM
Have you tried moving the Ajax include code outside the absolutely positioned DIV it's currently in? For example:

<script type="text/javascript">
ajaxinclude(includefiles, "dailyw")

<div id="Layer1" style="position:absolute; left:1px; top:267px; width:236px; height:540px; z-index:1">

Also, looking at the source of the external pages themselves (ie: http://stuwww.hsu.edu/kswh/assets/schedulemonday.html), each of them is contained in an absolutely positioned DIV as well. The issue here most likely has to do with one of these positioned DIVs throwing off the rest of your page elements.