Advanced AJAX Page Loader
[resolved] Javascript "onclick" works but no ajax behaviour (4 posts)

  1. ekino
    Posted 3 years ago #

    I am using AAPL on a div named excerpt. I want to use this whole div as an link to the full content.
    To realize this I am using Javascript onclick-Event.

    <div class="excerpt" onclick="location.href='link-to-full-content';" >

    The forwarding to the content via onlick works, BUT:
    The site gets completeley reloaded, so AAPL is ignored.

    My question is:
    How could I tell AAPL to detect that specific onclick?
    -Or which alternatives are given to reach my aimes?

    Thanks for help!


  2. Valentin
    Posted 3 years ago #

    I'm interested as well!

  3. Valentin
    Posted 3 years ago #

    Found a solution to this after looking into the plugins files.

    Just use:

    <div class="excerpt" onclick="AAPL_loadPage('link-to-full-content');" >

    Should be working just fine.

  4. ekino
    Posted 3 years ago #

    Thank you very much :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic