Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fade Out between pages

  • This topic is empty.
Viewing 16 post (of 16 total)
  • Author
    Posts
  • #248628
    oriadam
    Participant

    I know this is a very old thread but I noticed that wired420 code has a problem, it supports only one single link per page, because of that one line they replaced.<br>
    That new line of code should be:

    newLocation = $(event.target).find('a').attr("href");

    or

    newLocation = $(this).find('a').attr("href");

    Actually, on IE9+ and all other browsers there’s no need for jQuery:

    newLocation = event.target.querySelector('a').href;

    or

    newLocation = this.querySelector('a').href;

Viewing 16 post (of 16 total)
  • The forum ‘CSS’ is closed to new topics and replies.