[TYPO3] con

Nader Emami Salut emami at knmi.nl
Thu Apr 3 10:37:41 CEST 2008


Nader Emami wrote:
> Gianluca Nigro wrote:
>> 2008/4/2, Nader Emami <n.emami at gmail.com>:
>>> Hello,
>>>
>>> I have a simple question. For a page (content) I have an "applet" :
>>>
>>> <html>
>>> <body>
>>> <h2>This will be an applet! </h2>
>>> <APPLET CODE="fileadmin/scripts/Mandelbrot.class" WIDTH=200 HEIGHT=100>
>>> <PARAM NAME=TEXT VALUE="An Applet">
>>> <P>Hi There<P>
>>> </APPLET>
>>> </body>
>>> </html>
>>>
>>> If I view this page, I can see the text and and the box of the "applet",
>>> but not the "applet" self. I have chosen the "HTML" type for this
>>> content. Have I missed something? Maybe there is another alternative to
>>> take an "applet" in a HTML file.
>>>
>> Hi,
>>
>> you have to strip <html><body> and </body></html> because your code is
>> inserted in a html page generated by typo... please check also the path to
>> the applet in the code generated by typo... probbably you have to make some
>> change in CODE="..." to reflect the correct path to the applet.... it
>> depends on your template
>>
>> HTH
>>
>> Gianluca
> 
> I have stripped the tags : <html><body> and </body></html>.
> You are right, because I have considered that he can't find the "applet
> class", while the "applet class" is in the directory:
> "fileadmin/scripts/". I have tried once with the complete path, without
> result. Maybe I have copy the "applet class" in a special directory!
> 
> Cheers,
> Nader
I have solved this problem by using of "codebase" attribute of "applet" 
tag.

<APPLET CODE="Mandelbrot.class"
        CODEBASE="fileadmin/scripts" WIDTH=200 HEIGHT=100>
</APPLET>


More information about the TYPO3-english mailing list