Results 1 to 3 of 3

Thread: Running Ajax Pagination with Javascript on called pages?

  1. #1
    Join Date
    Jun 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Running Ajax Pagination with Javascript on called pages?

    1) Script Title: Ajax Pagination script v1.2

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

    3) Describe problem: I would like to run Ajax Pagination, however, here is my issue. I have a Javascript for a dropcap on the first letter of the first paragraph of each page. When I first load the site, the first page shows the DropCap... no problem, but when I go to the next page, the dropcap is not showing. But if I refresh the screen it will showup.

    I am assuming that the Javascript is only running on the first page and then when I refresh the second page it runs for that page, but only when I refresh. Any way to make it run automatically without refresh?

    Thanks!

  2. #2
    Join Date
    Jun 2007
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone... any help?

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

    Default

    Since each page is fetched dynamically using Ajax, they face the same basic limitation with any page fetched using this process, which is that inline JavaScript basically won't be successfully rendered. I'm not sure how your Drop Caps script is run, but if it's done dynamically (and not while the page is loading), you may be able to call it each time a page has been fetched to get things to work. A link to the problem page might help.
    DD Admin

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
  •