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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:05:34+00:00 2026-05-23T23:05:34+00:00

This code works in IE8, Crome and Safari, but not in firefox: <script src=@Url.Content(~/Scripts/jquery-1.5.1.min.js)

  • 0

This code works in IE8, Crome and Safari, but not in firefox:

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
<script type="text/jscript">
        alert("wazzup");
        $(document).ready(function () {

            $(".MathLink").hover(function () {
                $(this).css("color", "#d7d7d7");
            }, function () {
                $(this).css("color", "#FFFFFF");
            });

            $("#betyg_textblock").click(function () {
                window.open("http://hogrebetyg.se/");
            })

            $("#roids_textblock").click(function () {
                window.open("http://www.kongregate.com/games/irradiance_se/roids?acomplete=roids");
            })

            $(".servicesDiv").mouseenter(function (event) {

                if ($(this).css("height") == "45px") {
                    $(".servicesDiv").animate({
                        height: "45px"
                    }, 300);

                    $(this).animate({
                        height: "100px"
                    }, 300, function () {
                        $(".servicesDiv").clearQueue();
                    });
                }
            });

            $(".news").click(function (event) {
                if ($(this).css("height") == "53px") {
                    $(this).animate({
                        height: "100%"
                    }, 400, function () {
                        $(".news").clearQueue();

                    });
                }
                else {
                    $(this).animate({
                        height: "53px"
                    }, 400, function () {
                        $(".news").clearQueue();

                    });
                }
            });
        });
    </script>

I have no idea why. Please 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-23T23:05:36+00:00Added an answer on May 23, 2026 at 11:05 pm

    See the following:

    text/javascript

    Opera 7.54+

    IE 5+

    Firefox 1.0.7+

    Safari 2.0.3+

    iCab 3 Beta 394

    Camino 2006021400

    text/jscript

    Opera 7.54+

    IE 5+

    Safari 2.0.3+

    Change it to text/javascript

    Ref: http://sachabarber.net/?p=824 AND http://krijnhoetmer.nl/stuff/javascript/mime-types/

    e.g.

    <script type="text/jscript"> /*Code*/ </script>
    

    To

    <script type="text/javascript"> /*Code*/ </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This javascript code does not work in IE8, but works in Firefox and Google
This code works in a windows forms application (it shows the preview) but not
My ajax app works fine in Firefox, but not in IE8. Specifically, the ajax
This code works, but i dont understand why. With DeferredLoadingEnabld = false, I would
I've got this code, that works in the latest version of firefox, opera and
Here is my site: http://smartpeopletalkfast.co.uk/jquery/basicDemo12-bugfix-3.htm It works fine on firefox, chrome, safari and ie9,
I'm getting a jquery error in the IE8 debugger but I'm not sure which
jQuery $.ajax() does not seem to work correctly with IE8 but it is working
web page : http://sideradesign.com/eco-art/gallery/ This code works fine in all brwosers except IE8 (haven't
This code works (C# 3) double d; if(d == (double)(int)d) ...; Is there a

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.