Forums

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

Home Forums CSS Fade Out between pages Re: Fade Out between pages

#141505
DanH
Member

Hi bultala,

I was just playing around with the code and I think I know what you’re looking for to make the page fade out when the link is clicked to go to another page – you just need to add the class=”link” to your “a” tag in the html.

see where tomscustoms wrote this line of code:

$(‘.link’).click(function(event)

it could have been written like this as well:

$(‘a.link’).click(function(event)

the “.link” is the class that needs to be added to any “a” tag(s) in your html that you would like to execute the fade out function while leaving the current page.