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 8774695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:37:57+00:00 2026-06-13T18:37:57+00:00

I have tried to search this but to no avail. The code i have

  • 0

I have tried to search this but to no avail. The code i have was supplied by a real nice guy on the site and then I modded the attributes to make the elements i had fit into where they needed to go, however, everything works fine in all browsers, that is, except IE – pretty much all versions. i ran the debug in IE9 and was given this error “

SCRIPT438: Object doesn’t support property or method ‘debug’

The section of code that it refers to is this

function resizeContent() {
    // Retrieve the window width
    var viewPortWidth = $(document).width();
    var viewPortHeight = $(document).height();

    $(".content").each(function(index, element) {

        var jElement = $(this);
        if (jElement.hasClass(currentContentColor)) {
            console.debug('resize content selected (' + (viewPortWidth - 160) + ')');
            // If current content, juste resize the width and height
            jElement.css({
                width: (viewPortWidth - 160) + "px",
                height: viewPortHeight + "px"
            });
        }
        else {
            console.debug('resize content (' + (viewPortWidth - 160) + ')');
            // If not current content, resize with, height and left position
            // (keep content outside)
            jElement.css({
                width: (viewPortWidth - 160) + "px",
                left: viewPortWidth + "px",
                height: viewPortHeight + "px"
            });
        }
    });
}

The Specific line in question is

console.debug('resize content (' + (viewPortWidth - 160) + ')');

Or at least that’s what IE says is the issue

Is there a work around for this issue and IE – i am learning slowly – but this is way beyond anything i know. I have searched google and on here for the debug error but couldn’t find anything.

The site is http://www.crazyedits.co.uk

Thank you in advance for any help you can give on this issue.

  • 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-13T18:37:58+00:00Added an answer on June 13, 2026 at 6:37 pm

    According to the documentation, console.debug has been deprecated; console.log should be used instead.

    An alias for log(); this was added to improve compatibility with existing sites already using debug(). However, you should use console.log() instead.

    In any case, debug and log are just for printing debugging information to the console – they should be removed from production code.

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

Sidebar

Related Questions

I have tried to search for an answer in google, and this site, but
I've tried to search for a solution for this, but have had no joy:
I have tried to search for this all over, but haven't found anything close
I tried to search SO but couldn't find close answers. What I have is
I have tried searching over the internet about this problem but not able to
I understand there are MANY posts on this, but I have tried every single
I have tried to search first but couldn't find exactly what I need. I
I want to get sentence(s) which include(s) searched word(s). I have tried this but
I have this form and tried many aproches to no avail to repopulate form
I have tried searching for an answer to this but my searches have come

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.