1 (edited by Connorhd 2004-12-03 18:13)

Topic: <object> tag for java applet

ok i need some help i'm trying to make my chat mod for punbb 1.2 xhtml compliant and i'm having fun with the object tag... it now works for me bu not for other people with Firefox, is there a better way to do this

    <object name="pjirc" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0" height="400" width="100%"> 
        <param name="codebase" value="chat/" />  
        <param name="code" value="IRCApplet.class" />
        <param name="archive" value="irc.jar, pixx.jar" />
        <param name="CABINETS" value="irc.cab, securedirc.cab, pixx.cab" />
        
        <param name="authorizedleavelist" value="all" />
        <param name="nick" value="Connorhd" />
        <param name="alternatenick" value="Connorhd??" />

        <param name="host" value="chaos.mirc-chat.net" />
        <param name="name" value="Punbb Chatter" />
        <param name="userid" value="Connorhd" />
        <param name="command1" value="/join #testing" />
        <param name="command2" value="" />
        <param name="command3" value="" />
        <param name="quitmessage" value="Punbb forever!" />
        <param name="soundword1" value="Java snd/ding.au" />
        <param name="language" value="lng/english" />

        <param name="lngextension" value="php" />
        <param name="soundbeep" value="snd/bell2.au" />
        <param name="soundquery" value="snd/ding.au" />
        <param name="highlight" value="true" />
        
        <param name="gui" value="pixx" />
        <param name="style:sourcefontrule1" value="Status+Channel+Query all SansSerif 14" />
        <param name="style:bitmapsmileys" value="true" />
        <param name="style:smiley1" value=":) ../img/smilies/smile.png" />
        <param name="style:smiley2" value=":-) ../img/smilies/smile.png" />

        <param name="style:smiley3" value=":D ../img/smilies/big_smile.png" />
        <param name="style:smiley4" value=":-D ../img/smilies/big_smile.png" />
        <param name="style:smiley5" value=":-O ../img/smilies/yikes.png" />
        <param name="style:smiley6" value=":o ../img/smilies/yikes.png" />
        <param name="style:smiley7" value=":O ../img/smilies/yikes.png" />
        <param name="style:smiley8" value=":p ../img/smilies/tongue.png" />
        <param name="style:smiley9" value=":P ../img/smilies/tongue.png" />
        <param name="style:smiley10" value=":-P ../img/smilies/tongue.png" />
        <param name="style:smiley11" value=";) ../img/smilies/wink.png" />

        <param name="style:smiley12" value=";-) ../img/smilies/wink.png" />
        <param name="style:smiley13" value=":( ../img/smilies/sad.png" />
        <param name="style:smiley14" value=":| ../img/smilies/neutral.png" />
        <param name="style:smiley15" value=":-| ../img/smilies/neutral.png" />
        <param name="style:smiley16" value=":'( ../img/smilies/sad.png" />
        <param name="style:smiley17" value=":\ ../img/smilies/hmm.png" />
        <param name="style:smiley18" value=":-\ ../img/smilies/hmm.png" />
        <param name="style:smiley19" value="(H) ../img/smilies/cool.png" />
        <param name="style:smiley20" value="(h) ../img/smilies/cool.png" />

        <param name="style:smiley21" value="8) ../img/smilies/cool.png" />
        <param name="style:smiley22" value=":lol: ../img/smilies/lol.png" />
        <param name="style:smiley23" value=":-@ ../img/smilies/mad.png" />
        <param name="style:smiley24" value=":@ ../img/smilies/mad.png" />
        <param name="style:smiley25" value=":s ../img/smilies/roll.png" />
        <param name="style:smiley26" value=":-S ../img/smilies/roll.png" />
        <param name="style:smiley27" value=":mad: ../img/smilies/mad.png" />
        <param name="style:smiley28" value=":rolleyes: ../img/smilies/roll.png" />
        <param name="style:smiley29" value=":cool: ../img/smilies/cool.png" />

        <param name="style:smiley30" value="=) ../img/smilies/smile.png" />
        <param name="style:smiley31" value="=D ../img/smilies/big_smile.png" />
        <param name="style:smiley32" value="=| ../img/smilies/neutral.png" />
        <param name="style:smiley33" value=":=( ../img/smilies/sad.png" />
        <param name="pixx:language" value="lng/pixx-english" />
        <param name="pixx:highlightnick" value="true" />
        <param name="pixx:styleselector" value="true" />
        <param name="pixx:setfontonstyle" value="false" />
        <param name="pixx:timestamp" value="true" />

        <param name="pixx:mouseurlopen" value="1 2" />
        <param name="pixx:mousechanneljoin" value="1 2" />
        <param name="pixx:configurepopup" value="true" />
        <param name="pixx:popupmenustring1" value="Whois" />
        <param name="pixx:popupmenustring2" value="Query" />
        <param name="pixx:popupmenustring3" value="Ban" />
        <param name="pixx:popupmenustring4" value="Kick + Ban" />
        <param name="pixx:popupmenustring5" value="--" />
        <param name="pixx:popupmenustring6" value="Op" />

        <param name="pixx:popupmenustring7" value="DeOp" />
        <param name="pixx:popupmenustring8" value="HalfOp" />
        <param name="pixx:popupmenustring9" value="DeHalfOp" />
        <param name="pixx:popupmenustring10" value="Voice" />
        <param name="pixx:popupmenustring11" value="DeVoice" />
        <param name="pixx:popupmenustring12" value="--" />
        <param name="pixx:popupmenustring13" value="Ping" />
        <param name="pixx:popupmenustring14" value="Version" />
        <param name="pixx:popupmenustring15" value="Time" />

        <param name="pixx:popupmenustring16" value="Finger" />
        <param name="pixx:popupmenustring17" value="--" />
        <param name="pixx:popupmenustring18" value="DCC Send" />
        <param name="pixx:popupmenustring19" value="DCC Chat" />
        <param name="pixx:popupmenucommand1_1" value="/Whois %1" />
        <param name="pixx:popupmenucommand2_1" value="/Query %1" />
        <param name="pixx:popupmenucommand3_1" value="/mode %2 -o %1" />
        <param name="pixx:popupmenucommand3_2" value="/mode %2 +b %1" />
        <param name="pixx:popupmenucommand4_1" value="/mode %2 -o %1" />

        <param name="pixx:popupmenucommand4_2" value="/mode %2 +b %1" />
        <param name="pixx:popupmenucommand4_3" value="/kick %2 %1" />
        <param name="pixx:popupmenucommand6_1" value="/mode %2 +o %1" />
        <param name="pixx:popupmenucommand7_1" value="/mode %2 -o %1" />
        <param name="pixx:popupmenucommand8_1" value="/mode %2 +h %1" />
        <param name="pixx:popupmenucommand9_1" value="/mode %2 -h %1" />
        <param name="pixx:popupmenucommand10_1" value="/mode %2 +v %1" />
        <param name="pixx:popupmenucommand11_1" value="/mode %2 -v %1" />
        <param name="pixx:popupmenucommand13_1" value="/CTCP PING %1" />

        <param name="pixx:popupmenucommand14_1" value="/CTCP VERSION %1" />
        <param name="pixx:popupmenucommand15_1" value="/CTCP TIME %1" />
        <param name="pixx:popupmenucommand16_1" value="/CTCP FINGER %1" />
        <param name="pixx:popupmenucommand18_1" value="/DCC SEND %1" />
        <param name="pixx:popupmenucommand19_1" value="/DCC CHAT %1" />
        <param name="pixx:color0" value="EEEEEE" /> <!-- Button Highlight / Popup & Close Button Text & Higlight / Scrollbar Highlight -->
        <param name="pixx:color1" value="EEEEEE" /> <!-- Button Border & Text : ScrollBar Border & arrow : Popup & Close button Border : User List border & Text & icons -->
        <param name="pixx:color2" value="DEE3E7" /> <!-- Popup & Close button shadow -->

        <param name="pixx:color3" value="EEEEEE" /> <!-- Scrollbar shadow -->
        <param name="pixx:color4" value="EEEEEE" /> <!-- Scrollbar de-light (3D Dim colour) -->
        <param name="pixx:color5" value="0066b9" /> <!-- foreground : Buttons Face : Scrollbar Face -->
        <param name="pixx:color6" value="EEEEEE" /> <!-- background : Header : Scrollbar Track : Footer background -->
        <param name="pixx:color7" value="005392" /> <!-- selection : Status & Window button active colour -->
        <param name="pixx:color8" value="0379D3" /> <!-- event Color  -->

        <param name="pixx:color9" value="0066b9" /> <!-- close button -->
        <param name="pixx:color10" value="0066b9" /> <!-- voice icon  -->
        <param name="pixx:color11" value="0066b9" /> <!-- operator icon  -->
        <param name="pixx:color12" value="0066b9" /> <!-- halfoperator icon -->
        <param name="pixx:color13" value="0066b9" /> <!-- male ASL -->
        <param name="pixx:color14" value="0066b9" /> <!-- female ASL -->

        <param name="pixx:color15" value="0066b9" /> <!-- unknown ASL -->
        <param name="pixx:showabout" value="false" />
        <param name="pixx:showhelp" value="false" />
        <param name="pixx:nickfield" value="false" />
        <param name="pixx:showdock" value="false" />
        <!--[if !IE]>  -->
        <object name="pjircb" codebase="chat/" classid="java:IRCApplet.class" archive="irc.jar, pixx.jar" height="400" width="100%">
            <param name="CABINETS" value="irc.cab, securedirc.cab, pixx.cab" />

            <param name="authorizedleavelist" value="all" />
            <param name="nick" value="Connorhd" />
            <param name="alternatenick" value="Connorhd??" />
            <param name="host" value="chaos.mirc-chat.net" />
            <param name="name" value="Punbb Chatter" />
            <param name="userid" value="Connorhd" />
            <param name="command1" value="/join #testing" />
            <param name="command2" value="" />
            <param name="command3" value="" />

            <param name="quitmessage" value="Punbb forever!" />
            <param name="soundword1" value="Java snd/ding.au" />
            <param name="language" value="lng/english" />
            <param name="lngextension" value="php" />
            <param name="soundbeep" value="snd/bell2.au" />
            <param name="soundquery" value="snd/ding.au" />
            <param name="highlight" value="true" />
        
            <param name="gui" value="pixx" />
            <param name="style:sourcefontrule1" value="Status+Channel+Query all SansSerif 14" />

            <param name="style:bitmapsmileys" value="true" />
            <param name="style:smiley1" value=":) ../img/smilies/smile.png" />
            <param name="style:smiley2" value=":-) ../img/smilies/smile.png" />
            <param name="style:smiley3" value=":D ../img/smilies/big_smile.png" />
            <param name="style:smiley4" value=":-D ../img/smilies/big_smile.png" />
            <param name="style:smiley5" value=":-O ../img/smilies/yikes.png" />
            <param name="style:smiley6" value=":o ../img/smilies/yikes.png" />
            <param name="style:smiley7" value=":O ../img/smilies/yikes.png" />
            <param name="style:smiley8" value=":p ../img/smilies/tongue.png" />

            <param name="style:smiley9" value=":P ../img/smilies/tongue.png" />
            <param name="style:smiley10" value=":-P ../img/smilies/tongue.png" />
            <param name="style:smiley11" value=";) ../img/smilies/wink.png" />
            <param name="style:smiley12" value=";-) ../img/smilies/wink.png" />
            <param name="style:smiley13" value=":( ../img/smilies/sad.png" />
            <param name="style:smiley14" value=":| ../img/smilies/neutral.png" />
            <param name="style:smiley15" value=":-| ../img/smilies/neutral.png" />
            <param name="style:smiley16" value=":'( ../img/smilies/sad.png" />
            <param name="style:smiley17" value=":\ ../img/smilies/hmm.png" />

            <param name="style:smiley18" value=":-\ ../img/smilies/hmm.png" />
            <param name="style:smiley19" value="(H) ../img/smilies/cool.png" />
            <param name="style:smiley20" value="(h) ../img/smilies/cool.png" />
            <param name="style:smiley21" value="8) ../img/smilies/cool.png" />
            <param name="style:smiley22" value=":lol: ../img/smilies/lol.png" />
            <param name="style:smiley23" value=":-@ ../img/smilies/mad.png" />
            <param name="style:smiley24" value=":@ ../img/smilies/mad.png" />
            <param name="style:smiley25" value=":s ../img/smilies/roll.png" />
            <param name="style:smiley26" value=":-S ../img/smilies/roll.png" />

            <param name="style:smiley27" value=":mad: ../img/smilies/mad.png" />
            <param name="style:smiley28" value=":rolleyes: ../img/smilies/roll.png" />
            <param name="style:smiley29" value=":cool: ../img/smilies/cool.png" />
            <param name="style:smiley30" value="=) ../img/smilies/smile.png" />
            <param name="style:smiley31" value="=D ../img/smilies/big_smile.png" />
            <param name="style:smiley32" value="=| ../img/smilies/neutral.png" />
            <param name="style:smiley33" value=":=( ../img/smilies/sad.png" />
            <param name="pixx:language" value="lng/pixx-english" />
            <param name="pixx:highlightnick" value="true" />

            <param name="pixx:styleselector" value="true" />
            <param name="pixx:setfontonstyle" value="false" />
            <param name="pixx:timestamp" value="true" />
            <param name="pixx:mouseurlopen" value="1 2" />
            <param name="pixx:mousechanneljoin" value="1 2" />
            <param name="pixx:configurepopup" value="true" />
            <param name="pixx:popupmenustring1" value="Whois" />
            <param name="pixx:popupmenustring2" value="Query" />
            <param name="pixx:popupmenustring3" value="Ban" />

            <param name="pixx:popupmenustring4" value="Kick + Ban" />
            <param name="pixx:popupmenustring5" value="--" />
            <param name="pixx:popupmenustring6" value="Op" />
            <param name="pixx:popupmenustring7" value="DeOp" />
            <param name="pixx:popupmenustring8" value="HalfOp" />
            <param name="pixx:popupmenustring9" value="DeHalfOp" />
            <param name="pixx:popupmenustring10" value="Voice" />
            <param name="pixx:popupmenustring11" value="DeVoice" />
            <param name="pixx:popupmenustring12" value="--" />

            <param name="pixx:popupmenustring13" value="Ping" />
            <param name="pixx:popupmenustring14" value="Version" />
            <param name="pixx:popupmenustring15" value="Time" />
            <param name="pixx:popupmenustring16" value="Finger" />
            <param name="pixx:popupmenustring17" value="--" />
            <param name="pixx:popupmenustring18" value="DCC Send" />
            <param name="pixx:popupmenustring19" value="DCC Chat" />
            <param name="pixx:popupmenucommand1_1" value="/Whois %1" />
            <param name="pixx:popupmenucommand2_1" value="/Query %1" />

            <param name="pixx:popupmenucommand3_1" value="/mode %2 -o %1" />
            <param name="pixx:popupmenucommand3_2" value="/mode %2 +b %1" />
            <param name="pixx:popupmenucommand4_1" value="/mode %2 -o %1" />
            <param name="pixx:popupmenucommand4_2" value="/mode %2 +b %1" />
            <param name="pixx:popupmenucommand4_3" value="/kick %2 %1" />
            <param name="pixx:popupmenucommand6_1" value="/mode %2 +o %1" />
            <param name="pixx:popupmenucommand7_1" value="/mode %2 -o %1" />
            <param name="pixx:popupmenucommand8_1" value="/mode %2 +h %1" />
            <param name="pixx:popupmenucommand9_1" value="/mode %2 -h %1" />

            <param name="pixx:popupmenucommand10_1" value="/mode %2 +v %1" />
            <param name="pixx:popupmenucommand11_1" value="/mode %2 -v %1" />
            <param name="pixx:popupmenucommand13_1" value="/CTCP PING %1" />
            <param name="pixx:popupmenucommand14_1" value="/CTCP VERSION %1" />
            <param name="pixx:popupmenucommand15_1" value="/CTCP TIME %1" />
            <param name="pixx:popupmenucommand16_1" value="/CTCP FINGER %1" />
            <param name="pixx:popupmenucommand18_1" value="/DCC SEND %1" />
            <param name="pixx:popupmenucommand19_1" value="/DCC CHAT %1" />
            <param name="pixx:color0" value="EEEEEE" /> <!-- Button Highlight / Popup & Close Button Text & Higlight / Scrollbar Highlight -->

            <param name="pixx:color1" value="EEEEEE" /> <!-- Button Border & Text : ScrollBar Border & arrow : Popup & Close button Border : User List border & Text & icons -->
            <param name="pixx:color2" value="DEE3E7" /> <!-- Popup & Close button shadow -->
            <param name="pixx:color3" value="EEEEEE" /> <!-- Scrollbar shadow -->
            <param name="pixx:color4" value="EEEEEE" /> <!-- Scrollbar de-light (3D Dim colour) -->
            <param name="pixx:color5" value="0066b9" /> <!-- foreground : Buttons Face : Scrollbar Face -->
            <param name="pixx:color6" value="EEEEEE" /> <!-- background : Header : Scrollbar Track : Footer background -->

            <param name="pixx:color7" value="005392" /> <!-- selection : Status & Window button active colour -->
            <param name="pixx:color8" value="0379D3" /> <!-- event Color  -->
            <param name="pixx:color9" value="0066b9" /> <!-- close button -->
            <param name="pixx:color10" value="0066b9" /> <!-- voice icon  -->
            <param name="pixx:color11" value="0066b9" /> <!-- operator icon  -->
            <param name="pixx:color12" value="0066b9" /> <!-- halfoperator icon -->

            <param name="pixx:color13" value="0066b9" /> <!-- male ASL -->
            <param name="pixx:color14" value="0066b9" /> <!-- female ASL -->
            <param name="pixx:color15" value="0066b9" /> <!-- unknown ASL -->
            <param name="pixx:showabout" value="false" />
            <param name="pixx:showhelp" value="false" />
            <param name="pixx:nickfield" value="false" />
            <param name="pixx:showdock" value="false" />    
            <strong>

              This browser does not have a Java Plug-in.
              <br />
              <a href="http://java.sun.com/products/plugin/downloads/index.html">
                Get the latest Java Plug-in here.
              </a>
            </strong>            
        </object> 
    <!-- <![endif]-->
    </object>

you can see it here http://www.albinoblacksheep.com/flash/woknwoll.php