Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9119771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:28:30+00:00 2026-06-17T05:28:30+00:00

I have a problem I really cant solve and hopefully you guys can help

  • 0

I have a problem I really cant solve and hopefully you guys can help me out as im relatively new at css/js. I am trying to use the neat CSS3 Page Transitions template along with the fancybox gallery.

All good but when I use the jquery.fancybox.js the template menu links wont work anymore, I click them and nothing happens, transitions not happening anymore.
I suspect there’s something that has to do with both using hrefs (the template is a one page site using hrefs and so does the .js to call the pics?)

Sorry for my bad english and lack of a mature question, hope someone knows what I’m talking about and can help me.
Cheers!

edit:

Thanks alot for trying to help, here are 2 links, note that everything on the pages are codes ive copied from the net and nothing is mine, just for test purposes.

not working with jquery fancybox

this one you can see jquery is doing its magic, when you click View in portfolio the images are properly displayed BUT the menu is not working anymore and you cant navigate.

working without the jquery fancybox

this one without the jsquery you can see the nav is properly working and page transitions happen but when you click the view thumbnail in portfolio you just see the .jpeg, ofcourse… and cant navigate thru pictures.

thanks alot for help hope this is fixable so i can have a working jquery fancybox images view WITH page transitions working!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:28:31+00:00Added an answer on June 17, 2026 at 5:28 am

    It’s not fancybox that kills your CSS3 transitions. The issue is created by this line in your script.js file :

    $('a').bind('click', function (event) {
      var $anchor = $(this);
      $('html, body').stop().animate({
        scrollTop: $($anchor.attr("href")).offset().top
      }, 1000, "easeOutExpo");
      event.preventDefault();
    });
    

    … where you set event.preventDefault() to ALL the anchors in your web page, including those that fancybox is bound to (<a class="fancybox" ...>).

    For instance, if you comment out event.preventDefault() then you will have both fancybox and CSS3 transitions working seamlessly.

    See JSFIDDLE

    Generally speaking, it’s not a good idea to bind events or apply css rules to general elements or tags but use specificity instead, mostly when you have several plugins that bind other events to those elements … so instead of doing

    $('a')
    

    do

    $('a.selector')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hey guys having this really simple problem but cant seem to figure out have
I have a weird problem that I can't solve. I'm trying to open a
I just have one probably really dumb problem but I can't solve this. I
I have a recurring problem in templating projects. I can't really test my work
I have a problem which I don't really know how to solve. I have
I have a problem with the esmtp application that I really hope you help
I'm stuck on a problem I really don't know how to solve: I have
I have a problem which I'm pretty sure that I can't solve without going
I have a problem and I can't seem to be able to solve it.
I'm refreshing my PHP knowledge and have a problem I can't solve on my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.