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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:30:22+00:00 2026-05-22T14:30:22+00:00

I would love to hear your thoughts on this particular problem: I’m using LinkedIn’s

  • 0

I would love to hear your thoughts on this particular problem:

I’m using LinkedIn’s button functionality and it comes likes this:

<script src="http://platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/MemberProfile" data-id="http://www.linkedin.com/pub/profile" data-format="click" data-text="LinkedIn Profile"></script>

The only problem is that it renders very poorly in IE6, so all I want to do is to hide that button in IE6, I’ve thought about using the <!--[if gte IE 7]>Javascript code here<![endif]--> but that would also prevent it from loading in any other browser than IE, an other option would be to use the jquery: if($.browser.msie && $.browser.version=="6.0"){ } but how do I do that with SRC javascript files?

Any thoughts? Thanks!

  • 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-22T14:30:22+00:00Added an answer on May 22, 2026 at 2:30 pm

    You say you tried this:

    <!--[if gte IE 7]>Javascript code here<![endif]-->
    

    As you say, this will prevent non-IE browsers from seeing the script.

    But there is a way of specifying conditional comments that will be ignored by other browsers. All you need to do is drop the hyphens that make it a comment, like this:

    <![if gte IE 7]>Javascript code here<![endif]>
    

    This will now work in all browsers, except IE prior to IE7.

    See http://en.wikipedia.org/wiki/Conditional_comment for more.

    (by the way, off topic, and I’m sure you’ve heard this a million times already, but I would seriously recommend dropping support for IE6 — there’s virtually no-one still using it any more)

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

Sidebar

Related Questions

I am fairly new to php and would love to hear your thoughts on
There's this stupid little thing thats annoying me and i'd love to hear your
I'm tackling an interesting machine learning problem and would love to hear if anyone
I would love to get some tips from other people that have had this
Ok here's a little problem I would love to get some help on. I
I just started getting into BizTalk at work and would love to keep using
Summary: How would I go about solving this problem? Hi there, I'm working on
I would love to hear ideas on how to best move code from development
I have this UIPopOverScreen that shows when I press a NavigationBar Button. The problem
I would love to be able to have a common set of Classes in

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.