I tried doing that as well and it still does the same thing. It must be changing the display that makes it reload. To test all you have to do is create a div with embed code and call show/hide on it and you will see.
On Oct 16, 3:02 am, Evgeny Bobovik <bobo...@gmail.com> wrote: > Try to use this method: > <script type="text/javascript"> > function showEmbed(){ > if($("#test").css('display') == 'block'){ > $("#test").css('display','none'); > } else { > $("#test").css('display', 'block'); > }} > > </script> > Gk___ > > 2009/10/16 ngreenwood6 <ngreenwo...@gmail.com>: > >