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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:13:35+00:00 2026-05-13T13:13:35+00:00

I am almost finished a contract right now, and it appears at the last

  • 0

I am almost finished a contract right now, and it appears at the last minute that most of my javascript/jQuery isnt working in Safari on either PC or Mac.

The whole site is designed with progressive enhancement and unobtrusive javascript to turn ?p= links into # hash links, fade pages in and out, and have smooth rollovers – all of which have stopped working for ONLY Safari.

I have read that Safari may be unable to handle large .js files, but my jquery page is under 10k, and I am using a compressed jquery library at about 55k.

Here is what I have now, works in the latest versions of IE, FF, and Chrome – test.cultureconquest.com

  • 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-13T13:13:36+00:00Added an answer on May 13, 2026 at 1:13 pm

    Many errors are exposed when I run a jslint of the main body of your code. Lots of little things, like missing semicolons. Other things, like naming a variable “class”, which is a reserved word in JavaScript could be a problem.

    You have some logic that can be handled better using real jQuery idioms. For example you do:

    var class = $(this).attr("class");
    class = class.substr(5);
    
    var ext
    if ( class == "ccm" ) {
        ext = "cultureconquest.com";
    }
    if ( class == "gmail" ) {
        ext = "gmail.com";
    }
    

    jQuery has a method to test whether an element contains a class, hasClass()

    var ext;
    if ($(this).hasClass("ccm")) {
        ext = "cultureconquest.com";
    }
    if ($(this).hasClass("gmail")) {
        ext = "gmail.com";
    }
    

    I also notice you’re using livequery() extension to jQuery. An equivalent method, live() was added in jQuery 1.3. See live() for details.

    Those are a few things to look at. If you can get your code to pass a jslint test, I bet you’ll be a lot of the way there to getting it working in Safari.

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

Sidebar

Related Questions

Almost finished my java web app. All working fine. Whats next. I need now
Now that my project is almost finished I am trying to implement the login
My project that I am working on is almost finished. I am loading a
I'm almost finished working on a useful (at least, in my opinion) JavaScript plugin.
I'm almost finished with my program, but there's one last bug that I'm having
I'm almost finished with my program, but I have one problem that I can't
i am working on a recipe site (which is almost finished except this problem)
Almost all of the examples in the jQuery tutorials that I've read, usually use
I am almost finished with my game now, but today I encountered a real
My code was almost finished that a maddening bug came up! When I nullify

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.