Jump to content

Homeslider only on idex page.


Recommended Posts

Hi, Im back. I wanted to give my slider a nice hide/show animation and solve my issue with jquery.
Code looks like that

$(document).ready(function(){
    if($('a.current').attr('href') == 'index.php') {
        $('.bx_wrapper').show();
    }
});

how the code should check that im on my shops front page ? it isn't working with 'index.php'

 

I'm using presta 1.5.4.1

 

And yes, i do linked my code into header.

Edited by Jacob M (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...