Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Reverting to image if flash not installed

Featured Replies

Hi,

 

I'm building a website for a school and they like the example of a flash banner I showed them but they were concerned about what would happen if the use doesn't have flash installed.

 

I told them I belive it's possible to revert to a standard jpg in the place of the flash movie if this happens. I've seen the 'you need to install flash player' message before but surely it's possible to display an image instead.

 

I've done a bit of googling and swfobject has come up a few times. I've tried searching this forum but I keep it wont let me search. I've tried numerous combinations including dropping all the keywords and it still wont let me search!

 

If anyone can educate me on how this is done, I'd be very grateful.

 

Thanks

Or do this...

 

<object type="application/x-shockwave-flash" data="flashfile.swf" width="500" height="200">
<param name="movie" value="images/banner.swf" />
<img src="banner.gif" width="500" height="200" alt="banner" />
</object>

 

That's valid xhtml too :).

 

set the div with the background image of the fallback banner

 

That's a great thing to do with image galleries, so when an image breaks, or fails to load, you have a fallback.

 

Flash embeds aren't always encased in a div, so use the object tag to select the flash element

 

object{//stuff here}

 

or be more specific if needs to be

 

div#header object{//stuff here}

 

and so on...

  • 2 weeks later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.