Results 1 to 2 of 2

Thread: Help with Ajax Rotating Includes Script

  1. #1
    Join Date
    Nov 2007
    Posts
    18
    Thanks
    0
    Thanked 1 Time in 1 Post

    Question Help with Ajax Rotating Includes Script

    1) Script Title: Ajax Rotating Includes Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Have you tried moving the Ajax include code outside the absolutely positioned DIV it's currently in? For example:

    Code:
    <body>
    <script type="text/javascript">
    ajaxinclude(includefiles, "dailyw")
    </script>
    
    <div id="Layer1" style="position:absolute; left:1px; top:267px; width:236px; height:540px; z-index:1">
    </div>
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •