[Laszlo-user] application not displayed in DHTML
Benjamin Shine
ben at laszlosystems.com
Tue Aug 7 22:30:36 PDT 2007
Oh, sorry, I see:
The DHTML runtime doesn't support CSS in 4.0.3. That support is
planned for 4.1, and it's already working in legals nightly builds.
-ben
On Aug 7, 2007, at 9:54 PM, Julien Sobrier wrote:
> Hello,
> I have OL 4.0.3
>
> I've Firebug, but I've never used it. There is one JS error:
> LzCSSStyleRule is not defined
> (no name)()test.lzx (line 3467)
> [Break on this error] var $1=LzCSSStyleRule.make()
>
>
> I removed <stylesheet>, and it works now. But I don't understand
> why it
> is wrong.
>
>
> J Crowley wrote:
>> Hrmm, it's working in DHTML for me. Which version of OL are you
>> using?
>> (4.0.3? Nightly?) I'm running it on the most recent version of the
>> legals branch, and it's showing up and functioning as I assume is
>> expected.
>>
>> Also, I've found that Firefox's Firebug plugin is really useful for
>> debugging DHTML. It's usually able to give you more specific details
>> pertaining to why certain apps aren't loading.
>>
>> On Aug 7, 2007, at 11:48 PM, Julien Sobrier wrote:
>>
>>> Hello,
>>> I wrote an application in OpenLaszlo that displays fine in Flash,
>>> but
>>> does not compile in DHTML anymore. All i see is the splash screen
>>> "Powered by Laszlo".
>>>
>>> Here is how the source looks like:
>>> <canvas debug="false">
>>> <stylesheet>
>>> [name="justify"] {
>>> text-align:justify;
>>> }
>>> </stylesheet>
>>> <basetabs tabclass="tab" bgcolor="gray" width="800">
>>> <tabpane text="Home Page">
>>> <text>Choose your language: <font color="#0000FF"><u><a
>>> href="javascript:alert('French')">francais</a></u></font>/<font
>>> color="#0000FF"><u><a
>>> href="javascript:alert('English')">English</a></u></font></text>
>>> </tabpane>
>>> <tabpane text="Pictures">
>>> <tabslider width="200" x="0" y="10"
>>> height="600"
>>> spacing="2" slideduration="300">
>>> <tabelement text="California, 2007">
>>> <text multiline="true" width="190"
>>> name="justify">
>>> 1. <font color="#0000FF"><u><a
>>> href="test.html">Anais</a></u></font> (14 photos, 18/02/2007)<br />
>>> 2. <a href="test.html">Anais, mars
>>> 2007</a> (9 photos,
>>> 14/04/2007)<br />
>>> 3. Anais, avril 2007 (4 photos,
>>> 14/04/2007)<br />
>>>
>>> </text>
>>> </tabelement>
>>> <tabelement text="California, 2006"/>
>>> <tabelement text="California, 2005"/>
>>> </tabslider>
>>> <text name="group" x="220" y="20">Anais, mars 2007</
>>> text>
>>> <text name="group_description" x="220" y="50">Anais is 8
>>> month old in
>>> january 2007.</text>
>>> </tabpane>
>>> <tabpane text="Blog">
>>> <text>Blog</text>
>>> </tabpane>
>>> <tabpane text="Resume">
>>> <text>Resume</text>
>>> </tabpane>
>>> </basetabs>
>>> </canvas>
>>>
>>> Thank you
>>> Julien
>>>
>>
>>
>
More information about the Laszlo-user
mailing list