Results 1 to 3 of 3

Thread: Dynamic Ajax Content

  1. #1
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content

    Where at in the Dynamic Ajax Content script would you add the necessary code to add scrollbars? Also, would something like this work: var scrollbars=yes?

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

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Well, simply give the DIV that will contain your ajax content a CSS definition along the lines of:

    Code:
    <div id="mycontent" style="height: 300px; overflow: scroll"></div>
    This causes the div to be 300px in height, and any content that exceeds that height can be seen by scrolling the div.

  3. #3
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ddadmin:

    Thank You for your reply. Also, my apologies for not providing a link to the script in question. I knew that, but did not do it. Sorry. I did not realize that it would be that simple. I thought that it would require some JavaScript modifications.

    Again, Thank You.

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
  •