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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:42:51+00:00 2026-06-17T21:42:51+00:00

http://jsfiddle.net/WH8tW/6/ I am having some issues with trying to get vanilla masonry to work

  • 0

http://jsfiddle.net/WH8tW/6/

I am having some issues with trying to get vanilla masonry to work with internet explorer (tested on ie 9)

the JavaScript i am using is

var container = document.getElementById('container');

var wall = new Masonry(container, {
    isFitWidth: true
});
container.style.display = "block";
wall.reload();

when testing in Chrome and Firefox it works amazing however in internet explorer the container’s style doesn’t even change (default display:none;), what is the cause of the issue and how can it be fixed

reference to: http://vanilla-masonry.desandro.com/index.html

  • 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-17T21:42:53+00:00Added an answer on June 17, 2026 at 9:42 pm

    Internet Explorer does not allow the embedding of external javascript files when served with the wrong mime type, and github served the script as a html file..

    SEC7112: Script from https://raw.github.com/desandro/vanilla-masonry/master/masonry.min.js was blocked due to mime type mismatch 
    

    Instead you’ll have to embed the external script into your fiddle to make it work in internet explorer, or if you’re running your page on your own server you also have the choice of placing the script on your site and pointing it there:

    http://jsfiddle.net/WH8tW/7/

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

Sidebar

Related Questions

http://jsfiddle.net/nWqYL/2/embedded/result/ I've been working on fixing some issues with this prototype site. Myself and
http://jsfiddle.net/TN6wW/3/ Trying to get the Click button to set the margins of the mainImage
http://jsfiddle.net/F7BTx/ I'm trying to align just some text within a table header cell to
http://jsfiddle.net/WTELW/4/ The following works fine on JSFiddle, but doesn't seem to work right in
http://jsfiddle.net/ww7dN/ I'm trying to design a page that is split in 2 colors all
http://jsfiddle.net/motocomdigital/c8Mey/1/ I'm using a twitter script which i'm binding a function to get the
http://jsfiddle.net/YdPPq/3/ I'm working locally, but I feel this should still work. How do I
http://jsfiddle.net/jasondavis/Mt87G/1/ I am trying to do an un-ordered list, each list item will have
http://jsfiddle.net/ZDydm/ Here is what I'm trying to do.. div { border: 1px solid black;
http://jsfiddle.net/MhhcS/1/ I am trying to modify an Instagram search JS to count and display

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.