[Laszlo-user] DHTML

santiago.aranda@telvent.abengoa.com santiago.aranda at telvent.abengoa.com
Thu Dec 13 07:06:07 PST 2007


My LPS is 4.0.7. I think it's the most new. 

There are two errors with the same message "Lz is not defined"

         Lz.dhtmlEmbedLFC('lps/includes/lfc/LFCdhtml.js');
         Lz.dhtmlEmbed({url: 'copy-of-hello.lzx.js', bgcolor: '#eaeaea', 
width: '200', height: '200', id: 'lzapp'});

I have copied and pasted the wrapper in a new file and it doesn't work.

But if I use "Click here to download zip-archived file 
solo_deploy_jue_dic_13_2007_15_58_08.zip." it is generated all necessary 
content. For example a directory is called lps . I guess this is 
absolutely necessary.

Other question. Is it  generated DHTML  reliable?  I have proved to 
compile a normal videoview (OpenLaszlo) and it doesn't work. But for 
example, it works with a simple tag like "text"
 


"Henry Minsky" <henry.minsky at gmail.com>
"Henry Minsky"
12/12/2007 18:18

Para:
santiago.aranda at telvent.abengoa.com
cc:
Laszlo-user at openlaszlo.org
Asunto:
Re: [Laszlo-user] DHTML



What version of the LPS are you using?

The SOLO dhtml wrapper should work. If not, we need to figure out
where the error is.

If you are using Firefox, please install Firebug, and send a copy of
whatever errors are printed in the debug console.



On Dec 12, 2007 11:14 AM,  <santiago.aranda at telvent.abengoa.com> wrote:
>
> I have got a very simple sample. It is developed using Openlaszlo. If I 
use
> button"SOLO" with swf7 or swf8 checked,  two files will be generated 
i.e.
> sample.lzx.lzr=swf7.swf and  sample.lzx.lzr=swf8.swf. It is Ok.
>
> But if I use button"SOLO" with DHTML checked, a js file is generated. 
How
> can I encapsulate this js file in a html file?. I need to show the final
> result in a normal browser i.e Explorer or mozilla.
>
> A wrapper html is given automatically but it doesn't work. Browser shows
> fails like "Lz is not defined". So I need a good html to encapsulate my 
js
> file. Can you give me a simple sample html?



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20071213/2902cb48/attachment.html


More information about the Laszlo-user mailing list