Results 1 to 3 of 3

Thread: Dynamic Ajax Content for 2 URLs

  1. #1
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content for 2 URLs

    I've been working with the Dynamic Ajax Content script. Works really well.

    Looking for a way to double the parameters of the function so that I can use the a single link to load 2 pages in 2 separate target divs.

    I have some dynamic content (from a single permalink) that I want to break up into two columns.

    Anyone done this before? Is there a script modification that allows this?

    Thanks for any help.

  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.

    Just do something like:

    Code:
    <a href="javascript:ajaxpage('test.htm', 'contentarea'); ajaxpage('test2.htm', 'contentarea2')">test</a>

  3. #3
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm new, please excuse the link omission.

    I figured that that's what you'd do. At first I'd duplicated the function, but now I see there's no need. Thanks tons for the reply. Works beautifully.

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
  •