Hi Y'all

I have put a flash movie in my banner box in a site I created in Dreamweaver using html. When the site comes up in the browser, if blocking is on, only an empty space where banner should be. I'd rather have the static banner image there in that instance rather than nothing at all, incase the users dont want to disable their block.

Any pointers please?

Best regards

Catherine

Dani AI

Generated

reported that the Flash banner and the JavaScript menu do not appear while Internet Explorer’s pop‑up blocker is enabled. asked about the blocker and platform, suggested alternate content, and correctly flagged that something on the page that opens a new window (or otherwise triggers the blocker) can stop other scripts from running. Below are concise, practical steps to get a static image to appear whenever Flash or your scripts are blocked, plus a short troubleshooting checklist.

A reliable, user-friendly pattern is progressive enhancement: render a static image in the page by default and replace it with Flash only when the browser actually supports it. Using a simple placeholder plus a detection/embed call (SWFObject or equivalent) keeps the fallback visible when plugins or scripts are blocked:

<div id="banner">
  <div id="flashContent">
    <img src="banner.jpg" alt="Site banner" width="600" height="95">
  </div>
</div>

<script type="text/javascript">
  // requires swfobject.js; only runs when JS + Flash are available
  swfobject.embedSWF("banner.swf", "flashContent", "600", "95", "9.0.0");
</script>

Troubleshooting checklist:

  • Reproduce the issue with IE’s pop‑up blocker on, then check the developer console for JavaScript errors.
  • Temporarily remove or move external scripts (for example your menu JS) to see if they’re the trigger; a blocked window.open call or a script error can stop other scripts from executing.
  • Ensure external .js URLs are valid and hosted reliably (avoid malformed src attributes or cross‑domain issues).
  • Prefer progressive enhancement: static HTML first, then replace with Flash via a small, well‑scoped script so a blocked script doesn’t leave empty space.

Note: Flash is deprecated and unsupported in modern browsers; for long‑term stability migrate banners/menus to HTML5/CSS/Canvas so no plugin is required.

Recommended Answers

All 9 Replies

Member Avatar for Member #114696

uh, you mean that when blocker(pop up blocker?) is on no flash movie could be seen? What's the code you are using or the file.

uh, you mean that when blocker(pop up blocker?) is on no flash movie could be seen? What's the code you are using or the file.

Hi Vishesh

Yes I have 2 very small flash movies, one in the banner and one in a picture box which don't show until I click the pop up blocker off. Also I have a javascript drop down menu which also doesn't show unless I click of the pop up blocker.
Code for the banner movie is: [<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="95">
<param name="movie" value="banner animation.swf">
<param name="quality" value="high"><param name="LOOP" value="false">
<embed src="banner animation.swf" width="600" height="95" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>]

Code for the javascript menu is: [ <tr>
<td><script type="text/javascript" src=""></script></td>
</tr>]
Best regards

Catherine

Member Avatar for Member #114696

uh, also tell me which pop up blocker do you use and under which browser or platform its going on. I will see the code soon, i mean right now.

The pop up blocker is on my Internet Explorer browser.

Member Avatar for Member #114696

His problem is that the flash object is not shown when pop up blocker is on, however alternate content will surely be useful for such cases. i couldn't see anthing wrong with his code....rest of that depends upon the the other thing in page and .js file.

Thank you Vishesh & Rahul. The article, Rahul, looks really interesting, I will need to re-read it & see if I can implement what is suggested.

Best regards - Catherine

The problem is not flash, but opening a new window to put it in.

hi , do u want to display some image if the flash movie is blocked..

Are u saying Sth Like "Alternate" whish we use in HTML and all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.