|
From: Raymond I. <xw...@ya...> - 2003-05-18 18:00:54
|
--- Ramesh Pallikara <ra...@in...>
wrote:
> hi,
>
> i have a link on a dynlayer which sets a HTML
> content onto that layer
> itself.
>
> clicking the link however causes ns4 to crash,
>
> any ideas why ?????
Yes this is a known problem with NS4. I would suggest
that you use a setTimeout function to replace the
content of the layer.
onclick:function(e){
var o=e.getSource();
o._ns4html='whatever....';
setTimeout(o+".setHTML("+o+"._ns4html)",500);
}
Sometimes it's best not to have the link replace the
content inside a layer when using ns4.
--
Raymond Irving
> best regardz,
> ramesh pallikara
>
> --
> QOTD:
> "I've always wanted to work in the Federal Mint.
> And then go on
> strike. To make less money."
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: If flattening out
> C++ or Java
> code to make your application fit in a relational
> database is painful,
> don't do it! Check out ObjectStore. Now part of
> Progress Software.
> http://www.objectstore.net/sourceforge
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
>
http://www.mail-archive.com/dyn...@li.../
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|