Javascript conflicts with ActiveX Flash javascript

Posted on 2011-02-23
Last Modified: 2012-08-13
Please take a look at this web page. I can't get my two js scripts to work with each other. When I activate styleswitch.js, the flash movie gets disabled. I've used this style switching code before but it's been a while and I can't figure out how to resolve the conflict.

Question by:gabrielPennyback
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 42

Accepted Solution

David S. earned 500 total points
ID: 34966793
Did you remove the </script> end tag when you commented out the <script src="js/styleswitch.js" type="text/javascript"> start tag or was it already missing?

Author Comment

ID: 34966955
Wow, that was it, thanks Kravimir!

Author Closing Comment

ID: 34967010
I could have pulled out a lot of hair on this one. Thanks for spotting it :-)

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question