Results 1 to 4 of 4

Thread: Ajax Pagination script and flash

  1. #1
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Pagination script and flash

    1) Script Title:Ajax Pagination script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nate/index.htm

    3) Describe problem: I am using the above script to load external pages and works great, I have one major problem and pretty much tried anything but didn't fix the problem.
    The problem is when I load a page that has either embedded flash or loaded by javascript the flash contents don't load! I changed the path but no use, anyone has any ideas? please help me.

    thanks

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

    Default

    Content loaded using Ajax has certain limitations, because that content is basically being dumped onto the page, versus the usual synchronous loading. This means if your external content contains JavaScript, that code will usually not fire without further intervention from you. With pure Flash defined using pure HTML (not JavaScript), it should still play even if fetched via Ajax (though I'm not 100% sure). Is your Flash file called using just HTML, or dynamically via JavaScript as well?

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

    Default

    Thanks for your reply, yes the contents are called by javascript. But I noticed it will work fine when I embed the flash but I am sure this will limit my ability to implement more complex flash object.

    thanks

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

    Default

    Typically the most robust way to dynamically include contents from another page and have everything work is using IFRAME. One script you can look at that supports this is Ajax Tabs Content (demo #3), though obviously it's a different script from Ajax Pagination script.

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
  •