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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:10:59+00:00 2026-05-27T12:10:59+00:00

I use these scripts to repair the errors in IE (Hacks). There is one

  • 0

I use these scripts to repair the errors in IE (Hacks).

There is one for each version.

I know that everything has IE9.js IE8 and 7 but would like to load
only the necessary script to that version of the browser;

Today my code is as follows:

<!--[if lt IE 7]>
    <script src="@Url.Content("~/Scripts/IE7.js")"></script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![endif]-->

<!--[if lt IE 8]>
    <script src="@Url.Content("~/Scripts/IE8.js")">IE7_PNG_SUFFIX=".png";</script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![endif]-->

<!--[if lt IE 9]>
    <script src="@Url.Content("~/Scripts/IE9.js")"></script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![endif]-->

I would not like to use something like <!--[if eq IE 8]> because I do not know how it would behave in such versions as IE8.5.

I do not know if there is else, I searched the internet and did not see anyone commenting on this. But it would be the ideal solution.

Something like this:

<!--[if lt IE 7]>
    <script src="@Url.Content("~/Scripts/IE7.js")"></script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![elseif lt IE 8]-->
    <script src="@Url.Content("~/Scripts/IE8.js")">IE7_PNG_SUFFIX=".png";</script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![elseif lt IE 9]-->
    <script src="@Url.Content("~/Scripts/IE9.js")"></script>
    <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
<![endif]-->

I appreciate the help.

  • 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-05-27T12:11:00+00:00Added an answer on May 27, 2026 at 12:11 pm

    You do not need to include IE7/IE8.js if you are using IE9.js

    <!--[if lt IE 9]>
        <script src="@Url.Content("~/Scripts/IE9.js")"></script>
        <script src="@Url.Content("~/Scripts/ie7-squish.js")"></script>
    <![endif]-->
    

    Problem solved.

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

Sidebar

Related Questions

I know how I use these terms, but I'm wondering if there are accepted
Is there a way to use these operators to input and output binary data?
I have hundreds of scripts for testing a component. Each of these scripts contain
I use VIM for code development and lot of things. I see that there
I have two autocomplete scripts, one of them makes use of (A) php/mysql/html/jquery and
Is there a script i can use to copy some particular sectors of my
App Engine only allows you to use these formats for XMPP addresses: app-id@appspot.com anything@app-id.appspotchat.com
1) Isn't it a bad practice to use these attributes on all of my
I have an IDictionary, now I want to use these values in a selectlist.
Can I get a 'when to use' for these and others? <% %> <%#

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.