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

  • SEARCH
  • Home
  • 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 9255961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:49:44+00:00 2026-06-18T11:49:44+00:00

I am trying to make a site with an off-canvas navigation that slides in

  • 0

I am trying to make a site with an off-canvas navigation that slides in on click of the ‘ navigation list ‘ icon in the upper-left.

I first developed it and powered it using CSS3 Transitions and :target and that works.

Then, with the help of StackOverflow, I developed a version powered by JQuery 1.9 with a similar effect. This version works fine.

Then, I combined them and am using Modernizr to detect when :target selector is not supported, it loads the JQuery from before.
I tried it in chrome and it works— meaning it works when CSS3 Transitions and :target is supported.
But, then I tried it in IE 7 and it doesn’t work.

I don’t know if this is because Modernizr and the custom :target test is not working and loading the jQuery or if the JQuery is not working now for some reason.

Here it is: http://goo.gl/ztbwe

I would really appreciate all and any help in getting this to work in browsers that support CSS3 Transitions and :target and when either is not supported provide & execute the jQuery.

  • 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-18T11:49:46+00:00Added an answer on June 18, 2026 at 11:49 am

    Your odd() function (Line 62 in menu.html) has an extra comma:

    function odd() {
        $('.content').animate({
            marginLeft : '20%',
            marginRight : '-20%', // <-- bad comma
        });
    }
    

    Next time just open your demo in Internet Explorer (or whatever browser is giving you problems), and hit F12 (dev tools). IE lets you switch the browser version you wish to view the page in, so if your in IE, then in dev tools set the ‘browser mode’ to IE7, then open the console, and inspect your errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make an off-canvas navigation that slides in from the left
I'm trying to make an 'site layout' type thing where you click on an
I'm trying to make a WordPress site that has six lists on a page,
I'm trying to make a site that loads values from a database and then
I was trying to make one site as session less. So add <sessionState mode=Off
I am trying to build my first HTML5 site. I started off trying to
I'm trying to make a very simple Android app based off of the first
i'm trying to make my site with a few languages. Every page includes config-file,
I'm trying to make my site respond correctly to the back button. I've saved
I am trying to make my site fully w3c validator compliant. At the moment,

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.