Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  Panoweaver
 
Subject Topic: Alternative image if ptviewer fails Post Reply Post New Topic
Message posted by webquest on November-12-2005 at 8:01pm
View webquest's Profile Profile   Search for other posts by webquest Search   Quote webquest Quote   Send Private Message Send Msg  
webquest
Standard Member
Standard Member
United States
May-31-2005
22 Posts

Hi,

I'm betting that this question has been answered before, but I can't find the answer anywhere.

Does anyone know of a script or other work around that allows an alternative still image to appear if the user isn't able to load ptviewer (because they don't have java or for another reason)? 

Thanks!


Message posted by johnfl68 on November-13-2005 at 2:52am
View johnfl68's Profile Profile   Search for other posts by johnfl68 Search   Visit johnfl68's Homepage www   Quote johnfl68 Quote   Send Private Message Send Msg  
johnfl68
Avatar
Standard Member
Standard Member
United States
May-27-2005
70 Posts
The ALT attribute can be used to give alternate text for browsers that recognize the APPLET element but do not support Java or do not have Java enabled. Authors can also give alternate content between the start and end tags of the APPLET element--a better method than using the ALT attribute since it allows authors to include HTML markup in the alternate content and also works with pre-HTML 3.2 browsers that do not support APPLET.

An APPLET may contain PARAM elements to define applet-specific parameters. PARAM elements should be specified before any other content of the APPLET element. In the following example, a decorative Java applet takes two parameters. The APPLET contains an animated GIF as an alternative for non-Java browsers.

<APPLET CODE="Animate.class" WIDTH=100 HEIGHT=100>
<PARAM NAME=img1 VALUE="/images/1.jpg">
<PARAM NAME=img2 VALUE="/images/2.jpg">
<IMG SRC="animation.gif" ALT="" WIDTH=100 HEIGHT=100>
</APPLET>

Some Web page software (GoLive CS2 for instance) also offers "Show Alternative HTML" in which you can add HTML text and images to the Applet window to be shown if Java is turned off or not loaded.

Hope this helps!

John

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums