Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML 1.0 Strict Java Applet

Status
Not open for further replies.

ProfReynolds

Programmer
Sep 12, 2001
96
US
Okay,

I want to use a JAVA applet, and have XHTML 1.0 Strict compliance.

The page can be seen here:

I have the original code, here:
Code:
<APPLET ARCHIVE="VerticalTicker.jar" codebase="[URL unfurl="true"]http://vle1.capella.edu/1126823/Templates/Java/"[/URL] code="com.imagine.component.verticalticker.VerticalTickerApplet.class" alt="Java Applet!"
align="absbottom" width="100%" height="177">
<PARAM name="showScrollbar" value="false" />
<PARAM name="numberOfLines" value="10" />
<PARAM name="backgroundEven" value="f0f0f0" />
<PARAM name="backgroundOdd" value="fafafa" />
<PARAM name="displayGrid" value="true" />
<PARAM name="gridColor" value="fafafa" />
<PARAM name="displayBorder" value="true" />
<PARAM name="borderColor" value="0xeaeaea" />
<PARAM name="font" value="Arial,PLAIN,10" />
<PARAM name="fontColor" value="1b3652" />
<PARAM name="fontColorOnMouseOver" value="0000ff" />
<PARAM name="tickSleep" value="2000" />
<PARAM name="initialTickSleep" value="6000" />
<PARAM name="cacheInitialLines" value="true" />
<PARAM name="reloadInterval" value="100000" />
<PARAM name="leftPadding" value="5" />
<PARAM name="feed" value="[URL unfurl="true"]http://vle1.capella.edu/1126823/Templates/Java/news-rss.php"[/URL] />
</APPLET>

And the adjustments I have made, here
Code:
<!--[if !IE]>-->
<object classid="java:com.imagine.component.verticalticker.VerticalTickerApplet.class" 
   type="application/x-java-applet"
   height="180" width="100%" >
<param name="codebase" value="/1126823/Templates/Java" />
<param name="showScrollbar" value="false" />
<param name="numberOfLines" value="10" />
<param name="backgroundEven" value="f0f0f0" />
<param name="backgroundOdd" value="fafafa" />
<param name="displayGrid" value="true" />
<param name="gridColor" value="fafafa" />
<param name="displayBorder" value="true" />
<param name="borderColor" value="0xeaeaea" />
<param name="font" value="Arial,PLAIN,10" />
<param name="fontColor" value="1b3652" />
<param name="fontColorOnMouseOver" value="0000ff" />
<param name="tickSleep" value="2000" />
<param name="initialTickSleep" value="6000" />
<param name="cacheInitialLines" value="true" />
<param name="reloadInterval" value="100000" />
<param name="leftPadding" value="5" />
<param name="feed" value="[URL unfurl="true"]http://vle2.capella.edu/1126823/Templates/Java/news-rss.php"[/URL] />
<!-- Konqueror browser needs the following param -->
<param name="archive" value="VerticalTicker.jar" />
<!--<![endif]-->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" 
height="180" width="100%" > 
<param name="codebase" value="/1126823/Templates/Java" />
<param name="code" value="com.imagine.component.verticalticker.VerticalTickerApplet" />
<param name="archive" value="VerticalTicker.jar" />
<param name="showScrollbar" value="false" />
<param name="numberOfLines" value="10" />
<param name="backgroundEven" value="f0f0f0" />
<param name="backgroundOdd" value="fafafa" />
<param name="displayGrid" value="true" />
<param name="gridColor" value="fafafa" />
<param name="displayBorder" value="true" />
<param name="borderColor" value="0xeaeaea" />
<param name="font" value="Arial,PLAIN,10" />
<param name="fontColor" value="1b3652" />
<param name="fontColorOnMouseOver" value="0000ff" />
<param name="tickSleep" value="2000" />
<param name="initialTickSleep" value="6000" />
<param name="cacheInitialLines" value="true" />
<param name="reloadInterval" value="100000" />
<param name="leftPadding" value="5" />
<param name="feed" value="[URL unfurl="true"]http://vle2.capella.edu/1126823/Templates/Java/news-rss.php"[/URL] />
</object> 
<!--[if !IE]>-->
</object>
<!--<![endif]-->

It displays perfectly in IE 7, but does not display in FF.

Any suggestions?
 
Appears that the conditional comments you have in your code, which only IE can understand, could possibly be blocking the code from Firefox.

Try removing all the conditional comments and see if the applet loads in FF / IE.

Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top